fix vuetify theme for 2.0
This commit is contained in:
@ -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
|
||||
|
||||
@ -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')
|
||||
|
||||
Reference in New Issue
Block a user