fix vuetify theme for 2.0
This commit is contained in:
@ -12,6 +12,8 @@ Vue.use(Vuetify)
|
|||||||
|
|
||||||
const opts = {
|
const opts = {
|
||||||
theme: {
|
theme: {
|
||||||
|
themes: {
|
||||||
|
light: {
|
||||||
primary: '#fdd02f',
|
primary: '#fdd02f',
|
||||||
keen_yellow: '#fddd04',
|
keen_yellow: '#fddd04',
|
||||||
keen_dark_grey: '#373737',
|
keen_dark_grey: '#373737',
|
||||||
@ -23,6 +25,8 @@ const opts = {
|
|||||||
success: '#4CAF50',
|
success: '#4CAF50',
|
||||||
warning: '#FFC107'
|
warning: '#FFC107'
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
options: {
|
options: {
|
||||||
customProperties: true
|
customProperties: true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -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 = {
|
// import Vue from 'vue'
|
||||||
theme: {
|
// import Vuetify from 'vuetify/lib'
|
||||||
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',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
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({
|
// Vue.use(Vuetify)
|
||||||
vuetify: new Vuetify(opts)
|
|
||||||
}).$mount('#app')
|
// new Vue({
|
||||||
|
// vuetify: new Vuetify(opts)
|
||||||
|
// }).$mount('#app')
|
||||||
|
|||||||
Reference in New Issue
Block a user