4 ms·
I'm sorry to hear about the passing of the project's founder. You have my condolences. Two off-the-cuff pieces of feedback: 1) The PDF link is broken. 2) You
by BeefWellington 4y ago
I'm sorry to hear about the passing of the project's founder. You have my condolences.
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/prefers-color-scheme https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...
- anonypla 4y agoGreat to know about that non JS thing
- pterocles 4y ago"If `privacy.resistFingerprinting` has been set true, the prefers-color-scheme preference is forced to light. You must set `privacy.resistFingerprinting` to false in order to use this feature." Kind of a bummer.
- BeefWellington 4y agoYeah, in those cases your toggle would still come into play.