DEV Community

Cover image for Dark mode easily on the web

Dark mode easily on the web

Medhat Dawoud on October 22, 2020

This post has been originally published on my blog Dark mode πŸŒ’ has been a trend for the last few years, and you can find almost all website enab...
Collapse
 
jvarness profile image
Jake Varness

This is much better than all those filter: invert tricks I always see. Nice article!

Collapse
 
medhatdawoud profile image
Medhat Dawoud

Thanks, Jake!

Collapse
 
rowemore profile image
Rowe Morehouse

Here's the easiest way to do Dark Mode β€” for the entire web!

chrome://flags/#enable-force-dark

… just enable the force-dark flag in Chrome. :)

Try it!

Collapse
 
bobbyiliev profile image
Bobby Iliev

Great article! Well done πŸ™Œ

We recently added dark mode to the devdojo.com website using TailwindCSS.

Collapse
 
medhatdawoud profile image
Medhat Dawoud

Your site looks really good, however, you don't apply the user preference, I believe it will be a great addition if you do ;)

Collapse
 
bobbyiliev profile image
Bobby Iliev

Nice, good point! Thanks for the suggestion πŸ‘Œ

Collapse
 
kmhmubin profile image
K M H Mubin

Great article! Well done πŸ™Œ

Collapse
 
ismlhbb profile image
Ismail Habibi Herman

This is incredible, great tutorialπŸ”₯ thankyou πŸ™

Collapse
 
huykira profile image
Huy Kira

Thanks for sharing

Collapse
 
medhatdawoud profile image
Medhat Dawoud

You are welcome, Huy!

Collapse
 
teslaji profile image
Kuldeep Bhatt

Good Stuff

Collapse
 
medhatdawoud profile image
Medhat Dawoud

Thanks, Kuldeep!