vuetify.js 1.01 KB
import Vue from 'vue'
import {
  Vuetify, // required
  VApp, // required
  VGrid,
  VList,
  VIcon,
  VCard,
  VBottomNav,
  VBtn,
  VDialog,
  VBottomSheet,
  VSelect,
  VDivider,
  VTabs,
  VBadge,
  VProgressCircular,
  VProgressLinear,
  VExpansionPanel,
  VSubheader,
  VTextField,
  transitions
 } from 'vuetify'
import colors from 'vuetify/es5/util/colors'


Vue.use(Vuetify, {
  components: {
    VApp,
    VGrid,
    VIcon,
    VList,
    VCard,
    VBtn,
    VBottomNav,
    VDialog,
    VBottomSheet,
    VDivider,
    VSelect,
    VTabs,
    VBadge,
    VProgressCircular,
    VProgressLinear,
    VExpansionPanel,
    VSubheader,
    VTextField,
    transitions
  },
  theme: {
    primary: String('#121212'), // a color that is not in the material colors palette
    accent: String(colors.grey.darken3),
    secondary: String(colors.amber.darken3),
    info: String(colors.teal.lighten1),
    warning: String(colors.amber.base),
    error: String(colors.deepOrange.accent4),
    success: String(colors.green.accent3)
  }
})