Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[unocss]: variant group classes in ARadio but there isn't transformerVariantGroup in uno.config.ts #92

Closed
ManUtopiK opened this issue Dec 5, 2022 · 3 comments

Comments

@ManUtopiK
Copy link
Contributor

ARadio component use variant group classes, but transformerVariantGroup isn't explicitly imported in install doc

I don't find any other variant group classes except in the doc (but the uno.config.ts for the doc use transformerVariantGroup).

Should we replace classes in ARadio or add transformerVariantGroup in default config ?

@jd-solanki
Copy link
Owner

I think you are right. Maybe radio isn't getting that style, right?

Can you please share a screenshot of your app for confirmation?

We should provide the generated CSS instead of forcing users to install various transformers.

We look into this for next release 👍🏻

Thanks for reporting

@ManUtopiK
Copy link
Contributor Author

I think you are right. Maybe radio isn't getting that style, right?

Yes, that's it !

My code :

<div class="flex gap-x-6">
  <ARadio
    v-model="userLocale"
    name="language"
    value="en"
    label="En"
  />
  <ARadio
    v-model="userLocale"
    name="language"
    value="fr"
    label="Fr"
  />
</div>

Result :
image

We look into this for next release 👍🏻

Awesome !

@jd-solanki
Copy link
Owner

Closed via b1f8d72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants