-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
87 lines (85 loc) · 2.22 KB
/
tailwind.config.js
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
78
79
80
81
82
83
84
85
86
87
const tailwindScheme = require('@voicenter-team/voicenter-ui-plus/src/theme/tailwindScheme')
const schemeColors = {
...tailwindScheme
}
module.exports = {
content: [
'./example/**/*.{vue,scss}',
],
theme: {
colors: {
...schemeColors
},
borderColor: {
...schemeColors,
},
fill: schemeColors,
fontFamily: {
DEFAULT: [ 'Montserrat', 'sans-serif' ],
sans: [ 'Montserrat', 'system-ui', 'sans-serif' ],
body: [ 'Montserrat', 'system-ui', 'sans-serif' ]
},
screens: {
xs: '600px',
sm: '680px',
md: '960px',
lg: '1264px',
xlg: '1400px',
xl: '1680px',
'2xl': '1900px',
'3xl': '2100px',
},
borderRadius: {
none: '0',
0.2: '0.2rem',
xs: '0.125rem',
sm: '0.25rem',
md: '0.375rem',
lg: '0.5rem',
xl: '0.75rem',
full: '9999px',
tag: '2rem',
DEFAULT: '0.25rem',
0.875: '0.875rem'
},
extend: {
zIndex: {
navbar: 'var(--navbar-index)',
sidebar: 'var(--sidebar-index)',
filter: 'var(--filter-index)'
},
width: {
18: '4.5rem',
112: '28rem'
},
height: {
18: '4.5rem'
},
maxWidth: {
3: '0.75rem'
},
fontSize: {
'7xl': '3.75rem',
'8xl': '4.5rem',
},
transitionDuration: {
DEFAULT: '0.3s'
},
boxShadow: {
card: '0px 0px 5px var(--card-shadow-color)',
'card-hover': '0px 0px 5px var(--active-elements--focus)'
},
spacing: {
22: '5.5rem'
},
flex: {
full: '0 0 100%'
}
},
},
plugins: [],
variants: {
backgroundColor: [ 'responsive', 'hover', 'focus', 'active' ],
textColor: [ 'hover', 'focus', 'active' ]
}
}