You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah I think we should support the escape syntax — removing the asterisk is ambiguous because that's how you configure suffix-less values in v4, for example:
--shadow: 0 2px 4px rgb(0 0 0 / 5%);
...can be used to configure a shadow utility (as opposed to shadow-sm or shadow-md).
The CSS syntax is quite limited in this context (without resorting to escaping), I guess you could have trailing dashes or underscores: --font-: initial; but it looks kinda weird.
I'm using a CSS formatter (biome) that won't parse namespace overrides, e.g:
--font-*
, because it is not a validident-token
according to https://drafts.csswg.org/css-syntax-3/#ident-token-diagramI see two possibilities:
In this case we should also support the escaped version (which is valid CSS syntax), e.g:
--font-\*: initial;
.The simplest alternative would be to drop the asterisk, e.g
--font: initial;
.The text was updated successfully, but these errors were encountered: