ada-ui 0.0.0-20240120121659 → 0.0.0-beta-v5-20240723120941
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/.github/workflows/release.yml +4 -2
- package/CHANGELOG.md +8 -11
- package/css/ada.blue-new.css +1 -0
- package/css/ada.blue.css +1 -1
- package/css/ada.css +1 -1
- package/css/ada.green.css +1 -1
- package/index.html +216 -155
- package/package.json +7 -6
- package/scss/_ada.theme-base.scss +7 -11
- package/scss/_button.scss +70 -30
- package/scss/_command.scss +130 -0
- package/scss/_commands.scss +29 -23
- package/scss/_corner.scss +8 -8
- package/scss/_global.scss +33 -0
- package/scss/_input.scss +4 -5
- package/scss/_panel.scss +12 -14
- package/scss/_reset.scss +15 -374
- package/scss/_spinner-lab.scss +10 -10
- package/scss/_spinner.scss +2 -3
- package/scss/_tile.scss +10 -9
- package/scss/_typography.scss +12 -27
- package/scss/ada.blue-new.scss +68 -0
- package/scss/ada.blue.scss +4 -0
- package/scss/ada.scss +3 -50
- package/todo +6 -0
- package/tailwind.config.js +0 -15
package/scss/_reset.scss
CHANGED
|
@@ -1,353 +1,84 @@
|
|
|
1
|
-
/*
|
|
2
|
-
! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/*
|
|
6
|
-
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
7
|
-
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
1
|
*,
|
|
11
2
|
::before,
|
|
12
3
|
::after {
|
|
13
4
|
box-sizing: border-box;
|
|
14
|
-
/* 1 */
|
|
15
5
|
border-width: 0;
|
|
16
|
-
/* 2 */
|
|
17
6
|
border-style: solid;
|
|
18
|
-
/* 2 */
|
|
19
7
|
border-color: currentColor;
|
|
20
|
-
/* 2 */
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
::before,
|
|
24
|
-
::after {
|
|
25
|
-
--tw-content: "";
|
|
26
8
|
}
|
|
27
9
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
3. Use a more readable tab size.
|
|
32
|
-
4. Use the user's configured `sans` font-family by default.
|
|
33
|
-
5. Use the user's configured `sans` font-feature-settings by default.
|
|
34
|
-
6. Use the user's configured `sans` font-variation-settings by default.
|
|
35
|
-
7. Disable tap highlights on iOS
|
|
36
|
-
*/
|
|
37
|
-
|
|
38
|
-
html,
|
|
39
|
-
:host {
|
|
40
|
-
line-height: 1.5;
|
|
41
|
-
/* 1 */
|
|
42
|
-
-webkit-text-size-adjust: 100%;
|
|
43
|
-
/* 2 */
|
|
44
|
-
-moz-tab-size: 4;
|
|
45
|
-
/* 3 */
|
|
46
|
-
-o-tab-size: 4;
|
|
47
|
-
tab-size: 4;
|
|
48
|
-
/* 3 */
|
|
49
|
-
font-family: var(--font-base, Roboto);
|
|
50
|
-
/* 4 */
|
|
51
|
-
font-feature-settings: normal;
|
|
52
|
-
/* 5 */
|
|
53
|
-
font-variation-settings: normal;
|
|
54
|
-
/* 6 */
|
|
55
|
-
-webkit-tap-highlight-color: transparent;
|
|
56
|
-
/* 7 */
|
|
10
|
+
html {
|
|
11
|
+
-webkit-text-size-adjust: 100%; // Prevent adjustments of font size after orientation changes in iOS.
|
|
12
|
+
-webkit-tap-highlight-color: transparent; // Disable tap highlights on iOS
|
|
57
13
|
}
|
|
58
14
|
|
|
59
|
-
/*
|
|
60
|
-
1. Remove the margin in all browsers.
|
|
61
|
-
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
15
|
body {
|
|
65
16
|
margin: 0;
|
|
66
|
-
/* 1 */
|
|
67
|
-
line-height: inherit;
|
|
68
|
-
/* 2 */
|
|
69
17
|
}
|
|
70
18
|
|
|
71
|
-
/*
|
|
72
|
-
1. Add the correct height in Firefox.
|
|
73
|
-
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
74
|
-
3. Ensure horizontal rules are visible by default.
|
|
75
|
-
*/
|
|
76
|
-
|
|
77
|
-
hr {
|
|
78
|
-
height: 0;
|
|
79
|
-
/* 1 */
|
|
80
|
-
color: inherit;
|
|
81
|
-
/* 2 */
|
|
82
|
-
border-top-width: 1px;
|
|
83
|
-
/* 3 */
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/*
|
|
87
|
-
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
88
|
-
*/
|
|
89
|
-
|
|
90
|
-
abbr:where([title]) {
|
|
91
|
-
-webkit-text-decoration: underline dotted;
|
|
92
|
-
text-decoration: underline dotted;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/*
|
|
96
|
-
Remove the default font size and weight for headings.
|
|
97
|
-
*/
|
|
98
|
-
|
|
99
19
|
h1,
|
|
100
20
|
h2,
|
|
101
21
|
h3,
|
|
102
22
|
h4,
|
|
103
23
|
h5,
|
|
104
|
-
h6
|
|
24
|
+
h6,
|
|
25
|
+
p,
|
|
26
|
+
pre {
|
|
105
27
|
font-size: inherit;
|
|
106
28
|
font-weight: inherit;
|
|
29
|
+
margin: 0;
|
|
107
30
|
}
|
|
108
31
|
|
|
109
|
-
/*
|
|
110
|
-
Reset links to optimize for opt-in styling instead of opt-out.
|
|
111
|
-
*/
|
|
112
|
-
|
|
113
32
|
a {
|
|
114
33
|
color: inherit;
|
|
115
34
|
text-decoration: inherit;
|
|
116
35
|
}
|
|
117
36
|
|
|
118
|
-
/*
|
|
119
|
-
Add the correct font weight in Edge and Safari.
|
|
120
|
-
*/
|
|
121
|
-
|
|
122
|
-
b,
|
|
123
|
-
strong {
|
|
124
|
-
font-weight: bolder;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/*
|
|
128
|
-
1. Use the user's configured `mono` font-family by default.
|
|
129
|
-
2. Use the user's configured `mono` font-feature-settings by default.
|
|
130
|
-
3. Use the user's configured `mono` font-variation-settings by default.
|
|
131
|
-
4. Correct the odd `em` font sizing in all browsers.
|
|
132
|
-
*/
|
|
133
|
-
|
|
134
|
-
code,
|
|
135
|
-
kbd,
|
|
136
|
-
samp,
|
|
137
|
-
pre {
|
|
138
|
-
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
139
|
-
"Liberation Mono", "Courier New", monospace;
|
|
140
|
-
/* 1 */
|
|
141
|
-
font-feature-settings: normal;
|
|
142
|
-
/* 2 */
|
|
143
|
-
font-variation-settings: normal;
|
|
144
|
-
/* 3 */
|
|
145
|
-
font-size: 1em;
|
|
146
|
-
/* 4 */
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/*
|
|
150
|
-
Add the correct font size in all browsers.
|
|
151
|
-
*/
|
|
152
|
-
|
|
153
|
-
small {
|
|
154
|
-
font-size: 80%;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/*
|
|
158
|
-
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
|
|
159
|
-
*/
|
|
160
|
-
|
|
161
|
-
sub,
|
|
162
|
-
sup {
|
|
163
|
-
font-size: 75%;
|
|
164
|
-
line-height: 0;
|
|
165
|
-
position: relative;
|
|
166
|
-
vertical-align: baseline;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
sub {
|
|
170
|
-
bottom: -0.25em;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
sup {
|
|
174
|
-
top: -0.5em;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/*
|
|
178
|
-
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
179
|
-
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
180
|
-
3. Remove gaps between table borders by default.
|
|
181
|
-
*/
|
|
182
|
-
|
|
183
|
-
table {
|
|
184
|
-
text-indent: 0;
|
|
185
|
-
/* 1 */
|
|
186
|
-
border-color: inherit;
|
|
187
|
-
/* 2 */
|
|
188
|
-
border-collapse: collapse;
|
|
189
|
-
/* 3 */
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/*
|
|
193
|
-
1. Change the font styles in all browsers.
|
|
194
|
-
2. Remove the margin in Firefox and Safari.
|
|
195
|
-
3. Remove default padding in all browsers.
|
|
196
|
-
*/
|
|
197
|
-
|
|
198
37
|
button,
|
|
199
38
|
input,
|
|
200
|
-
optgroup,
|
|
201
39
|
select,
|
|
202
40
|
textarea {
|
|
203
41
|
font-family: inherit;
|
|
204
|
-
/* 1 */
|
|
205
42
|
font-feature-settings: inherit;
|
|
206
|
-
/* 1 */
|
|
207
43
|
font-variation-settings: inherit;
|
|
208
|
-
/* 1 */
|
|
209
44
|
font-size: 100%;
|
|
210
|
-
/* 1 */
|
|
211
45
|
font-weight: inherit;
|
|
212
|
-
/* 1 */
|
|
213
|
-
line-height: inherit;
|
|
214
|
-
/* 1 */
|
|
215
46
|
color: inherit;
|
|
216
|
-
/* 1 */
|
|
217
47
|
margin: 0;
|
|
218
|
-
/* 2 */
|
|
219
48
|
padding: 0;
|
|
220
|
-
/* 3 */
|
|
221
49
|
}
|
|
222
50
|
|
|
223
|
-
/*
|
|
224
|
-
Remove the inheritance of text transform in Edge and Firefox.
|
|
225
|
-
*/
|
|
226
|
-
|
|
227
51
|
button,
|
|
228
52
|
select {
|
|
229
53
|
text-transform: none;
|
|
230
54
|
}
|
|
231
55
|
|
|
232
|
-
/*
|
|
233
|
-
1. Correct the inability to style clickable types in iOS and Safari.
|
|
234
|
-
2. Remove default button styles.
|
|
235
|
-
*/
|
|
236
|
-
|
|
237
56
|
button,
|
|
238
57
|
[type="button"],
|
|
239
58
|
[type="reset"],
|
|
240
59
|
[type="submit"] {
|
|
241
60
|
-webkit-appearance: button;
|
|
242
|
-
/* 1 */
|
|
243
61
|
background-color: transparent;
|
|
244
|
-
/* 2 */
|
|
245
62
|
background-image: none;
|
|
246
|
-
/* 2 */
|
|
247
63
|
}
|
|
248
64
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
65
|
+
button,
|
|
66
|
+
[role="button"] {
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:disabled {
|
|
71
|
+
cursor: default;
|
|
72
|
+
}
|
|
252
73
|
|
|
253
74
|
:-moz-focusring {
|
|
254
75
|
outline: auto;
|
|
255
76
|
}
|
|
256
77
|
|
|
257
|
-
/*
|
|
258
|
-
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
259
|
-
*/
|
|
260
|
-
|
|
261
78
|
:-moz-ui-invalid {
|
|
262
79
|
box-shadow: none;
|
|
263
80
|
}
|
|
264
81
|
|
|
265
|
-
/*
|
|
266
|
-
Add the correct vertical alignment in Chrome and Firefox.
|
|
267
|
-
*/
|
|
268
|
-
|
|
269
|
-
progress {
|
|
270
|
-
vertical-align: baseline;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
/*
|
|
274
|
-
Correct the cursor style of increment and decrement buttons in Safari.
|
|
275
|
-
*/
|
|
276
|
-
|
|
277
|
-
::-webkit-inner-spin-button,
|
|
278
|
-
::-webkit-outer-spin-button {
|
|
279
|
-
height: auto;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
/*
|
|
283
|
-
1. Correct the odd appearance in Chrome and Safari.
|
|
284
|
-
2. Correct the outline style in Safari.
|
|
285
|
-
*/
|
|
286
|
-
|
|
287
|
-
[type="search"] {
|
|
288
|
-
-webkit-appearance: textfield;
|
|
289
|
-
/* 1 */
|
|
290
|
-
outline-offset: -2px;
|
|
291
|
-
/* 2 */
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
/*
|
|
295
|
-
Remove the inner padding in Chrome and Safari on macOS.
|
|
296
|
-
*/
|
|
297
|
-
|
|
298
|
-
::-webkit-search-decoration {
|
|
299
|
-
-webkit-appearance: none;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
/*
|
|
303
|
-
1. Correct the inability to style clickable types in iOS and Safari.
|
|
304
|
-
2. Change font properties to `inherit` in Safari.
|
|
305
|
-
*/
|
|
306
|
-
|
|
307
|
-
::-webkit-file-upload-button {
|
|
308
|
-
-webkit-appearance: button;
|
|
309
|
-
/* 1 */
|
|
310
|
-
font: inherit;
|
|
311
|
-
/* 2 */
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
/*
|
|
315
|
-
Add the correct display in Chrome and Safari.
|
|
316
|
-
*/
|
|
317
|
-
|
|
318
|
-
summary {
|
|
319
|
-
display: list-item;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
/*
|
|
323
|
-
Removes the default spacing and border for appropriate elements.
|
|
324
|
-
*/
|
|
325
|
-
|
|
326
|
-
blockquote,
|
|
327
|
-
dl,
|
|
328
|
-
dd,
|
|
329
|
-
h1,
|
|
330
|
-
h2,
|
|
331
|
-
h3,
|
|
332
|
-
h4,
|
|
333
|
-
h5,
|
|
334
|
-
h6,
|
|
335
|
-
hr,
|
|
336
|
-
figure,
|
|
337
|
-
p,
|
|
338
|
-
pre {
|
|
339
|
-
margin: 0;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
fieldset {
|
|
343
|
-
margin: 0;
|
|
344
|
-
padding: 0;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
legend {
|
|
348
|
-
padding: 0;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
82
|
ol,
|
|
352
83
|
ul,
|
|
353
84
|
menu {
|
|
@@ -355,93 +86,3 @@ menu {
|
|
|
355
86
|
margin: 0;
|
|
356
87
|
padding: 0;
|
|
357
88
|
}
|
|
358
|
-
|
|
359
|
-
/*
|
|
360
|
-
Reset default styling for dialogs.
|
|
361
|
-
*/
|
|
362
|
-
|
|
363
|
-
dialog {
|
|
364
|
-
padding: 0;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
/*
|
|
368
|
-
Prevent resizing textareas horizontally by default.
|
|
369
|
-
*/
|
|
370
|
-
|
|
371
|
-
textarea {
|
|
372
|
-
resize: vertical;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
/*
|
|
376
|
-
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
377
|
-
2. Set the default placeholder color to the user's configured gray 400 color.
|
|
378
|
-
*/
|
|
379
|
-
|
|
380
|
-
input::-moz-placeholder,
|
|
381
|
-
textarea::-moz-placeholder {
|
|
382
|
-
opacity: 1;
|
|
383
|
-
/* 1 */
|
|
384
|
-
color: #9ca3af;
|
|
385
|
-
/* 2 */
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
input::placeholder,
|
|
389
|
-
textarea::placeholder {
|
|
390
|
-
opacity: 1;
|
|
391
|
-
/* 1 */
|
|
392
|
-
color: #9ca3af;
|
|
393
|
-
/* 2 */
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
/*
|
|
397
|
-
Set the default cursor for buttons.
|
|
398
|
-
*/
|
|
399
|
-
|
|
400
|
-
button,
|
|
401
|
-
[role="button"] {
|
|
402
|
-
cursor: pointer;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
/*
|
|
406
|
-
Make sure disabled buttons don't get the pointer cursor.
|
|
407
|
-
*/
|
|
408
|
-
|
|
409
|
-
:disabled {
|
|
410
|
-
cursor: default;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
/*
|
|
414
|
-
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
415
|
-
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
416
|
-
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
417
|
-
*/
|
|
418
|
-
|
|
419
|
-
img,
|
|
420
|
-
svg,
|
|
421
|
-
video,
|
|
422
|
-
canvas,
|
|
423
|
-
audio,
|
|
424
|
-
iframe,
|
|
425
|
-
embed,
|
|
426
|
-
object {
|
|
427
|
-
display: block;
|
|
428
|
-
/* 1 */
|
|
429
|
-
vertical-align: middle;
|
|
430
|
-
/* 2 */
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
/*
|
|
434
|
-
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
435
|
-
*/
|
|
436
|
-
|
|
437
|
-
img,
|
|
438
|
-
video {
|
|
439
|
-
max-width: 100%;
|
|
440
|
-
height: auto;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
/* Make elements with the HTML hidden attribute stay hidden by default */
|
|
444
|
-
|
|
445
|
-
[hidden] {
|
|
446
|
-
display: none;
|
|
447
|
-
}
|
package/scss/_spinner-lab.scss
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
border-style: solid;
|
|
20
20
|
border-width: 0.05em;
|
|
21
21
|
border-radius: 50%;
|
|
22
|
-
border-color: var(--
|
|
22
|
+
border-color: var(--bg700) transparent;
|
|
23
23
|
animation: 6s 0.5s inset1-test ease-in-out infinite;
|
|
24
24
|
box-shadow: 0px 12px 10px -12px #000a, 0px -12px 10px -12px #000a;
|
|
25
25
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
border-style: solid;
|
|
35
35
|
border-width: 0.05em;
|
|
36
36
|
border-radius: 50%;
|
|
37
|
-
border-color: transparent var(--
|
|
37
|
+
border-color: transparent var(--bg600);
|
|
38
38
|
animation: 6s 0.5s inset2-test ease-in-out infinite;
|
|
39
39
|
box-shadow: 12px 0px 10px -12px #000a, -12px 0px 10px -12px #000a;
|
|
40
40
|
}
|
|
@@ -159,7 +159,7 @@ $amount: 0.2em;
|
|
|
159
159
|
width: 0.6em;
|
|
160
160
|
height: 0.6em;
|
|
161
161
|
border-radius: 50%;
|
|
162
|
-
background: var(--
|
|
162
|
+
background: var(--bg700);
|
|
163
163
|
animation: 1.5s 0.1s swing ease-in-out infinite;
|
|
164
164
|
box-sizing: border-box;
|
|
165
165
|
}
|
|
@@ -170,8 +170,8 @@ $amount: 0.2em;
|
|
|
170
170
|
width: 1em;
|
|
171
171
|
height: 1em;
|
|
172
172
|
border-radius: 50%;
|
|
173
|
-
box-shadow:
|
|
174
|
-
border: 0.1em solid var(--
|
|
173
|
+
box-shadow: var(--box-shadow);
|
|
174
|
+
border: 0.1em solid var(--bg600);
|
|
175
175
|
animation: 1.5s swing ease-in-out infinite;
|
|
176
176
|
box-sizing: border-box;
|
|
177
177
|
}
|
|
@@ -197,9 +197,9 @@ $amount: 0.2em;
|
|
|
197
197
|
border-style: solid;
|
|
198
198
|
border-width: 0.3em;
|
|
199
199
|
border-radius: 50%;
|
|
200
|
-
border-color: transparent var(--
|
|
200
|
+
border-color: transparent var(--bg800);
|
|
201
201
|
animation: 4s rotateOuter linear infinite;
|
|
202
|
-
box-shadow: inset
|
|
202
|
+
box-shadow: inset var(--box-shadow);
|
|
203
203
|
|
|
204
204
|
&:before {
|
|
205
205
|
content: "";
|
|
@@ -210,10 +210,10 @@ $amount: 0.2em;
|
|
|
210
210
|
bottom: 0.2em;
|
|
211
211
|
border-style: inherit;
|
|
212
212
|
border-width: inherit;
|
|
213
|
-
border-color: transparent var(--
|
|
213
|
+
border-color: transparent var(--bg600);
|
|
214
214
|
border-radius: inherit;
|
|
215
215
|
animation: 2s rotateInner linear infinite;
|
|
216
|
-
box-shadow: inset
|
|
216
|
+
box-shadow: inset var(--box-shadow);
|
|
217
217
|
}
|
|
218
218
|
&:after {
|
|
219
219
|
content: "";
|
|
@@ -224,7 +224,7 @@ $amount: 0.2em;
|
|
|
224
224
|
bottom: 0.7em;
|
|
225
225
|
border-style: inherit;
|
|
226
226
|
border-width: inherit;
|
|
227
|
-
border-color: transparent var(--
|
|
227
|
+
border-color: transparent var(--bg700);
|
|
228
228
|
border-radius: inherit;
|
|
229
229
|
animation: 4s rotateCenter linear infinite;
|
|
230
230
|
}
|
package/scss/_spinner.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
.spinner {
|
|
2
|
-
margin: 0.3rem;
|
|
3
2
|
display: inline-grid;
|
|
4
3
|
justify-items: center;
|
|
5
4
|
align-items: center;
|
|
@@ -19,7 +18,7 @@
|
|
|
19
18
|
border-style: solid;
|
|
20
19
|
border-width: 0.05em;
|
|
21
20
|
border-radius: 50%;
|
|
22
|
-
border-color: var(--
|
|
21
|
+
border-color: var(--bg800) transparent;
|
|
23
22
|
animation: 4s 0.5s inset1 ease-in-out infinite;
|
|
24
23
|
box-shadow: 0px 12px 10px -12px #000a, 0px -12px 10px -12px #000a;
|
|
25
24
|
}
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
border-style: solid;
|
|
35
34
|
border-width: 0.05em;
|
|
36
35
|
border-radius: 50%;
|
|
37
|
-
border-color: transparent var(--
|
|
36
|
+
border-color: transparent var(--bg600);
|
|
38
37
|
animation: 4s 0.5s inset2 ease-in-out infinite;
|
|
39
38
|
box-shadow: 12px 0px 10px -12px #000a, -12px 0px 10px -12px #000a;
|
|
40
39
|
}
|
package/scss/_tile.scss
CHANGED
|
@@ -3,10 +3,13 @@
|
|
|
3
3
|
.tile {
|
|
4
4
|
@extend .panel;
|
|
5
5
|
background: var(--tile-background);
|
|
6
|
-
margin: 0.8rem;
|
|
7
6
|
|
|
8
7
|
> header {
|
|
9
|
-
|
|
8
|
+
//@extend %h4; --> TODO use font-size token
|
|
9
|
+
@extend %header;
|
|
10
|
+
font-weight: 400;
|
|
11
|
+
font-size: 1.2rem;
|
|
12
|
+
|
|
10
13
|
&:before {
|
|
11
14
|
@include corner("top-left", "light");
|
|
12
15
|
}
|
|
@@ -29,7 +32,7 @@
|
|
|
29
32
|
}
|
|
30
33
|
|
|
31
34
|
&.inset {
|
|
32
|
-
box-shadow: inset
|
|
35
|
+
box-shadow: inset var(--box-shadow);
|
|
33
36
|
|
|
34
37
|
> header {
|
|
35
38
|
text-shadow: none;
|
|
@@ -52,12 +55,10 @@
|
|
|
52
55
|
display: inline-grid;
|
|
53
56
|
grid-template-columns: 1fr auto;
|
|
54
57
|
align-items: stretch;
|
|
55
|
-
column-gap:
|
|
58
|
+
column-gap: var(--gap-sm);
|
|
56
59
|
position: relative;
|
|
57
|
-
margin: 0.8rem;
|
|
58
60
|
|
|
59
61
|
> .tile {
|
|
60
|
-
margin: 0;
|
|
61
62
|
border-radius: 0.3rem 0 0 0.3rem;
|
|
62
63
|
|
|
63
64
|
> header {
|
|
@@ -79,7 +80,7 @@
|
|
|
79
80
|
> aside {
|
|
80
81
|
display: grid;
|
|
81
82
|
grid-auto-flow: column;
|
|
82
|
-
gap:
|
|
83
|
+
gap: var(--gap-sm);
|
|
83
84
|
|
|
84
85
|
> button {
|
|
85
86
|
@include command;
|
|
@@ -88,11 +89,11 @@
|
|
|
88
89
|
min-width: 3rem;
|
|
89
90
|
|
|
90
91
|
&:focus {
|
|
91
|
-
border-color: var(--
|
|
92
|
+
border-color: var(--bg700);
|
|
92
93
|
}
|
|
93
94
|
|
|
94
95
|
&:active {
|
|
95
|
-
background-color: var(--
|
|
96
|
+
background-color: var(--bg700);
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
&:last-of-type {
|
package/scss/_typography.scss
CHANGED
|
@@ -1,32 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@extend %header;
|
|
8
|
-
font-size: 2rem;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
%h3 {
|
|
12
|
-
@extend %header;
|
|
13
|
-
font-size: 1.5rem;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
%h4 {
|
|
17
|
-
@extend %header;
|
|
18
|
-
font-weight: 400;
|
|
19
|
-
font-size: 1.2rem;
|
|
20
|
-
}
|
|
21
|
-
|
|
1
|
+
h1,
|
|
2
|
+
h2,
|
|
3
|
+
h3,
|
|
4
|
+
h4,
|
|
5
|
+
h5,
|
|
6
|
+
h6,
|
|
22
7
|
%header {
|
|
23
8
|
font-weight: 300;
|
|
24
|
-
text-shadow: 0 0 4px var(--
|
|
25
|
-
color: var(--
|
|
9
|
+
text-shadow: 0 0 4px var(--bg700);
|
|
10
|
+
color: var(--fg100);
|
|
26
11
|
}
|
|
27
12
|
|
|
28
13
|
h1 {
|
|
29
|
-
|
|
14
|
+
font-size: 3rem;
|
|
30
15
|
margin: 1rem 0 2rem 0;
|
|
31
16
|
|
|
32
17
|
&.m-0 {
|
|
@@ -35,7 +20,7 @@ h1 {
|
|
|
35
20
|
}
|
|
36
21
|
|
|
37
22
|
h2 {
|
|
38
|
-
|
|
23
|
+
font-size: 2rem;
|
|
39
24
|
margin: 1rem 0 1.5rem 0;
|
|
40
25
|
|
|
41
26
|
&.m-0 {
|
|
@@ -44,7 +29,7 @@ h2 {
|
|
|
44
29
|
}
|
|
45
30
|
|
|
46
31
|
h3 {
|
|
47
|
-
|
|
32
|
+
font-size: 1.5rem;
|
|
48
33
|
margin: 0.5rem 0 1.5rem 0;
|
|
49
34
|
|
|
50
35
|
&.m-0 {
|
|
@@ -53,7 +38,7 @@ h3 {
|
|
|
53
38
|
}
|
|
54
39
|
|
|
55
40
|
h4 {
|
|
56
|
-
|
|
41
|
+
font-size: 1.2rem;
|
|
57
42
|
margin: 0.5rem 0 0.5rem 0;
|
|
58
43
|
|
|
59
44
|
&.m-0 {
|