-
Notifications
You must be signed in to change notification settings - Fork 17
/
vuetify.config.ts
73 lines (72 loc) · 1.38 KB
/
vuetify.config.ts
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import { defineVuetifyConfiguration } from 'vuetify-nuxt-module/custom-configuration'
import { md3 } from 'vuetify/blueprints'
export default defineVuetifyConfiguration({
blueprint: md3,
// prevent Vuetify Module from fetching unused `materialdesignicon.css` from cdn
icons: false,
// locale: {
// locale: 'zhHans',
// fallback: 'en',
// },
// localeMessages: ['zhHans', 'en'],
defaults: {
VSwitch: {
color: 'primary',
},
VDataTable: {
fixedHeader: true,
hover: true,
},
VCard: {
flat: true,
border: true,
},
VBtn: { color: '' },
VNavigationDrawer: {
VList: {
nav: true,
VListItem: {
rounded: 'xl',
},
},
},
VChip: { rounded: 'lg' },
VSelect: {
color: 'primary',
},
VTextarea: {
color: 'primary',
},
VTextField: {
color: 'primary',
},
VCheckbox: {
color: 'primary',
},
VCheckboxBtn: {
color: 'primary',
},
VProgressLinear: {
color: 'primary',
},
VMenu: {
VList: {
border: true,
},
},
// https://github.com/vuetifyjs/vuetify/issues/19637
VTimePicker: {
ampmInTitle: true,
},
},
display: {
mobileBreakpoint: 'sm',
},
theme: {
defaultTheme: 'light',
themes: {
light: { colors: {} },
dark: { colors: {} },
},
},
})