Re: [csswg-drafts] Proposal: CSS Variable Groups (as a solution to several design systems pain points) (#9992)

Sharing this video with permission, as I think it illustrates the pain point better than anything I've ever seen:

https://youtu.be/JhfYeXLfWdI?si=vF3xRai2QrjabVFv&t=277

<img width="1296" alt="image" src="https://github.com/w3c/csswg-drafts/assets/175836/e4175efa-fe6f-47e9-a11f-bf3e0ae7cc55">

Another use case is rebranding: Shoelace (variables starting with `--sl-*` is getting rebranded to Web Awesome (`--wa-*`), but the old variables must still work. You can imagine how painful this is to implement, but with something like this it can become a single line of code.

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


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

Received on Thursday, 28 March 2024 17:28:40 UTC