Skip to content

Instantly share code, notes, and snippets.

@mort3za
Last active January 13, 2020 07:18
Show Gist options
  • Save mort3za/e763e2c196fb8b1c6e355dc233345d21 to your computer and use it in GitHub Desktop.
Save mort3za/e763e2c196fb8b1c6e355dc233345d21 to your computer and use it in GitHub Desktop.
Customize Vuetify (version 2.2.3) sass variables and change theme colors
// src/styles/colors.scss
// Copy contents of /node_modules/vuetify/src/styles/settings/_colors.scss and modify it's contents here
// src/styles/dark.scss
// Copy contents of /node_modules/vuetify/src/styles/settings/_dark.scss and modify it's contents here
// src/styles/light.scss
// Copy contents of /node_modules/vuetify/src/styles/settings/_light.scss and modify it's contents here
// src/styles/variables.scss
@import './colors';
$material-light: () !default;
$material-dark: () !default;
@import './light';
@import './dark';
$body-font-family: MyFont, sans-serif;
// Other variables...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment