I would like to know if anyone knows if there are css class for light and darkmode CSS?
@ThinhDinh has a EC column that does a decent job.
Oh, i will give him some love for christmas if he can share it !
It only helps you with detecting the mode though, you would still have to write the right code for each scenario.
You can also use prefers-color-scheme for a pure CSS solution.
2 Likes