fix: moved vuetify options from nuxt cfg to vuetify cfg (#2084)

This commit is contained in:
Michael Genson 2023-02-01 21:51:51 -06:00 committed by GitHub
parent 766267961c
commit 20160346d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 34 deletions

View File

@ -357,39 +357,6 @@ export default {
// Vuetify module configuration: https://go.nuxtjs.dev/config-vuetify
vuetify: {
customVariables: ["~/assets/variables.scss"],
icons: {
iconfont: "mdiSvg", // 'mdi' || 'mdiSvg' || 'md' || 'fa' || 'fa4' || 'faSvg'
},
defaultAssets: false,
theme: {
options: {
customProperties: true,
},
dark: false,
// Theme Config set at runtime by /plugins/theme.ts
// This config doesn't do anything.
themes: {
dark: {
primary: "#E58325",
accent: "#007A99",
secondary: "#973542",
success: "#43A047",
info: "#1976d2",
warning: "#FF6D00",
error: "#EF5350",
},
light: {
primary: "#E58325",
accent: "#007A99",
secondary: "#973542",
success: "#43A047",
info: "#1976d2",
warning: "#FF6D00",
error: "#EF5350",
},
},
},
optionsPath: "./vuetify.options.js",
},

View File

@ -6,6 +6,39 @@ if (!locale || !locale.en) {
}
export default {
customVariables: ["~/assets/variables.scss"],
icons: {
iconfont: "mdiSvg", // 'mdi' || 'mdiSvg' || 'md' || 'fa' || 'fa4' || 'faSvg'
},
defaultAssets: false,
theme: {
options: {
customProperties: true,
},
dark: false,
// Theme Config set at runtime by /plugins/theme.ts
// This config doesn't do anything.
themes: {
dark: {
primary: "#E58325",
accent: "#007A99",
secondary: "#973542",
success: "#43A047",
info: "#1976d2",
warning: "#FF6D00",
error: "#EF5350",
},
light: {
primary: "#E58325",
accent: "#007A99",
secondary: "#973542",
success: "#43A047",
info: "#1976d2",
warning: "#FF6D00",
error: "#EF5350",
},
},
},
lang: {
locales: {
"el-GR": locale.el,
@ -47,5 +80,4 @@ export default {
},
current: "en-US",
},
theme: {},
};