Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PD-1656 / 3.0 / update dark mode text color (by Mrt134) #3350

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PD-1656: update dark mode text color
(cherry picked from commit 906b151)
  • Loading branch information
Mrt134 authored and bugclerk committed Dec 9, 2024
commit 181ac155ca068d37ed247742374020cc58d55113
2 changes: 2 additions & 0 deletions static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -2027,10 +2027,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
Loading