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

Add ability to override entire tv object from ui prop #3382

Open
leeovery opened this issue Feb 23, 2025 · 0 comments
Open

Add ability to override entire tv object from ui prop #3382

leeovery opened this issue Feb 23, 2025 · 0 comments
Labels
enhancement New feature or request triage v3 #1289

Comments

@leeovery
Copy link

Description

Hi,

Being able to override the non-slot properties of the tv theme using the ui prop would be very handy.

Sometimes you don't want to override globally but just want a slightly different variation of a component. When trying to restyle variations it becomes quite tricky when you cant override anything other than the slots.

eg. if you wanted to override compoundVariants the only choice is to do it globally, which naturally effects all uses of that component.

A use case here is the UNavigationMenu. Accurately restyling hover effects etc is tricky without being able to override the whole tv object.

I was also thinking it would be nice to be able to define your own theme directory where you could define component tv objects which either replace or merge with the Nuxt ui versions.

Thanks
Lee

Additional context

No response

@leeovery leeovery added enhancement New feature or request triage v3 #1289 labels Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage v3 #1289
Projects
None yet
Development

No branches or pull requests

1 participant