@brady_h/styles 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/_breakpoints.scss +68 -0
- package/src/_classes.scss +967 -10
- package/src/_functions.scss +207 -0
- package/src/_mixins.scss +399 -3
- package/src/_variables.scss +381 -1
package/src/_variables.scss
CHANGED
|
@@ -8,20 +8,400 @@ $spacing: (
|
|
|
8
8
|
6: 32px,
|
|
9
9
|
7: 48px,
|
|
10
10
|
8: 64px,
|
|
11
|
+
9: 80px,
|
|
12
|
+
10: 96px,
|
|
13
|
+
11: 128px,
|
|
14
|
+
12: 160px,
|
|
15
|
+
13: 192px,
|
|
16
|
+
14: 224px,
|
|
17
|
+
15: 256px,
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
$sizing: (
|
|
21
|
+
0: 0,
|
|
22
|
+
1: 4px,
|
|
23
|
+
2: 8px,
|
|
24
|
+
3: 12px,
|
|
25
|
+
4: 16px,
|
|
26
|
+
5: 24px,
|
|
27
|
+
6: 32px,
|
|
28
|
+
7: 48px,
|
|
29
|
+
8: 64px,
|
|
30
|
+
9: 80px,
|
|
31
|
+
10: 96px,
|
|
32
|
+
11: 128px,
|
|
33
|
+
auto: auto,
|
|
34
|
+
full: 100%,
|
|
35
|
+
screen: 100vw,
|
|
36
|
+
min: min-content,
|
|
37
|
+
max: max-content,
|
|
38
|
+
fit: fit-content,
|
|
11
39
|
);
|
|
12
40
|
|
|
13
41
|
$border-radius: (
|
|
42
|
+
none: 0,
|
|
43
|
+
xs: 2px,
|
|
14
44
|
sm: 4px,
|
|
15
45
|
md: 8px,
|
|
16
46
|
lg: 12px,
|
|
17
47
|
xl: 16px,
|
|
48
|
+
2xl: 24px,
|
|
49
|
+
3xl: 32px,
|
|
18
50
|
full: 9999px,
|
|
19
51
|
);
|
|
20
52
|
|
|
53
|
+
$border-width: (
|
|
54
|
+
none: 0,
|
|
55
|
+
thin: 1px,
|
|
56
|
+
medium: 2px,
|
|
57
|
+
thick: 3px,
|
|
58
|
+
heavy: 4px,
|
|
59
|
+
);
|
|
60
|
+
|
|
61
|
+
$border-style: (
|
|
62
|
+
solid: solid,
|
|
63
|
+
dashed: dashed,
|
|
64
|
+
dotted: dotted,
|
|
65
|
+
double: double,
|
|
66
|
+
none: none,
|
|
67
|
+
);
|
|
68
|
+
|
|
21
69
|
$z-index: (
|
|
70
|
+
behind: -1,
|
|
71
|
+
base: 1,
|
|
22
72
|
dropdown: 100,
|
|
23
73
|
sticky: 200,
|
|
24
74
|
overlay: 300,
|
|
25
75
|
modal: 400,
|
|
26
|
-
|
|
76
|
+
popover: 500,
|
|
77
|
+
tooltip: 600,
|
|
78
|
+
notification: 700,
|
|
79
|
+
maximum: 9999,
|
|
80
|
+
);
|
|
81
|
+
|
|
82
|
+
$font-size: (
|
|
83
|
+
xs: 12px,
|
|
84
|
+
sm: 14px,
|
|
85
|
+
md: 16px,
|
|
86
|
+
lg: 18px,
|
|
87
|
+
xl: 20px,
|
|
88
|
+
2xl: 24px,
|
|
89
|
+
3xl: 30px,
|
|
90
|
+
4xl: 36px,
|
|
91
|
+
5xl: 48px,
|
|
92
|
+
6xl: 60px,
|
|
93
|
+
7xl: 72px,
|
|
94
|
+
8xl: 96px,
|
|
95
|
+
9xl: 128px,
|
|
96
|
+
);
|
|
97
|
+
|
|
98
|
+
$font-weight: (
|
|
99
|
+
thin: 100,
|
|
100
|
+
extralight: 200,
|
|
101
|
+
light: 300,
|
|
102
|
+
normal: 400,
|
|
103
|
+
medium: 500,
|
|
104
|
+
semibold: 600,
|
|
105
|
+
bold: 700,
|
|
106
|
+
extrabold: 800,
|
|
107
|
+
black: 900,
|
|
108
|
+
);
|
|
109
|
+
|
|
110
|
+
$line-height: (
|
|
111
|
+
none: 1,
|
|
112
|
+
tight: 1.2,
|
|
113
|
+
snug: 1.375,
|
|
114
|
+
normal: 1.5,
|
|
115
|
+
relaxed: 1.625,
|
|
116
|
+
loose: 1.75,
|
|
117
|
+
extra-loose: 2,
|
|
118
|
+
);
|
|
119
|
+
|
|
120
|
+
$letter-spacing: (
|
|
121
|
+
tighter: -0.05em,
|
|
122
|
+
tight: -0.025em,
|
|
123
|
+
normal: 0,
|
|
124
|
+
wide: 0.025em,
|
|
125
|
+
wider: 0.05em,
|
|
126
|
+
widest: 0.1em,
|
|
127
|
+
);
|
|
128
|
+
|
|
129
|
+
$text-measure: (
|
|
130
|
+
xs: 20ch,
|
|
131
|
+
sm: 30ch,
|
|
132
|
+
md: 45ch,
|
|
133
|
+
lg: 60ch,
|
|
134
|
+
xl: 75ch,
|
|
135
|
+
full: 100%,
|
|
136
|
+
);
|
|
137
|
+
|
|
138
|
+
$container-width: (
|
|
139
|
+
xs: 480px,
|
|
140
|
+
sm: 640px,
|
|
141
|
+
md: 768px,
|
|
142
|
+
lg: 1024px,
|
|
143
|
+
xl: 1200px,
|
|
144
|
+
2xl: 1400px,
|
|
145
|
+
3xl: 1600px,
|
|
146
|
+
full: 100%,
|
|
147
|
+
);
|
|
148
|
+
|
|
149
|
+
$content-width: (
|
|
150
|
+
narrow: 640px,
|
|
151
|
+
normal: 768px,
|
|
152
|
+
wide: 1024px,
|
|
153
|
+
extra-wide: 1200px,
|
|
154
|
+
full: 100%,
|
|
155
|
+
);
|
|
156
|
+
|
|
157
|
+
$aspect-ratio: (
|
|
158
|
+
square: 1 / 1,
|
|
159
|
+
portrait: 3 / 4,
|
|
160
|
+
landscape: 4 / 3,
|
|
161
|
+
widescreen: 16 / 9,
|
|
162
|
+
ultrawide: 21 / 9,
|
|
163
|
+
golden: 1.618 / 1,
|
|
164
|
+
);
|
|
165
|
+
|
|
166
|
+
$opacity: (
|
|
167
|
+
0: 0,
|
|
168
|
+
5: 0.05,
|
|
169
|
+
10: 0.1,
|
|
170
|
+
15: 0.15,
|
|
171
|
+
20: 0.2,
|
|
172
|
+
25: 0.25,
|
|
173
|
+
30: 0.3,
|
|
174
|
+
40: 0.4,
|
|
175
|
+
50: 0.5,
|
|
176
|
+
60: 0.6,
|
|
177
|
+
70: 0.7,
|
|
178
|
+
75: 0.75,
|
|
179
|
+
80: 0.8,
|
|
180
|
+
90: 0.9,
|
|
181
|
+
95: 0.95,
|
|
182
|
+
100: 1,
|
|
183
|
+
);
|
|
184
|
+
|
|
185
|
+
$box-shadow: (
|
|
186
|
+
none: none,
|
|
187
|
+
xs: 0 1px 2px rgba(0, 0, 0, 0.05),
|
|
188
|
+
sm: 0 1px 3px rgba(0, 0, 0, 0.1),
|
|
189
|
+
md: 0 4px 6px rgba(0, 0, 0, 0.1),
|
|
190
|
+
lg: 0 10px 15px rgba(0, 0, 0, 0.1),
|
|
191
|
+
xl: 0 20px 25px rgba(0, 0, 0, 0.1),
|
|
192
|
+
2xl: 0 25px 50px rgba(0, 0, 0, 0.15),
|
|
193
|
+
inner: inset 0 2px 4px rgba(0, 0, 0, 0.06),
|
|
194
|
+
);
|
|
195
|
+
|
|
196
|
+
$outline-width: (
|
|
197
|
+
none: 0,
|
|
198
|
+
thin: 1px,
|
|
199
|
+
medium: 2px,
|
|
200
|
+
thick: 3px,
|
|
201
|
+
);
|
|
202
|
+
|
|
203
|
+
$outline-offset: (
|
|
204
|
+
none: 0,
|
|
205
|
+
sm: 2px,
|
|
206
|
+
md: 4px,
|
|
207
|
+
lg: 6px,
|
|
208
|
+
);
|
|
209
|
+
|
|
210
|
+
$transition-duration: (
|
|
211
|
+
instant: 0ms,
|
|
212
|
+
fast: 150ms,
|
|
213
|
+
normal: 250ms,
|
|
214
|
+
slow: 350ms,
|
|
215
|
+
slower: 500ms,
|
|
216
|
+
slowest: 750ms,
|
|
217
|
+
);
|
|
218
|
+
|
|
219
|
+
$transition-timing: (
|
|
220
|
+
default: ease,
|
|
221
|
+
linear: linear,
|
|
222
|
+
smooth: ease-in-out,
|
|
223
|
+
ease-in: ease-in,
|
|
224
|
+
ease-out: ease-out,
|
|
225
|
+
sharp: cubic-bezier(0.4, 0, 0.2, 1),
|
|
226
|
+
bounce: cubic-bezier(0.34, 1.56, 0.64, 1),
|
|
227
|
+
);
|
|
228
|
+
|
|
229
|
+
$transition-property: (
|
|
230
|
+
all: all,
|
|
231
|
+
colors: color,
|
|
232
|
+
background-color,
|
|
233
|
+
border-color,
|
|
234
|
+
fill,
|
|
235
|
+
stroke,
|
|
236
|
+
opacity: opacity,
|
|
237
|
+
transform: transform,
|
|
238
|
+
shadow: box-shadow,
|
|
239
|
+
dimensions: width,
|
|
240
|
+
height,
|
|
241
|
+
);
|
|
242
|
+
|
|
243
|
+
$motion-distance: (
|
|
244
|
+
xs: 2px,
|
|
245
|
+
sm: 4px,
|
|
246
|
+
md: 8px,
|
|
247
|
+
lg: 16px,
|
|
248
|
+
xl: 24px,
|
|
249
|
+
2xl: 32px,
|
|
250
|
+
);
|
|
251
|
+
|
|
252
|
+
$animation-iteration: (
|
|
253
|
+
once: 1,
|
|
254
|
+
twice: 2,
|
|
255
|
+
three-times: 3,
|
|
256
|
+
infinite: infinite,
|
|
257
|
+
);
|
|
258
|
+
|
|
259
|
+
$cursor: (
|
|
260
|
+
auto: auto,
|
|
261
|
+
default: default,
|
|
262
|
+
pointer: pointer,
|
|
263
|
+
wait: wait,
|
|
264
|
+
text: text,
|
|
265
|
+
move: move,
|
|
266
|
+
not-allowed: not-allowed,
|
|
267
|
+
grab: grab,
|
|
268
|
+
grabbing: grabbing,
|
|
269
|
+
crosshair: crosshair,
|
|
270
|
+
);
|
|
271
|
+
|
|
272
|
+
$overflow: (
|
|
273
|
+
visible: visible,
|
|
274
|
+
hidden: hidden,
|
|
275
|
+
clip: clip,
|
|
276
|
+
scroll: scroll,
|
|
277
|
+
auto: auto,
|
|
278
|
+
);
|
|
279
|
+
|
|
280
|
+
$position: (
|
|
281
|
+
static: static,
|
|
282
|
+
relative: relative,
|
|
283
|
+
absolute: absolute,
|
|
284
|
+
fixed: fixed,
|
|
285
|
+
sticky: sticky,
|
|
286
|
+
);
|
|
287
|
+
|
|
288
|
+
$display: (
|
|
289
|
+
none: none,
|
|
290
|
+
block: block,
|
|
291
|
+
inline: inline,
|
|
292
|
+
inline-block: inline-block,
|
|
293
|
+
flex: flex,
|
|
294
|
+
inline-flex: inline-flex,
|
|
295
|
+
grid: grid,
|
|
296
|
+
inline-grid: inline-grid,
|
|
297
|
+
contents: contents,
|
|
298
|
+
);
|
|
299
|
+
|
|
300
|
+
$flex-direction: (
|
|
301
|
+
row: row,
|
|
302
|
+
row-reverse: row-reverse,
|
|
303
|
+
column: column,
|
|
304
|
+
column-reverse: column-reverse,
|
|
305
|
+
);
|
|
306
|
+
|
|
307
|
+
$flex-wrap: (
|
|
308
|
+
nowrap: nowrap,
|
|
309
|
+
wrap: wrap,
|
|
310
|
+
wrap-reverse: wrap-reverse,
|
|
311
|
+
);
|
|
312
|
+
|
|
313
|
+
$grid-columns: (
|
|
314
|
+
1: repeat(1, minmax(0, 1fr)),
|
|
315
|
+
2: repeat(2, minmax(0, 1fr)),
|
|
316
|
+
3: repeat(3, minmax(0, 1fr)),
|
|
317
|
+
4: repeat(4, minmax(0, 1fr)),
|
|
318
|
+
5: repeat(5, minmax(0, 1fr)),
|
|
319
|
+
6: repeat(6, minmax(0, 1fr)),
|
|
320
|
+
12: repeat(12, minmax(0, 1fr)),
|
|
321
|
+
);
|
|
322
|
+
|
|
323
|
+
$grid-gap: (
|
|
324
|
+
none: 0,
|
|
325
|
+
xs: 4px,
|
|
326
|
+
sm: 8px,
|
|
327
|
+
md: 16px,
|
|
328
|
+
lg: 24px,
|
|
329
|
+
xl: 32px,
|
|
330
|
+
2xl: 48px,
|
|
331
|
+
);
|
|
332
|
+
|
|
333
|
+
$object-fit: (
|
|
334
|
+
fill: fill,
|
|
335
|
+
contain: contain,
|
|
336
|
+
cover: cover,
|
|
337
|
+
none: none,
|
|
338
|
+
scale-down: scale-down,
|
|
339
|
+
);
|
|
340
|
+
|
|
341
|
+
$object-position: (
|
|
342
|
+
center: center,
|
|
343
|
+
top: top,
|
|
344
|
+
bottom: bottom,
|
|
345
|
+
left: left,
|
|
346
|
+
right: right,
|
|
347
|
+
top-left: top left,
|
|
348
|
+
top-right: top right,
|
|
349
|
+
bottom-left: bottom left,
|
|
350
|
+
bottom-right: bottom right,
|
|
351
|
+
);
|
|
352
|
+
|
|
353
|
+
$pointer-events: (
|
|
354
|
+
auto: auto,
|
|
355
|
+
none: none,
|
|
356
|
+
);
|
|
357
|
+
|
|
358
|
+
$user-select: (
|
|
359
|
+
none: none,
|
|
360
|
+
text: text,
|
|
361
|
+
all: all,
|
|
362
|
+
auto: auto,
|
|
363
|
+
);
|
|
364
|
+
|
|
365
|
+
$white-space: (
|
|
366
|
+
normal: normal,
|
|
367
|
+
nowrap: nowrap,
|
|
368
|
+
pre: pre,
|
|
369
|
+
pre-wrap: pre-wrap,
|
|
370
|
+
pre-line: pre-line,
|
|
371
|
+
break-spaces: break-spaces,
|
|
372
|
+
);
|
|
373
|
+
|
|
374
|
+
$text-transform: (
|
|
375
|
+
none: none,
|
|
376
|
+
uppercase: uppercase,
|
|
377
|
+
lowercase: lowercase,
|
|
378
|
+
capitalize: capitalize,
|
|
379
|
+
);
|
|
380
|
+
|
|
381
|
+
$text-align: (
|
|
382
|
+
left: left,
|
|
383
|
+
center: center,
|
|
384
|
+
right: right,
|
|
385
|
+
justify: justify,
|
|
386
|
+
start: start,
|
|
387
|
+
end: end,
|
|
388
|
+
);
|
|
389
|
+
|
|
390
|
+
$vertical-align: (
|
|
391
|
+
baseline: baseline,
|
|
392
|
+
top: top,
|
|
393
|
+
middle: middle,
|
|
394
|
+
bottom: bottom,
|
|
395
|
+
text-top: text-top,
|
|
396
|
+
text-bottom: text-bottom,
|
|
397
|
+
sub: sub,
|
|
398
|
+
super: super,
|
|
399
|
+
);
|
|
400
|
+
|
|
401
|
+
$object-fit: (
|
|
402
|
+
fill: fill,
|
|
403
|
+
contain: contain,
|
|
404
|
+
cover: cover,
|
|
405
|
+
none: none,
|
|
406
|
+
scale-down: scale-down,
|
|
27
407
|
);
|