Nuxt/examples/with-vuetify/plugins/vuetify.js

20 lines
666 B
JavaScript
Raw Normal View History

2017-03-14 20:13:39 +00:00
import Vue from 'vue'
import Vuetify from 'vuetify/lib'
import colors from 'vuetify/es5/util/colors'
2017-03-14 20:13:39 +00:00
// You can also specify those components you are going to use for "a la carte" build:
// https://github.com/vuetifyjs/nuxt/blob/master/template/plugins/vuetify.js
// https://github.com/vuetifyjs/a-la-carte/blob/master/template/src/main.js
Vue.use(Vuetify, {
theme: {
primary: '#9c27b0', // a color that is not in the material colors palette
accent: colors.grey.darken3,
secondary: colors.amber.darken3,
info: colors.teal.lighten1,
2018-04-09 08:03:32 +00:00
warning: colors.amber.darken2,
error: colors.deepOrange.accent4,
success: colors.green.accent3
}
})