W3C recommendation to update CSS variable value or assign another variable to its key
What are the CSSWG W3C-recommended best practices for managing state variants on CSS tags ?
I’m working within a Design System context and need to establish solid guidelines for managing state variants on CSS tags.
Update CSS variable value or assign another variable to its key
In CSS, I want to establish good practices about state variants on a css tag. (I’m in a Design System context, so it’s a simplified example but a lot of variants are declared in each to component to handle the custom properties as like a component style API: you can change at high-level component variables values and all is updated in cascade).