-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
68 lines (67 loc) · 1.42 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
const { colors } = require('tailwindcss/defaultTheme')
module.exports = {
purge: ['components/**/*.tsx', 'lib/**/*.tsx', 'pages/**/*.tsx'],
darkMode: 'class',
theme: {
fontSize: {
xs: '.75rem',
sm: '.8rem',
tiny: '.875rem',
base: '1rem',
lg: '1.125rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
'4xl': '2.25rem',
'5xl': '3rem',
'6xl': '4rem',
'7xl': '5rem',
},
colors: {
...colors,
gray: {
'010': '#fcfcfb',
'020': '#f9f9f7',
'030': '#f6f6f2',
'040': '#f5f5f0',
'050': '#f0f0ec',
100: '#e6e6e2',
200: '#cac9c0',
300: '#afaea2',
400: '#929285',
500: '#76766a',
600: '#5d5d52',
700: '#454540',
800: '#2e2e2a',
900: '#171716',
},
},
textColor: { ...colors, primary: '#c05621' },
transitionDuration: {
DEFAULT: '200ms',
},
transitionTimingFunction: {
DEFAULT: 'cubic-bezier(0.4, 0, 0.2, 1)',
},
screens: {
sm: '500px',
},
extend: {
animation: {
pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
},
keyframes: {
pulse: {
'0%, 100%': { opacity: '0' },
'50%': { opacity: '1' },
},
},
spacing: {
1: '0.162rem',
2: '0.35rem',
},
},
},
variants: {},
plugins: [],
}