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

Sass Variables and duplicate styles #172

Closed
danilpon98 opened this issue Dec 23, 2023 · 1 comment
Closed

Sass Variables and duplicate styles #172

danilpon98 opened this issue Dec 23, 2023 · 1 comment

Comments

@danilpon98
Copy link

danilpon98 commented Dec 23, 2023

Hi,
After various tests, I noticed that overriding sass variables only works if I import the css 'vuetify/styles' in the 'nuxt.config.ts' file. In the attached example, you can verify this by commenting out the lines:
css: ['vuetify/styles'] or css: ['~/assets/styles/main.scss']

But when I add one of the lines, I get duplicate styles (see screenshot)
screenshot

Repro - https://stackblitz.com/edit/broken-v-transition-r9fbp1?file=nuxt.config.ts

Tell me what I'm doing wrong. Thanks!

@userquin
Copy link
Member

Check vuetify docs, there is a warning about it iirc. Check also this pinned issue:
#115

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

2 participants