Skip to content

Commit

Permalink
chore(docs): fixes appearance for some logos in dark mode (#12379)
Browse files Browse the repository at this point in the history
  • Loading branch information
sormiston authored Dec 22, 2024
1 parent 69a0adf commit 2f86dfd
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/pages/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@ details > *:not(summary) {
@apply p-4;
}

html[class~="dark"]
:is(
img[src$="42-school.svg"],
img[src$="apple.svg"],
img[src$="boxyhq-saml.svg"],
img[src$="eveonline.svg"],
img[src$="github.svg"],
img[src$="hasura.svg"],
img[src$="mailchimp.svg"],
img[src$="medium.svg"],
img[src$="okta.svg"],
img[src$="prisma.svg"],
img[src$="threads.svg"],
img[src$="wikimedia.svg"]
) {
filter: invert(1);
}

:is(html[class~="dark"]) ::selection {
@apply bg-purple-500/40;
}
Expand Down
13 changes: 13 additions & 0 deletions packages/core/src/lib/pages/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,19 @@
color: var(--provider-dark-bg) !important;
}
}

img[src$="42-school.svg"],
img[src$="apple.svg"],
img[src$="boxyhq-saml.svg"],
img[src$="eveonline.svg"],
img[src$="github.svg"],
img[src$="mailchimp.svg"],
img[src$="medium.svg"],
img[src$="okta.svg"],
img[src$="threads.svg"],
img[src$="wikimedia.svg"] {
filter: invert(1);
}
}

html {
Expand Down

0 comments on commit 2f86dfd

Please sign in to comment.