DEV Community

Cover image for Dark Mode in CSS Part-2

Dark Mode in CSS Part-2

Ritvik Dubey on October 18, 2020

As I got feedback on my blog Dark Mode in CSS that some people don't want to use invert() method. So, here Dark Mode in CSS Part-2 in this also I h...
Collapse
 
ritvikdubey27 profile image
Ritvik Dubey

Thank you Shadow ❤️😇 You wanted the next part so I did it😁😛😛

 
ritvikdubey27 profile image
Ritvik Dubey

I'll try to find the third way to do so😅

Collapse
 
bobbyiliev profile image
Bobby Iliev

Great post! Well done 🙌

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

Collapse
 
ritvikdubey27 profile image
Ritvik Dubey

Wow😯😍 this looks so settle and beautiful 😍

Collapse
 
itsaditya profile image
Aditya Chaudhary👨‍💻

Great read :)

Collapse
 
ritvikdubey27 profile image
Ritvik Dubey

Thank you brother 😊

Collapse
 
samdev profile image
Sameer

Awesome !!!

Collapse
 
ritvikdubey27 profile image
Ritvik Dubey

Thank you😊

Collapse
 
machwatt profile image
Jöran Kurschatke

Thx for that article. A quick thought: Could be CSS Custom Properties a solution for Con No.2 ? Changing the color-value of a variable should do the work.

Collapse
 
ritvikdubey27 profile image
Ritvik Dubey

Yes it could work but you have to couple it with selectors.

Collapse
 
adnanashraf77 profile image
Adnan Ashraf

Thanx... This is exactly what Iwas looking for.....