-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
feat(theme): add layers option #22215
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
Conversation
|
This should use the same layer names as v4 for forwards compatibility: vuetify/packages/vuetify/src/composables/theme.ts Lines 422 to 432 in a9a1aa2
|
|
So I would remove the option for the custom name and set the layer name to Should it still be opt-in via the |
Edit: sorry, linked
|
|
I updated the pr to align with the v4 version. If the layer option is set to true (is now a boolean only) the layer will get generated (with background and foreground like in v4) as well as the So this is basically a backport now. |
Description
I was trying to get Tailwind working with Vuetify and enabled layers. I had some issues with the theme overwriting my tailwind colors and such. So I created an option which lets me enable a layer for the generated theme.
Usage:
which then generates: