how can I overwrite actual classes in vuetify?
I have created a ./src/stylus/main.styl file where I override some of the current vuetify settings as a test:
In Vuetify 2
, for example, if you want ro override background colour
(nuxt js
):
.\assets\style\variables.scss
@import '~vuetify/src/styles/styles.sass';
$material-light: map-merge($material-light, (
background: map-get($blue, 'lighten-5'),
calendar: (background-color: red),
)
);
nuxt.config.js
add: buildModules: ['@nuxtjs/vuetify'],
vuetify: {
treeShake: true,
customVariables: ['~/assets/style/variables.scss']
}
More info: https://vuetifyjs.com/ru/customization/sass-variables