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

UDropdown item colors or variants #716

Closed
lewebsimple opened this issue Sep 21, 2023 · 1 comment
Closed

UDropdown item colors or variants #716

lewebsimple opened this issue Sep 21, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@lewebsimple
Copy link

Is your feature request related to a problem? Please describe.

When using UDropdown the styling of the items is only available with iconClass, which is applied at the end of the class list (so using text-red-500 doesn't work as the prior color classes have higher priority).

Describe the solution you'd like

Having the iconClass at the start of the class list would allow overriding the default icon color.
Also, variant and/or color and/or label class could be made available for the items, so that we can have them in different styles.

Describe alternatives you've considered

Using the provided slot mechanism implies adding a lot of code for something that could be simpler.

@lewebsimple lewebsimple added the enhancement New feature or request label Sep 21, 2023
@dietler
Copy link

dietler commented Sep 28, 2023

Would really love a labelClass

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

No branches or pull requests

2 participants