-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
60 lines (55 loc) · 1.34 KB
/
tailwind.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
import type { Config } from 'tailwindcss'
const config: Config = {
darkMode: 'class',
content: ['./src/**/*.tsx'],
theme: {
extend: {
gridTemplateColumns: {
app: 'minmax(18rem, 20rem) 1fr',
profile: 'max-content 1fr min-content',
form: 'minmax(7.5rem, 17.5rem) minmax(25rem, 1fr) minmax(0, 15rem)',
},
borderWidth: {
6: '6px',
},
colors: {
violet: {
25: '#FCFAFF',
},
error: {
25: '#FFFBFA',
50: '#FEF3F2',
100: '#FEE4E2',
200: '#FECDCA',
300: '#FDA29B',
400: '#F97066',
500: '#F04438',
600: '#D92D20',
700: '#B42318',
800: '#912018',
900: '#7A271A',
},
},
maxWidth: {
app: '700px',
},
keyframes: {
slideDownAndFade: {
from: { opacity: '0', transform: 'translateY(-2px)' },
to: { opacity: '1', transform: 'translateY(0)' },
},
// slideUpAndFade: {
// from: { opacity: 1 },
// to: { opacity: 0 },
// },
},
animation: {
slideDownAndFade:
'slideDownAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)',
// slideUpAndFade: 'slideUpAndFade 1s linear',
},
},
},
plugins: [],
}
export default config