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
It appears to be that "special values" (aka keywords) like inherit are considered "arbitrary values" for utility classes like rounded.
I use the inherit keyword quite often and would like to not have to wrap inherit in [] like: rounded-[inherit]. This goes for all utilities, not just rounded.
I use the Svelte and UnoCSS's mini + attributify preset. Svelte does not like []$@% characters in attribute names, so whenever I need an arbitrary value for a utility I have to use a class instead of an boolean attribute, like I in this snippet:
I considered making an PR, but do not know where to start since every utility value is interpreted/handled differently. Maybe some more active contributors/maintainers can add this quicker than I can.
The text was updated successfully, but these errors were encountered:
UltraCakeBakery
changed the title
Support for "special values" for all utilities
Feature request: support for "special values" for all utilities
Jun 25, 2022
It appears to be that "special values" (aka keywords) like
inherit
are considered "arbitrary values" for utility classes likerounded
.I use the
inherit
keyword quite often and would like to not have to wrapinherit
in[]
like:rounded-[inherit]
. This goes for all utilities, not justrounded
.I use the Svelte and UnoCSS's mini + attributify preset. Svelte does not like
[]$@%
characters in attribute names, so whenever I need an arbitrary value for a utility I have to use aclass
instead of anboolean attribute
, like I in this snippet:I considered making an PR, but do not know where to start since every utility value is interpreted/handled differently. Maybe some more active contributors/maintainers can add this quicker than I can.
The text was updated successfully, but these errors were encountered: