-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathtailwind.config.js
97 lines (96 loc) · 2.55 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
const colors = require('tailwindcss/colors');
module.exports = {
// mode: 'jit',
purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
darkMode: false, // or 'media' or 'class'
theme: {
colors: {
...colors,
primary: '#3498db',
secondary: '#4834d4'
},
letterSpacing: {
tightest: '-.075em',
tighter: '-.05em',
tight: '-.025em',
normal: '0',
wide: '.025em',
widest: '.1em'
},
screens: {
xs: '380px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px'
},
fontFamily: {
sans: [
'Inter\\ UI',
'SF\\ Pro\\ Display',
'-apple-system',
'BlinkMacSystemFont',
'Segoe\\ UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Open\\ Sans',
'Helvetica\\ Neue',
'sans-serif'
]
},
borderWidth: {
DEFAULT: '1px',
0: '0',
2: '2px',
3: '3px',
4: '4px',
6: '6px',
8: '8px'
},
extend: {
boxShadow: {
modal: 'rgb(0 0 0 / 9%) 0px 3px 12px',
small: 'rgb(0 0 0 / 7%) 0px 5px 10px',
large: 'rgb(0 0 0 / 7%) 0px 5px 20px',
'large-modal': 'rgb(0 0 0 / 50%) 0px 16px 70px'
},
spacing: {
2.5: '10px',
4.5: '18px',
3.5: '14px',
34: '136px',
70: '280px',
140: '560px',
100: '400px',
175: '700px',
53: '212px',
90: '360px'
},
fontSize: {
xxs: '0.5rem',
xs: '0.75rem', // 12px
sm: '0.8125rem', // 13px
md: '0.9357rem', //15px
14: '0.875rem',
base: '1.0rem' // 16px
},
zIndex: {
1: 1,
2: 2,
10: 10,
20: 20,
100: 100
}
}
},
variants: {
extend: {
backgroundColor: ['checked'],
borderColor: ['checked']
}
},
plugins: [require('@tailwindcss/line-clamp'), require('@tailwindcss/forms')]
};