-
Notifications
You must be signed in to change notification settings - Fork 101
/
Copy pathtailwind.config.js
107 lines (103 loc) · 3.54 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
fontFamily: {
'fira-sans': ['Fira Sans', 'sans-serif'],
'fira-mono': ['Fira Mono', 'monospace'],
},
extend: {
colors: {
obsidian: {
50: '#fff2f1',
100: '#ffe5e4',
200: '#fdcfce',
300: '#fca5a5',
400: '#fa7275',
500: '#f24149',
600: '#df1f32',
700: '#bc1429',
800: '#9d1429',
900: '#851429',
950: '#4b0611',
},
gray: {
50: '#E1E2EA',
100: '#D3D3DF',
200: '#B5B6CA',
300: '#9A9CB6',
400: '#7D7FA1',
500: '#626588',
600: '#4D4F6B',
700: '#404259',
800: '#313244',
900: '#242532',
950: '#1C1C27',
},
},
keyframes: {
fadeIn: {
from: { opacity: '0' },
to: { opacity: '1' },
},
fadeOut: {
from: { opacity: '1' },
to: { opacity: '0' },
},
slideAndFadeInFromTop: {
from: { opacity: '0', transform: 'translateY(-25px)' },
to: { opacity: '1', transform: 'translateY(0)' },
},
slideAndFadeInFromRight: {
from: { opacity: '0', transform: 'translateX(25px)' },
to: { opacity: '1', transform: 'translateX(0)' },
},
slideAndFadeInFromBottom: {
from: { opacity: '0', transform: 'translateY(25px)' },
to: { opacity: '1', transform: 'translateY(0)' },
},
slideAndFadeInFromLeft: {
from: { opacity: '0', transform: 'translateX(-25px)' },
to: { opacity: '1', transform: 'translateX(0)' },
},
slideAndFadeOutFromTop: {
from: { opacity: '1', transform: 'translateY(0)' },
to: { opacity: '0', transform: 'translateY(-25px)' },
},
slideAndFadeOutFromRight: {
from: { opacity: '1', transform: 'translateX(0)' },
to: { opacity: '0', transform: 'translateX(25px)' },
},
slideAndFadeOutFromBottom: {
from: { opacity: '1', transform: 'translateY(0)' },
to: { opacity: '0', transform: 'translateY(25px)' },
},
slideAndFadeOutFromLeft: {
from: { opacity: '1', transform: 'translateX(0)' },
to: { opacity: '0', transform: 'translateX(-25px)' },
},
},
animation: {
fadeIn: 'fadeIn 150ms ease-in',
fadeOut: 'fadeOut 150ms ease-in',
slideAndFadeInFromTop:
'slideAndFadeInFromTop 250ms cubic-bezier(0.250, 0.460, 0.450, 0.940) both',
slideAndFadeInFromRight:
'slideAndFadeInFromRight 250ms cubic-bezier(0.250, 0.460, 0.450, 0.940) both',
slideAndFadeInFromBottom:
'slideAndFadeInFromBottom 250ms cubic-bezier(0.250, 0.460, 0.450, 0.940) both',
slideAndFadeInFromLeft:
'slideAndFadeInFromLeft 250ms cubic-bezier(0.250, 0.460, 0.450, 0.940) both',
slideAndFadeOutFromTop:
'slideAndFadeOutFromTop 250ms cubic-bezier(0.250, 0.460, 0.450, 0.940) both',
slideAndFadeOutFromRight:
'slideAndFadeOutFromRight 250ms cubic-bezier(0.250, 0.460, 0.450, 0.940) both',
slideAndFadeOutFromBottom:
'slideAndFadeOutFromBottom 250ms cubic-bezier(0.250, 0.460, 0.450, 0.940) both',
slideAndFadeOutFromLeft:
'slideAndFadeOutFromLeft 250ms cubic-bezier(0.250, 0.460, 0.450, 0.940) both',
},
},
},
plugins: [],
};