-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathvuetify.config.ts
75 lines (74 loc) · 1.67 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
// vuetify.config.ts
import { defineVuetifyConfiguration } from 'vuetify-nuxt-module/custom-configuration'
import type { ThemeDefinition } from "vuetify";
const Darktheme: ThemeDefinition = {
dark: true,
colors: {
background: "#111b27",
surface: "#1E293B",
primary: "#705CF6",
secondary: "#598EF3",
accent: "#705CF6",
error: "#FF5252",
info: "#2196F3",
success: "#4CAF50",
warning: "#FFC107",
},
};
const Lighttheme: ThemeDefinition = {
dark: false,
variables: {
"high-emphasis-opacity": 1,
},
colors: {
background: "#f2f5f8",
surface: "#ffffff",
primary: "#344767",
secondary: "#334155",
accent: "#705CF6",
error: "#ef476f",
info: "#2196F3",
success: "#06d6a0",
"on-success": "#ffffff",
warning: "#ffd166",
},
};
export default defineVuetifyConfiguration({
/* vuetify options */
config:false,
icons: {
defaultSet: 'mdi',
sets: ['mdi', 'fa']
},
theme: {
themes: {
light: Lighttheme,
dark: Darktheme,
},
},
defaults:{
VBtn: {
rounded: "md",
fontWeight: "400",
letterSpacing: "0",
variant:'text'
},
VCard: {},
VSheet: {
elevation: 1,
},
VTable: {
elevation: 1,
},
VDataTable: {
fixedHeader: true,
noDataText: "Results not found",
},
VTextField: {
variant: "solo",
},
VSelect: {
variant: "solo",
},
}
})