Email or username:

Password:

Forgot your password?
Nicolas Chevobbe

I must say that CSS nesting, `light-dark()`, relative color format and `@property` are really changing how I'm writing CSS, and how much more maintainable and elegant such code looks like now!

#CSSRenaissance

2 comments
Sören Hentzschel

@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.

Nicolas Chevobbe

@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

Go Up