vuetify.js
1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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)
}
})