-
Notifications
You must be signed in to change notification settings - Fork 170
/
tailwind.config.js
262 lines (234 loc) · 7.5 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
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
/** @type {import('tailwindcss').Config} */
export default {
important: true,
content: [
'./resources/**/*.blade.php',
'./resources/**/*.js'
],
theme: {
colors: {
'oss-black': '#050508',
'oss-footer-dark': '#1F1F1F',
'oss-gray-light': '#F9F8F7',
'oss-gray': '#EAE8E5',
'oss-gray-medium': '#CAC8C4',
'oss-gray-dark': '#A5A4A3',
'oss-gray-extra-dark': '#3A3C3E',
'oss-red': '#FF354F',
'oss-blue': '#33CCFF',
'oss-royal-blue': '#172A3D',
'oss-royal-blue-light': '#515F6E',
'oss-purple': '#735AFF',
'oss-green': '#50E69B',
'oss-green-pale': '#82D8AF',
'oss-purple-extra-dark': '#15151E',
'oss-yellow': '#E7C23D',
transparent: 'transparent',
current: 'currentColor',
black: '#172a3d',
white: '#ffffff',
paper: 'rgba(249, 248, 248, 0.5)',
opaque: 'rgba(255, 255, 255, 0.5)',
'gold-lightest': '#eee8d6',
gold: '#a89f81',
'gold-darkest': '#51492c',
'gray-50': '#f8f8f8',
'gray-lightest': '#f3efea',
'gray-lighter': '#cbd2ce',
'gray-light': '#b8bfbb',
gray: '#767575',
'gray-dark': '#686666',
'gray-darker': '#4c534f',
'gray-darkest': '#171e1a',
'blue-50': '#f7fbfc',
'blue-lightest': '#cae1e8',
'blue-lighter': '#22a4c9',
'blue-light': '#22a4c9',
blue: '#197593',
'blue-dark': '#004966',
'blue-darker': '#172a3d',
'blue-darkest': '#0f1c29',
orange: '#ffa200',
'orange-dark': '#e89158',
'orange-darker': '#944600',
red: '#ef0732',
'red-dark': '#c81839',
'pink-lightest': '#f2d8db',
pink: '#dd9099',
'pink-dark': '#8d3b44',
'green-lightest': '#daefe8',
'green-lighter': '#94dac4',
'green-light': '#57c9a5',
green: '#21b989',
'green-dark': '#0a8867',
purple: '#885de3',
},
screens: {
sm: '720px',
md: '960px',
lg: '1230px',
xl: '1680px',
print: {raw: 'print'},
},
fontFamily: {
sans: [
'Gotham Narrow SSm A',
'Gotham Narrow SSm B',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
'sans-serif',
],
serif: [
'Chronicle Display A',
'Chronicle Display B',
'Constantia',
'Lucida Bright',
'Lucidabright',
'Lucida Serif',
'Lucida',
'DejaVu Serif',
'Bitstream Vera Serif',
'Liberation Serif',
'Georgia',
'serif',
],
mono: ['Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace'],
pt: [
'PTRootUI',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
'sans-serif',
],
druk: [
'Druk',
'Gotham Narrow SSm A',
'Gotham Narrow SSm B',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
'sans-serif',
]
},
lineHeight: {
none: 1,
tight: 1.1,
snug: 1.4,
normal: 1.6,
relaxed: 1.8,
loose: 2,
},
letterSpacing: {
tight: '-0.05em',
normal: '0',
wide: '0.05em',
},
extend: {
backgroundImage: {
'link-card': 'linear-gradient(180deg, rgba(141, 161, 166, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);',
'link-card-light': 'linear-gradient(180deg, rgba(209, 201, 188, 0.1) 0%, rgba(255, 255, 255, 0.015) 100%);',
'link-card-light-hover': 'linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.09) 100%);',
},
boxShadow: {
DEFAULT: '0 2px 4px 0 rgba(76, 55, 55, 0.12)',
light: '0 2px 4px 0 rgba(76, 55, 55, 0.04)',
md: '0 4px 8px 0 rgba(162, 184, 193, 0.12), 0 2px 4px 0 rgba(76, 55, 55, 0.12)',
lg: '0 15px 30px 0 rgba(162, 184, 193, 0.14), 0 5px 15px 0 rgba(76, 55, 55, 0.12)',
inner: 'inset 0 2px 4px 0 rgba(76, 55, 55, 0.12)',
'inner-light': 'inset 0 2px 4px 0 rgba(76, 55, 55, 0.04)',
none: 'none',
'oss-card': '0px 0px 110px 50px #00000033',
},
fontSize: {
xxs: '.55rem', // small!
'6xl': '5rem', // large!
},
width: {
'2px': '2px',
},
height: {
'2px': '2px',
'18': '4.5rem',
'1/2': '50%',
},
spacing: {
'7.5': '1.875rem',
},
keyframes: {
wiggle: {
'0%, 100%': {transform: 'rotate(-3deg)'},
'50%': {transform: 'rotate(3deg)'},
},
popin: {
'0%': {transform: 'scale(0) translate(-50%, -4rem)'},
'100%': {transform: 'scale(1) translate(-50%, -4rem)'},
}
},
animation: {
wiggle: 'wiggle 0.15s ease-in-out infinite',
popin: 'popin 0.2s 1 ease-in-out forwards',
},
maxWidth: {
sm: '25rem', // xl/2 - half gap
md: '40rem',
lg: '50rem',
xl: '60rem',
'2xl': '70rem',
'3xl': '80rem',
'4xl': '90rem',
'5xl': '100rem',
'1/2': '50vw',
columns: '80rem', // xl + (2 * large gap)
logoclient: '8rem',
},
maxHeight: {
none: 'none',
'16': '4rem',
'24': '6rem',
},
minHeight: {
'10': '2.5rem',
'12': '3rem',
},
zIndex: {
auto: 'auto',
back: -1,
postcard: 700,
},
inset: {
full: '100%',
'1/2': '50%'
},
gridTemplateColumns: {
'auto-1fr': 'auto 1fr',
},
},
},
plugins: [
require('@tailwindcss/forms')({
strategy: "class",
}),
],
}