From 20160346d78de2ccb481447099e9ae1a8632d028 Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Wed, 1 Feb 2023 21:51:51 -0600 Subject: [PATCH] fix: moved vuetify options from nuxt cfg to vuetify cfg (#2084) --- frontend/nuxt.config.js | 33 --------------------------------- frontend/vuetify.options.js | 34 +++++++++++++++++++++++++++++++++- 2 files changed, 33 insertions(+), 34 deletions(-) diff --git a/frontend/nuxt.config.js b/frontend/nuxt.config.js index 38cce65a8e1f..588311864970 100644 --- a/frontend/nuxt.config.js +++ b/frontend/nuxt.config.js @@ -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", }, diff --git a/frontend/vuetify.options.js b/frontend/vuetify.options.js index 50b15535ea94..5b2b021e854f 100644 --- a/frontend/vuetify.options.js +++ b/frontend/vuetify.options.js @@ -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: {}, };