Last active
January 13, 2020 07:18
-
-
Save mort3za/e763e2c196fb8b1c6e355dc233345d21 to your computer and use it in GitHub Desktop.
Customize Vuetify (version 2.2.3) sass variables and change theme colors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/styles/colors.scss | |
// Copy contents of /node_modules/vuetify/src/styles/settings/_colors.scss and modify it's contents here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/styles/dark.scss | |
// Copy contents of /node_modules/vuetify/src/styles/settings/_dark.scss and modify it's contents here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/styles/light.scss | |
// Copy contents of /node_modules/vuetify/src/styles/settings/_light.scss and modify it's contents here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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