fix vuetify theme for 2.0

This commit is contained in:
2019-10-01 16:31:31 -07:00
parent e73b95e127
commit 8f7aa8177d
2 changed files with 44 additions and 36 deletions

View File

@ -12,16 +12,20 @@ Vue.use(Vuetify)
const opts = {
theme: {
primary: '#fdd02f',
keen_yellow: '#fddd04',
keen_dark_grey: '#373737',
keen_light_grey: '#bababa',
secondary: '#424242',
accent: '#82B1FF',
error: '#FF5252',
info: '#2196F3',
success: '#4CAF50',
warning: '#FFC107'
themes: {
light: {
primary: '#fdd02f',
keen_yellow: '#fddd04',
keen_dark_grey: '#373737',
keen_light_grey: '#bababa',
secondary: '#424242',
accent: '#82B1FF',
error: '#FF5252',
info: '#2196F3',
success: '#4CAF50',
warning: '#FFC107'
},
},
},
options: {
customProperties: true

View File

@ -1,29 +1,33 @@
import Vue from 'vue'
import Vuetify from 'vuetify/lib'
//
// NOTE: appears to be unused. it's also out of date.
//
const opts = {
theme: {
primary: '#fdd02f',
keen_yellow: '#fddd04',
keen_dark_grey: '#373737',
keen_light_grey: '#bababa',
secondary: '#424242',
accent: '#82B1FF',
error: '#FF5252',
info: '#2196F3',
success: '#4CAF50',
warning: '#FFC107'
},
options: {
customProperties: true
},
icons: {
iconfont: 'md',
},
}
// import Vue from 'vue'
// import Vuetify from 'vuetify/lib'
Vue.use(Vuetify)
// const opts = {
// theme: {
// primary: '#fdd02f',
// keen_yellow: '#fddd04',
// keen_dark_grey: '#373737',
// keen_light_grey: '#bababa',
// secondary: '#424242',
// accent: '#82B1FF',
// error: '#FF5252',
// info: '#2196F3',
// success: '#4CAF50',
// warning: '#FFC107'
// },
// options: {
// customProperties: true
// },
// icons: {
// iconfont: 'md',
// },
// }
new Vue({
vuetify: new Vuetify(opts)
}).$mount('#app')
// Vue.use(Vuetify)
// new Vue({
// vuetify: new Vuetify(opts)
// }).$mount('#app')