-
-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathtailwind.config.js
82 lines (74 loc) · 1.84 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
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: {
screens: {
'sm': '640px',
// => @media (min-width: 640px) { ... }
'md': '768px',
// => @media (min-width: 768px) { ... }
'lg': '1024px',
// => @media (min-width: 1024px) { ... }
'xl': '1280px',
// => @media (min-width: 1280px) { ... }
'2xl': '1536px',
// => @media (min-width: 1536px) { ... }
},
// color: {
// // gray: colors.trueGray,
// },
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',
'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: {
'100': 100
}
},
},
variants: {
extend: {
backgroundColor: ['checked'],
borderColor: ['checked'],
},
},
plugins: [
require('@tailwindcss/line-clamp'),
require('@tailwindcss/forms')
],
}