people could choose custom colors
This commit is contained in:
@@ -1,25 +1,3 @@
|
||||
// import { ca, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } from 'vuetify/lib/locale'
|
||||
// lang: { locales: { ca, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } },
|
||||
// treeShake: true,
|
||||
// theme: {
|
||||
// options: {
|
||||
// customProperties: false,
|
||||
// variations: false,
|
||||
// minifyTheme,
|
||||
// },
|
||||
// dark: true,
|
||||
// themes: {
|
||||
// dark: {
|
||||
// primary: '#FF6E40'
|
||||
// },
|
||||
// light: {
|
||||
// primary: '#FF4500'
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// defaultAssets: false
|
||||
// },
|
||||
|
||||
const minifyTheme = require('minify-css-string').default
|
||||
import { ca, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } from 'vuetify/es5/locale'
|
||||
|
||||
@@ -38,12 +16,8 @@ export default ({ res, nuxtState }) => {
|
||||
},
|
||||
dark: settings['theme.is_dark'],
|
||||
themes: {
|
||||
dark: {
|
||||
primary: settings['theme.primary'] || '#FF6E40'
|
||||
},
|
||||
light: {
|
||||
primary: settings['theme.primary'] || '#FF4500'
|
||||
}
|
||||
dark: settings.dark_colors,
|
||||
light: settings.light_colors
|
||||
}
|
||||
},
|
||||
defaultAssets: false
|
||||
|
||||
Reference in New Issue
Block a user