-
I call these Custom Cascades & they make me happy: var(--btn-state, var(--btn-type, var(--btn-theme, blue))) You can use it for states, user themes, contextual styles – anywhere you need to update a property based on different sources of information. Earliest takes precedence.