Replies: 1 comment
-
Prior discussion: #16313 |
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.
-
I'm trying to find a way to get utility works with prefix, but without hardcoding the prefix.
Say I am using prefix
abc
.Currently, when I define a utility that I want to reference a variable, I have to do this:
I am building a design system and I want to avoid such hardcoding so that it can be used like this:
If I use
theme()
, it resolves the value which is not what I want:Similar issue with variants, where the issue is on the key:
Ideally, we can do:
Beta Was this translation helpful? Give feedback.
All reactions