by BeefWellington · 4y ago · 0 comments
Two off-the-cuff pieces of feedback:
1) The PDF link is broken.
2) You can achieve a Light/Dark theme toggle using pure CSS, using a combination of prefers-color-scheme[1] and/or a combinator selector (~) and checkbox. This could do away with the JS entirely.
[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...
Kind of a bummer.