]> git.draconx.ca Git - homepage.git/commitdiff
Implement dark mode without using CSS variables.
authorNick Bowler <nbowler@draconx.ca>
Wed, 11 May 2022 02:04:58 +0000 (22:04 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 11 May 2022 02:10:37 +0000 (22:10 -0400)
Instead of using CSS variables, we can just directly change colours
with appropriate media queries.

Moreover, implement a small postprocessor which consolidates all the
dark mode rules together at the end of the stylesheet, which makes
it a svery imple matter to also link an alternate stylesheet which
is selectable in older browsers.


No differences found