fwarren

Vuetify colors in js

Dec 12th, 2017
417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import Vue from 'vue'
  2. import Vuetify from 'vuetify'
  3. import 'vuetify/dist/vuetify.css'
  4. import colors from 'vuetify/es5/util/colors'
  5.  
  6.  
  7. import App from './App'
  8. import router from './router'
  9.  
  10. Vue.use(Vuetify, { theme: {
  11.   primary: '#ee44aa',
  12.   secondary: colors.gray.darken1,
  13.   accent: '#82B1FF',
  14.   error: '#FF5252',
  15.   info: '#2196F3',
  16.   success: '#4CAF50',
  17.   warning: '#FFC107'
  18. }})
  19.  
  20. Vue.config.productionTip = false
  21.  
  22. /* eslint-disable no-new */
  23. new Vue({
  24.   el: '#app',
  25.   router,
  26.   render: h => h(App)
  27. })
Advertisement
Add Comment
Please, Sign In to add comment