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: {}, };