DEV Community

Discussion on: 3 Insanely Simple Ways to Switch Your Website To Dark Mode

Collapse
 
andrewkeyboardwarrior profile image
Andrew Gibson

I was hoping to see a solution that would somehow magically invert all the colors.
Some of us are working with badly written legacy CSS where there are a ton of classes and IDs and no CSS variables.
Simply using filter: invert(100%); somehow breaks a lot of things.

Collapse
 
vishnubaliga profile image
Vishnu Baliga

I hope such things are introduced as well. I bet CSS Houdini will be a game changer. Let's see how it turns out to be in the future.