|
|
@@ -1,5 +1,3 @@
|
|
|
-import colors from 'vuetify/es5/util/colors'
|
|
|
-
|
|
|
export default {
|
|
|
|
|
|
// Enable server-side rendering (https://go.nuxtjs.dev/ssr-mode)
|
|
|
@@ -44,7 +42,8 @@ export default {
|
|
|
|
|
|
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
|
|
|
plugins: [
|
|
|
- { src: '~/plugins/vue2-leaflet-markercluster.js', mode: 'client' }
|
|
|
+ { src: '~/plugins/vue2-leaflet-markercluster.js', mode: 'client' },
|
|
|
+ { src: '~/plugins/theming.js', mode: 'client' }
|
|
|
],
|
|
|
|
|
|
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
|
|
|
@@ -76,22 +75,19 @@ export default {
|
|
|
}]
|
|
|
],
|
|
|
|
|
|
- // Vuetify module configuration: https://go.nuxtjs.dev/config-vuetify
|
|
|
+ // Vuetify module configuration
|
|
|
+ // @see https://vuetifyjs.com/en/features/theme/
|
|
|
vuetify: {
|
|
|
customVariables: ['~/assets/style/variables.scss'],
|
|
|
treeShake: true,
|
|
|
theme: {
|
|
|
- dark: false,
|
|
|
themes: {
|
|
|
- dark: {
|
|
|
- primary: colors.blue.darken2,
|
|
|
- accent: colors.grey.darken3,
|
|
|
- secondary: colors.amber.darken3,
|
|
|
- info: colors.teal.lighten1,
|
|
|
- warning: colors.amber.base,
|
|
|
- error: colors.deepOrange.accent4,
|
|
|
- success: colors.green.accent3
|
|
|
+ light: {
|
|
|
+ primary: '#0aa5ec'
|
|
|
}
|
|
|
+ },
|
|
|
+ options: {
|
|
|
+ customProperties: true
|
|
|
}
|
|
|
}
|
|
|
},
|