mirror of
https://github.com/pi-hole/web.git
synced 2026-05-01 22:24:08 +01:00
add color-scheme: dark to fix #2554
Signed-off-by: SodaWithoutSparkles <64138578+SodaWithoutSparkles@users.noreply.github.com>
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
--datatable-bgcolor: rgba(64, 76, 88, 0.8);
|
||||
}
|
||||
|
||||
/* fix #2554: browser not detecting dark mode */
|
||||
html {
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #353c42;
|
||||
color: #bec5cb;
|
||||
|
||||
@@ -32,6 +32,8 @@ _______|_______/__/ ____ \__\__|___\__\__|___\__\____
|
||||
/* User-Agent Style */
|
||||
html {
|
||||
background-color: #181a1b !important;
|
||||
/* fix #2554: browser not detecting dark mode */
|
||||
color-scheme: dark;
|
||||
}
|
||||
html,
|
||||
body,
|
||||
|
||||
@@ -36,6 +36,11 @@
|
||||
transition: none !important;
|
||||
}
|
||||
|
||||
/* fix #2554: browser not detecting dark mode */
|
||||
html {
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 15px;
|
||||
color: var(--main-text-color);
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
/*** General ***/
|
||||
html {
|
||||
font-size: 17px;
|
||||
/* fix #2554: browser not detecting dark mode */
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
Reference in New Issue
Block a user