Oh! Thanks for that, I'll fix the typo when I've got time
74 karma · joined January 7, 2020
Here you also have the class based custom styles but also have a CSS variables based styling system. You can chose what value will take a variable depending on the current state of the darkmode.
See the readme of the github page for more informations, ask again if you need additional informations.
It does not use `prefer-color-scheme` for now but I'm planning to add the option later.
I hope it make the thing more clear.