-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.cjs
69 lines (69 loc) · 1.7 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
borderColor: theme => ({
...theme('colors'),
DEFAULT: 'var(--color-border)',
}),
extend: {
colors: {
primary: 'var(--color-primary)',
secondary: 'var(--color-secondary)',
background: 'var(--color-background)',
paper: 'var(--color-paper)',
text: 'var(--color-text)',
"contrast-primary": 'var(--color-primary-contrast)',
},
minHeight: {
'20': '5rem',
'60': '15rem',
},
minWidth: {
'20': '5rem',
'60': '15rem',
},
maxWidth: {
'20': '5rem',
'30': '7.5rem',
'40': '10rem',
'50': '12.5rem',
'60': '15rem',
'11/12': '91.666667%',
},
maxHeight: {
'11/12': '91.666667%',
},
cursor: {
grab: 'grab',
grabbing: 'grabbing',
'n-resize': 'n-resize',
'ew-resize': 'ew-resize',
'col-resize': 'ew-resize',
'all-scroll': 'all-scroll',
},
animation: {
'fade-in': 'keyframes-fade-in 200ms',
'fade-out': 'keyframes-fade-out 200ms',
},
keyframes: {
"keyframes-fade-in": {
from: { opacity: 0 },
to: { opacity: 1 }
},
"keyframes-fade-out": {
from: { opacity: 1 },
to: { opacity: 0 }
}
}
},
},
variants: {
extend: {
opacity: ['disabled'],
backgroundColor: ['active'],
display: ['hover', 'focus'],
cursor: ['hover', 'active', 'disabled'],
}
},
}