@nicolaschevobbe I agree that there is some good stuff. I'm not a big fan of light-dark(), though. I prefer to have CSS variables named by purpose and then override them for dark mode.
Top-level
@nicolaschevobbe I agree that there is some good stuff. I'm not a big fan of light-dark(), though. I prefer to have CSS variables named by purpose and then override them for dark mode. 1 comment
|
@s_hentzschel we were doing this in @FirefoxDevTools and I'm working on switching to light-dark because it's so annoying to search for the light and the dark theme declaration which are separated by dozens of lines. Having those values co-located make it easy for me to reason about a given variable.
But that might just be because of the size of our codebase