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

[Feature Request] Enable "class" property on global configuration #17188

Closed
JesusExposito opened this issue Apr 19, 2023 · 0 comments
Closed
Assignees
Labels
E: defaults Defaults composable T: feature A new feature

Comments

@JesusExposito
Copy link

JesusExposito commented Apr 19, 2023

Problem to solve

I have tried to define components with custom styles, this using "aliases" (eg: aliases: {myButton: VBtn}). This allows me to modify the reference component's props without modifying the parent.

But there is a limitation. What could I do if I wanted all "myButton" buttons to have "text-transform: lowercase". For this, it only occurred to me to go from button to button by adding a class to it.

Proposed solution

I think that it would be ideal to be able to assign a reference class from the global configurations. Maybe creating a custom composable.

@KaelWD KaelWD added T: feature A new feature E: defaults Defaults composable labels Apr 25, 2023
@KaelWD KaelWD added this to the v3.2.0 (Orion) milestone Apr 25, 2023
KaelWD added a commit that referenced this issue Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E: defaults Defaults composable T: feature A new feature
Projects
None yet
Development

No branches or pull requests

4 participants