-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
52 lines (51 loc) · 1.1 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
module.exports = {
content: ['./pages/**/*.{tsx,jsx,js}', './components/**/*.{tsx,jsx,js}'],
theme: {
screens: {
xs: '375px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
},
extend: {
colors: {
black: {
100: '#5C5C5C',
200: '#525252',
300: '#474747',
400: '#3d3d3d',
500: '#333333',
600: '#292929',
700: '#1f1f1f',
800: '#141414',
900: '#0a0a0a',
},
},
spacing: {
'header-sm': '60px',
'header-md': '120px',
},
keyframes: {
'hue-rotate': {
'0%': { filter: 'hue-rotate(0deg)' },
'100%': { filter: 'hue-rotate(360deg)' },
},
'fade-in': {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
'fade-out': {
'0%': { opacity: '1' },
'100%': { opacity: '0' },
},
},
},
},
plugins: [
function ({ addVariant }) {
addVariant('child', '& > *')
addVariant('children', '& *')
},
],
}