Re: [csswg-drafts] Making design systems first-class citizens (#9999)

To be clear, I listed this in #9350 as an idea that doesn't work. I'm not at all convinced this would be a good effort to pursue, and think the Impact/Effort of adding features to improve the design systems workflow when using variables is far better rather than recreating a whole parallel technology that authors need to learn.

What would be the advantage over simply improving variables?

> Custom Properties are not really doing the same because they can be locally overwritten at all times.

That is often *desirable*, e.g. a page may use blue as a primary color, but a note callout may use green, and a warning callout may use red. Admittedly, the low level tokens (e.g. hues, neutrals & tints) are usually constants, but I have also not seen this be a big pain point either.

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9999#issuecomment-1964406794 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 26 February 2024 15:22:19 UTC