rstacruz / cheatsheets

Cheatsheets for web development - devhints.io
https://devhints.io
13.7k stars 3.58k forks source link

[suggestion] - Dark Mode #1403

Open Olyno opened 4 years ago

Olyno commented 4 years ago

Please add a dark mode

Thanks for your work anyway!

Dorson commented 4 years ago

Feel free to use my working solution for the Dark Mode on websites.

Try demo in here: https://dorson.github.io/CSS-Dark-Mode-and-color-switch/

Works with basic CSS variables + short JavaScript.

Can be used inside existing CSS style file. Can be used to define multiple color themes in one CSS file. No user logins or profiles or tracking required.

Let's save our eyesight at night :-)

Have fun using my code !

elis commented 3 years ago

+1 this

ghost commented 2 years ago

https://github.com/rstacruz/cheatsheets/issues/1749

DovieW commented 1 month ago

Dark Reader won't work for me as my company is very strict about installing Chrome extensions