3 ms·
Can you please add a dark theme like your JS-based site? Just cause you don't use JS doesn't mean they can't use CSS.
by encryptluks2 6y ago
Can you please add a dark theme like your JS-based site? Just cause you don't use JS doesn't mean they can't use CSS.
- CodeHz 6y agoYou can achieve it without CSS actually (in chrome) Just put <meta name="color-scheme" content="light dark"> to <head> It will also make vanilla scrollbar into dark theme
- encryptluks2 6y agoThat is freaking awesome. I learned something new today and it is much simpler than trying to manage inverted colors in CSS.
- abhayhegde 6y agoYou could use the following in Style editor of browser (accessible via Inspect Console): html{ background-color: black !important; filter: invert(90%) hue-rotate(180deg) !important; }