-
[object-attr] { /* base structure & --custom-property parameters scoped to the object, with global-default fallbacks */ } [object-attr~="state/skin/theme"] { /* only pre-defined --parameters */ } Feels a lot like stubbornella's OOCSS goal of "extending" objects…
-
Since --custom-properties inherit, but don't apply unless explicitly called, a decent naming convention can keep them scoped to the "donut" of the object itself when desired.