Add shorthand for simply adding theme variant #69
silveltman
started this conversation in
Ideas
Replies: 1 comment
-
Oh I see! You're using themes to conditionally enable/disable certain inline styles....clever. Thanks for pointing this out. I think this is a reasonable request. Just to be sure I understand, you're looking for a shorthand to specify themes without any styles solely for the use of enabling/disabling inline styles? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I just added the following themes to my project:
What this allows me to is style my with classes like
size-sm:text-sm
, size-sm:p-4and enable this by simply setting class
size-sm` on the element or a parent element.I personally use this to create different sizes buttons and headings for example. Pretty cool imo!
Which brings me to the feature request, create a shorthand for this config like so:
Beta Was this translation helpful? Give feedback.
All reactions