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

Let the user define extra variants #31

Open
lcjury opened this issue Jan 30, 2023 · 0 comments
Open

Let the user define extra variants #31

lcjury opened this issue Jan 30, 2023 · 0 comments

Comments

@lcjury
Copy link

lcjury commented Jan 30, 2023

I'm in a situation where I need a variant for bigger icons, but I'm already providing sizes in my variant config files:

config.default_class = {
    solid: 'h-6 w-6',
    outline: 'h-6 w-6',
    mini: 'mr-1.5  h-5 w-5 flex-shrink-0 text-gray-400',
  }

The gem doesn't allow the user to define non-safe variants (solid, outline, mini).

I would happily provide a PR for this feature.

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

1 participant