Skip to content

Commit

Permalink
PD-1656: update dark mode text color (#3347)
Browse files Browse the repository at this point in the history
(cherry picked from commit 906b151)

Co-authored-by: Tim Moore <[email protected]>
  • Loading branch information
bugclerk and Mrt134 authored Dec 9, 2024
1 parent 7efb4d1 commit 30c40ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -2010,10 +2010,12 @@ pre.gdoc-mermaid.mermaid.mermaid_sizing {
}
:root[color-theme='dark'] {
--enterprise-title: rgb(52, 58, 64); /* Define --enterprise-title for the dark theme */
--body-font-color: #f0f3f5;
}
@media (prefers-color-scheme: dark) {
:root {
--enterprise-title: rgb(52, 58, 64); /* Define --enterprise-title for devices preferring dark mode */
--body-font-color: #f0f3f5;
}
}
@media (prefers-color-scheme: light) {
Expand Down

0 comments on commit 30c40ef

Please sign in to comment.