fix(css): barely-visible text in dark mode
Alan Pearce alan@alanpearce.eu
Tue, 14 May 2024 07:47:50 +0200
1 files changed, 7 insertions(+), 2 deletions(-)
jump to
M frontend/static/style.css → frontend/static/style.css
@@ -1,9 +1,14 @@ :root { --standard-border-radius: 0; - --text: black; - --text-light: #212121; --preformatted: var(--code); --min-width: 60rem; +} + +@media (prefers-color-scheme: light) { + :root { + --text: black; + --text-light: #212121; + } } body {