-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathtailwind.config.js
60 lines (59 loc) · 1.29 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: ['./app/**/*.{ts,tsx,jsx,js}'],
theme: {
extend: {
blue: {
200: `#4878D9`,
300: `#3F6ABF`,
400: '#325599',
500: `#2E4E8C`,
600: '#263F73',
700: `#192A4D`,
800: '#1D3159',
900: '#152340'
},
animation: {
shrink: 'shrink 0.2s ease-in 1 normal forwards',
grow: 'grow 0.2s ease-in 1 normal forwards'
},
keyframes: {
shrink: {
'0%': {
transform: 'scaleY(1)',
opacity: 1,
height: 'fit-content'
},
'70%': {
opacity: 0,
transform: 'scaleY(0)'
},
'100%': {
height: '0px',
transform: 'scaleY(0)'
}
},
grow: {
'0%': {
opacity: 0,
transform: 'scaleY(0)'
},
'30%': {
opacity: 0,
transform: 'scaleY(0)'
},
'70%': {
height: 'fit-content'
},
'100%': {
transform: 'scaleY(1)',
opacity: 1,
height: 'fit-content'
}
}
}
}
},
plugins: [require('@tailwindcss/forms')]
}