-
Notifications
You must be signed in to change notification settings - Fork 0
/
vuetify.config.ts
77 lines (59 loc) · 1.27 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
74
75
76
77
import { defineVuetifyConfiguration } from 'vuetify-nuxt-module/custom-configuration'
import { useColor } from './composables/color'
const color = useColor ()
// green rgb: '(50, 222, 179)',
// magenta rgb: '(237, 36, 244)',
// cyan rgb: '(29, 187, 226)',
const custom_theme = {
dark: false,
colors: {
// background: '#fff',
surface: color.theme.off_white,
primary: color.theme.blue,
secondary: color.theme.cyan,
// error: ovf_colors.red,
info: color.theme.cyan,
success: color.theme.green,
// warning: ovf_colors.orange_bright,
...color.theme,
},
}
export default defineVuetifyConfiguration ({
theme: {
themes: { custom_theme },
defaultTheme: 'custom_theme',
},
icons: {
defaultSet: 'fa-svg'
},
aliases: {
PrimaryBtn: 'VBtn',
SecondaryBtn: 'VBtn',
},
defaults: {
// Buttons
VBtn: {
rounded: true,
},
PrimaryBtn: {
rounded: true,
color: 'primary',
},
SecondaryBtn: {
variant: 'text',
rounded: true,
color: 'white',
elevation: '0',
appendIcon: 'fas fa-angles-down',
},
// Cards
VCard: {
flat: true,
},
// Forms
VTextField: {
density: 'compact',
variant: 'underlined',
}
},
})