-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
136 lines (135 loc) · 3.48 KB
/
tailwind.config.js
File metadata and controls
136 lines (135 loc) · 3.48 KB
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
const screens = {
sm: '360px',
md: '768px',
lg: '1024px',
xl: '1280px',
}
module.exports = {
theme: {
screens,
media: {
sm: `(min-width: ${screens.sm})`,
md: `(min-width: ${screens.md})`,
lg: `(min-width: ${screens.lg})`,
xl: `(min-width: ${screens.xl})`,
},
extend: {
spacing: {
'1d5': '0.375rem', // 6px
'2d5': '0.625rem', // 10px
'3d5': '0.875rem', // 14px
'4': '1rem', // 16px
'4d5': '1.125rem', // 18px
'5': '1.25rem', // 20px
'5d5': '1.375rem', // 22px
'6': '1.5rem', // 24px
'7': '1.75rem', // 28px
'7d5': '1.875rem', // 30px
'9': '2.25rem', // 36px
'9d5': '2.375rem', // 38px
'10': '2.5rem', // 40px
'10d5': '2.625rem', // 42px
'11': '2.75rem', // 44px
'11d5': '2.875rem', // 46px
'12': '3rem', // 48px
'15': '3.75rem', // 60px
'16': '4rem', // 64px
'17': '4.25rem', // 68px
'18': '4.5rem', // 72px
'20': '5rem', // 80px
'25': '6.25rem', // 100px
'27': '6.75rem', // 108px
'30': '7.5rem', // 120px
'36': '9rem', // 144px
'40': '10rem', // 160px
'43': '10.75rem', // 172px
'50': '12.5rem', // 200px
'65': '16.25rem', // 260px
},
width: {
'2d5': '0.625rem', // 10px
'16d5': '4.125rem', // 66px
'20': '20%',
'45': '45%',
},
height: {
'2d5': '0.625rem', // 10px
'16d5': '4.125rem', // 66px
'80': '80vh',
},
minHeight: {
'1/4': '25%',
},
maxHeight: {
'1/2': '50%',
'3/4': '75%',
full: '100%',
},
opacity: {
40: '.4',
},
colors: {
navy: '#170a59',
blue: `#428dfc`,
yellow: '#f8dd74',
white: '#fdfdfd',
black: '#4c4c4c',
green: '#88fcc6',
red: '#ef3f5f',
lightgray: '#f8f8f8',
lightnavy: '#8780a8',
},
},
fontSize: {
xs: '0.75rem', // 12px
sm: '0.875rem', // 14px
base: '1rem', // 16px
lg: '1.125rem', // 18px
xl: '1.25rem', // 20px
xxl: '1.5rem', // 24px
subheader: '1.75rem', // 28px
header: '3rem', // 48px
},
lineHeight: {
xs: '0.875rem', // 14px
sm: '1rem', // 18px
base: '1.25rem', // 20px
lg: '1.375rem', // 22px
xl: '1.5rem', // 24px
xxl: '2rem', // 32px
subheader: '2rem', // 32px
header: '3.75rem', // 60px
},
fontFamily: {
sans: [
'Muli',
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI"',
'Roboto',
'"Helvetica Neue"',
'Arial',
'"Noto Sans"',
'sans-serif',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"',
],
},
borderRadius: {
card: '37px 37px 0 0 ',
button: '35.5px',
tooltip: '1rem 1rem 0% 0% / 2.5rem 2.5rem 0% 0%',
full: '100%',
},
boxShadow: {
'1': '0 0 3px 0 rgba(0,0,0,0.05), 0 1px 1px 0 rgba(0,0,0,0.05)',
'2': '0 0 1px 1px rgba(0,0,0,0.02), 0 4px 6px 1px rgba(0,0,0,0.06)',
'3': '0 0 2px 1px rgba(0,0,0,0.03), 0 6px 10px 2px rgba(0,0,0,0.08)',
'4': '0 0 8px 2px rgba(0,0,0,0.03), 0 16px 24px 0 rgba(0,0,0,0.10)',
button: '0 8px 12px 2px rgba(23,10,89,0.24)',
tooltip: '0 0 2px 1px rgba(0,0,0,0.03), 0 -6px 10px 2px rgba(0,0,0,0.04)',
},
},
}