Closed peterkos closed 3 weeks ago
Reviewing in split veiw vs. unified may be easier here, git diff went crazy 😆
Also, everything in _theme.scss
can now be put into style.css
too! #less duplication
Finally had some more time to look at this (better late than never right :sweat_smile:) - made it work without JS and fixed some inconsistencies (link hover, table styles). Thanks @peterkos!
Background
Hello!
I tried using the theme, but the way dark/light mode was implemented made it hard to customize variables:
body.dark
, requiring all styles to be duplicated across that andbody
Variables can now be overridden too:
Contents
var(--...)
to allow overriding:root.dark-mode
or:root.light-mode
body
@media (prefers-dark...)
, since JS logic already handles this