Replies: 1 comment
-
I've created a PR #1581 with my change |
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.
-
In a recipe, if you create some 'empty' variants, so that you can create
compoundVariants
that apply some styles, your component will get class names for each of these variants even though they don't directly apply any styling so are redundant.Example:
If you do:
You get:
Even though the
button_button_variant_primary__ehm9ng1 button_button_active_false__ehm9ng4
classes don't actually do anything.The code in this commit seems to fix it, so that instead you get:
Beta Was this translation helpful? Give feedback.
All reactions