Skip to content

Commit f246c1f

Browse files
committed
Override dark mode to be legible
1 parent d9ccb84 commit f246c1f

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

3-lending/demifi/web/src/app.css

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
line-height: 24px;
55
font-weight: 400;
66

7-
color-scheme: light dark;
7+
color-scheme: light;
88
color: rgba(255, 255, 255, 0.87);
99
background-color: #242424;
1010

@@ -60,15 +60,13 @@ button:focus-visible {
6060
outline: 4px auto -webkit-focus-ring-color;
6161
}
6262

63-
@media (prefers-color-scheme: light) {
64-
:root {
63+
:root {
6564
color: #213547;
6665
background-color: #ffffff;
67-
}
68-
a:hover {
66+
}
67+
a:hover {
6968
color: #747bff;
70-
}
71-
button {
69+
}
70+
button {
7271
background-color: #f9f9f9;
73-
}
7472
}

0 commit comments

Comments
 (0)