@oxide/design-system 6.0.4 → 6.0.5-canary.d34267a
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/dist/asciidoc.css +46 -146
- package/dist/components/src/asciidoc/index.js +186 -178
- package/dist/components/src/asciidoc/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/dark.css +19 -0
- package/styles/light.css +19 -0
package/dist/asciidoc.css
CHANGED
|
@@ -25,8 +25,9 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
@utility inline-code {
|
|
28
|
-
@apply text-
|
|
29
|
-
|
|
28
|
+
@apply mr-[1px] ml-[1px] rounded-md border px-0.5 align-[1px] text-[0.825em] tracking-normal!;
|
|
29
|
+
background-color: color-mix(in srgb, currentColor 8%, transparent);
|
|
30
|
+
border-color: color-mix(in srgb, currentColor 10%, transparent);
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
@layer components {
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
.quoteblock {
|
|
39
|
-
@apply
|
|
40
|
+
@apply text-secondary border-default mt-8 mb-8 border-l pl-[1.6rem];
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
.quoteblock p {
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
.quoteblock .attribution {
|
|
47
|
-
@apply mt-8
|
|
48
|
+
@apply text-raise mt-8;
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
.attribution cite {
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
.admonitionblock .quoteblock {
|
|
55
|
-
@apply
|
|
56
|
+
@apply border-accent-secondary mt-2 mb-2 pl-[0.75rem];
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
.admonition-content .paragraph {
|
|
@@ -60,11 +61,11 @@
|
|
|
60
61
|
}
|
|
61
62
|
|
|
62
63
|
.admonition-content > div:first-of-type {
|
|
63
|
-
@apply
|
|
64
|
+
@apply text-sans-semi-md normal-case;
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
.imageblock img {
|
|
67
|
-
@apply mx-auto h-auto w-auto w-full rounded-lg border
|
|
68
|
+
@apply border-tertiary mx-auto h-auto w-auto w-full rounded-lg border object-contain;
|
|
68
69
|
max-height: max(500px, 75vh);
|
|
69
70
|
}
|
|
70
71
|
|
|
@@ -87,7 +88,7 @@
|
|
|
87
88
|
|
|
88
89
|
/* Use semi-bold for strong */
|
|
89
90
|
strong {
|
|
90
|
-
@apply font-[500]
|
|
91
|
+
@apply text-raise font-[500];
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
a strong {
|
|
@@ -98,7 +99,7 @@
|
|
|
98
99
|
h3,
|
|
99
100
|
h4,
|
|
100
101
|
h5 {
|
|
101
|
-
@apply relative
|
|
102
|
+
@apply text-raise relative mt-10 mb-3;
|
|
102
103
|
}
|
|
103
104
|
|
|
104
105
|
/* Removes top spacing from header if it is the first element */
|
|
@@ -115,7 +116,7 @@
|
|
|
115
116
|
h3 a,
|
|
116
117
|
h4 a,
|
|
117
118
|
h5 a {
|
|
118
|
-
@apply
|
|
119
|
+
@apply text-raise inline;
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
h1[data-sectnum]:before,
|
|
@@ -123,7 +124,7 @@
|
|
|
123
124
|
h3[data-sectnum]:before,
|
|
124
125
|
h4[data-sectnum]:before,
|
|
125
126
|
h5[data-sectnum]:before {
|
|
126
|
-
@apply
|
|
127
|
+
@apply text-tertiary 800:absolute 800:-left-[72px] 800:mr-0 800:w-[60px] 800:text-right 800:text-sans-lg bottom-0 mr-2 inline-block;
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
h3[data-sectnum]:before,
|
|
@@ -141,7 +142,7 @@
|
|
|
141
142
|
|
|
142
143
|
h4,
|
|
143
144
|
h5 {
|
|
144
|
-
@apply
|
|
145
|
+
@apply text-sans-lg text-raise mt-8 mb-2;
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
.anchor,
|
|
@@ -167,7 +168,7 @@
|
|
|
167
168
|
}
|
|
168
169
|
|
|
169
170
|
p {
|
|
170
|
-
@apply mb-[1.25rem] !leading-[1.5]
|
|
171
|
+
@apply text-sans-lg 800:mb-3 mb-[1.25rem] !leading-[1.5];
|
|
171
172
|
}
|
|
172
173
|
|
|
173
174
|
ul li,
|
|
@@ -177,7 +178,7 @@
|
|
|
177
178
|
|
|
178
179
|
ul,
|
|
179
180
|
ol {
|
|
180
|
-
@apply mb-3 list-disc
|
|
181
|
+
@apply text-mono-sm mb-3 list-disc;
|
|
181
182
|
}
|
|
182
183
|
|
|
183
184
|
li::marker,
|
|
@@ -219,7 +220,7 @@
|
|
|
219
220
|
|
|
220
221
|
ul,
|
|
221
222
|
ol {
|
|
222
|
-
@apply list-
|
|
223
|
+
@apply 800:list-outside list-inside;
|
|
223
224
|
}
|
|
224
225
|
|
|
225
226
|
ul:first-of-type,
|
|
@@ -246,7 +247,7 @@
|
|
|
246
247
|
.ulist .olist,
|
|
247
248
|
.olist .ulist,
|
|
248
249
|
.olist .olist {
|
|
249
|
-
@apply ml-[2rem]
|
|
250
|
+
@apply 800:ml-2 ml-[2rem];
|
|
250
251
|
}
|
|
251
252
|
|
|
252
253
|
.exampleblock ul,
|
|
@@ -288,35 +289,20 @@
|
|
|
288
289
|
}
|
|
289
290
|
|
|
290
291
|
ol p {
|
|
291
|
-
@apply normal-case
|
|
292
|
+
@apply text-default normal-case;
|
|
292
293
|
}
|
|
293
294
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
h2 code,
|
|
297
|
-
h3 code,
|
|
298
|
-
h4 code,
|
|
299
|
-
h5 code,
|
|
300
|
-
.title code {
|
|
301
|
-
@apply text-[0.825em] text-default;
|
|
302
|
-
@apply ml-[1px] mr-[1px] rounded-md border px-[4px] py-[1px] align-[1px] bg-raise border-secondary;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
p a code {
|
|
306
|
-
@apply text-accent-secondary;
|
|
295
|
+
:not(pre) > code {
|
|
296
|
+
@apply inline-code;
|
|
307
297
|
}
|
|
308
298
|
|
|
309
299
|
table p code {
|
|
310
300
|
@apply break-normal;
|
|
311
301
|
}
|
|
312
302
|
|
|
313
|
-
.admonitionblock p code {
|
|
314
|
-
@apply border-none text-inverse bg-accent-inverse;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
303
|
pre {
|
|
318
|
-
@apply
|
|
319
|
-
@apply overflow-x-auto !text-[13px]
|
|
304
|
+
@apply border-secondary 800:px-[1.75rem] 800:py-[1.5rem] rounded-lg border px-[1.25rem] py-[1rem];
|
|
305
|
+
@apply text-mono-code overflow-x-auto !text-[13px];
|
|
320
306
|
}
|
|
321
307
|
|
|
322
308
|
code {
|
|
@@ -332,12 +318,12 @@
|
|
|
332
318
|
}
|
|
333
319
|
|
|
334
320
|
.listingblock code[data-lang]:before {
|
|
335
|
-
@apply absolute
|
|
321
|
+
@apply text-mono-xs text-secondary absolute top-2 right-2 block;
|
|
336
322
|
content: attr(data-lang);
|
|
337
323
|
}
|
|
338
324
|
|
|
339
325
|
pre .conum[data-value] {
|
|
340
|
-
@apply relative -top-[0.125rem] inline-block h-[1rem] min-w-[1rem] rounded-full text-center not-italic
|
|
326
|
+
@apply text-mono-xs text-secondary bg-raise relative -top-[0.125rem] inline-block h-[1rem] min-w-[1rem] rounded-full text-center not-italic;
|
|
341
327
|
}
|
|
342
328
|
|
|
343
329
|
pre .conum[data-value]:after {
|
|
@@ -350,11 +336,11 @@
|
|
|
350
336
|
}
|
|
351
337
|
|
|
352
338
|
.exampleblock {
|
|
353
|
-
@apply overflow-x-auto rounded-lg px-[1.5rem] py-[1.25rem]
|
|
339
|
+
@apply bg-raise overflow-x-auto rounded-lg px-[1.5rem] py-[1.25rem];
|
|
354
340
|
}
|
|
355
341
|
|
|
356
342
|
.exampleblock p {
|
|
357
|
-
@apply
|
|
343
|
+
@apply text-sans-md mb-2;
|
|
358
344
|
}
|
|
359
345
|
|
|
360
346
|
.exampleblock .content,
|
|
@@ -367,7 +353,7 @@
|
|
|
367
353
|
}
|
|
368
354
|
|
|
369
355
|
.admonitionblock {
|
|
370
|
-
@apply
|
|
356
|
+
@apply text-accent bg-accent border-accent-tertiary rounded-lg border;
|
|
371
357
|
@apply my-[1.5rem] flex px-3 py-3;
|
|
372
358
|
}
|
|
373
359
|
|
|
@@ -383,25 +369,8 @@
|
|
|
383
369
|
@apply text-accent;
|
|
384
370
|
}
|
|
385
371
|
|
|
386
|
-
.admonitionblock.
|
|
387
|
-
|
|
388
|
-
@apply text-notice;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
.admonitionblock.caution .quoteblock {
|
|
392
|
-
@apply border-notice-secondary;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
.admonitionblock.warning .quoteblock {
|
|
396
|
-
@apply border-destructive-secondary;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.admonitionblock.warning strong {
|
|
400
|
-
@apply text-destructive;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
.admonitionblock.tip strong {
|
|
404
|
-
color: var(--color-purple-800);
|
|
372
|
+
.admonitionblock .quoteblock {
|
|
373
|
+
@apply border-accent-secondary;
|
|
405
374
|
}
|
|
406
375
|
|
|
407
376
|
.admonitionblock,
|
|
@@ -409,74 +378,12 @@
|
|
|
409
378
|
@apply text-accent;
|
|
410
379
|
}
|
|
411
380
|
|
|
412
|
-
.admonitionblock.tip,
|
|
413
|
-
.admonitionblock.tip blockquote {
|
|
414
|
-
background-color: var(--color-purple-200);
|
|
415
|
-
color: var(--color-purple-800);
|
|
416
|
-
border-color: var(--color-purple-400);
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.admonitionblock.caution,
|
|
420
|
-
.admonitionblock.important,
|
|
421
|
-
.admonitionblock.caution blockquote,
|
|
422
|
-
.admonitionblock.important blockquote {
|
|
423
|
-
@apply text-notice bg-notice border-notice-tertiary;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
.admonitionblock.warning,
|
|
427
|
-
.admonitionblock.warning blockquote {
|
|
428
|
-
@apply text-destructive bg-destructive border-destructive-tertiary;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
.admonitionblock.caution,
|
|
432
|
-
.admonitionblock.important {
|
|
433
|
-
@apply text-notice;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
.admonitionblock.warning {
|
|
437
|
-
@apply text-destructive;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.admonitionblock.tip {
|
|
441
|
-
color: var(--color-purple-800);
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
.admonitionblock.caution p code,
|
|
445
|
-
.admonitionblock.important p code {
|
|
446
|
-
@apply bg-notice-inverse;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
.admonitionblock.warning p code {
|
|
450
|
-
@apply bg-error-inverse;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
.admonitionblock.tip p code {
|
|
454
|
-
@apply bg-purple-800;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
.admonitionblock a {
|
|
458
|
-
@apply underline;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
381
|
.admonitionblock a {
|
|
462
|
-
@apply text-accent;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
.admonitionblock.caution a,
|
|
466
|
-
.admonitionblock.important a {
|
|
467
|
-
@apply text-notice;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
.admonitionblock.warning a {
|
|
471
|
-
@apply text-destructive;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
.admonitionblock.tip a {
|
|
475
|
-
@apply text-purple-800;
|
|
382
|
+
@apply text-accent underline;
|
|
476
383
|
}
|
|
477
384
|
|
|
478
385
|
.admonition-icon svg {
|
|
479
|
-
@apply
|
|
386
|
+
@apply mt-0.5 mr-2 h-3 w-3;
|
|
480
387
|
}
|
|
481
388
|
|
|
482
389
|
.admonition-content {
|
|
@@ -484,7 +391,7 @@
|
|
|
484
391
|
}
|
|
485
392
|
|
|
486
393
|
.admonition-content p {
|
|
487
|
-
@apply
|
|
394
|
+
@apply text-sans-md mb-0;
|
|
488
395
|
}
|
|
489
396
|
|
|
490
397
|
.imageblock,
|
|
@@ -505,7 +412,7 @@
|
|
|
505
412
|
}
|
|
506
413
|
|
|
507
414
|
.imageblock .title {
|
|
508
|
-
@apply mt-3 max-w-full text-center not-italic
|
|
415
|
+
@apply text-mono-xs text-secondary mt-3 max-w-full text-center not-italic;
|
|
509
416
|
}
|
|
510
417
|
|
|
511
418
|
img.wide {
|
|
@@ -533,11 +440,11 @@
|
|
|
533
440
|
}
|
|
534
441
|
|
|
535
442
|
.title {
|
|
536
|
-
@apply mb-2 max-w-[40rem] text-left italic
|
|
443
|
+
@apply text-sans-lg text-secondary mb-2 max-w-[40rem] text-left italic;
|
|
537
444
|
}
|
|
538
445
|
|
|
539
446
|
summary.title {
|
|
540
|
-
@apply not-italic
|
|
447
|
+
@apply text-raise not-italic;
|
|
541
448
|
}
|
|
542
449
|
|
|
543
450
|
.conum {
|
|
@@ -557,7 +464,7 @@
|
|
|
557
464
|
}
|
|
558
465
|
|
|
559
466
|
table {
|
|
560
|
-
@apply w-full border-separate overflow-hidden rounded-lg border p-0
|
|
467
|
+
@apply border-secondary w-full border-separate overflow-hidden rounded-lg border p-0;
|
|
561
468
|
border-spacing: 0;
|
|
562
469
|
}
|
|
563
470
|
|
|
@@ -575,7 +482,7 @@
|
|
|
575
482
|
|
|
576
483
|
table td,
|
|
577
484
|
table th {
|
|
578
|
-
@apply border-
|
|
485
|
+
@apply border-secondary border-r border-b px-[0.5rem] py-[0.5rem] align-top;
|
|
579
486
|
}
|
|
580
487
|
|
|
581
488
|
table tr th:last-child {
|
|
@@ -596,7 +503,7 @@
|
|
|
596
503
|
}
|
|
597
504
|
|
|
598
505
|
table th {
|
|
599
|
-
@apply text-
|
|
506
|
+
@apply text-mono-xs text-secondary bg-raise text-left;
|
|
600
507
|
}
|
|
601
508
|
|
|
602
509
|
table th p {
|
|
@@ -624,7 +531,7 @@
|
|
|
624
531
|
}
|
|
625
532
|
|
|
626
533
|
.colist table tr td:first-of-type {
|
|
627
|
-
@apply w-[1%] whitespace-nowrap
|
|
534
|
+
@apply text-tertiary w-[1%] whitespace-nowrap;
|
|
628
535
|
}
|
|
629
536
|
|
|
630
537
|
.colist table b {
|
|
@@ -632,7 +539,7 @@
|
|
|
632
539
|
}
|
|
633
540
|
|
|
634
541
|
div.bibliography ~ h2 {
|
|
635
|
-
@apply mt-
|
|
542
|
+
@apply 800:mt-16 mt-12;
|
|
636
543
|
}
|
|
637
544
|
|
|
638
545
|
.bibliography ul,
|
|
@@ -641,7 +548,7 @@
|
|
|
641
548
|
}
|
|
642
549
|
|
|
643
550
|
mark {
|
|
644
|
-
@apply rounded-md px-[2px]
|
|
551
|
+
@apply text-notice bg-notice rounded-md px-[2px];
|
|
645
552
|
}
|
|
646
553
|
|
|
647
554
|
.steminline svg {
|
|
@@ -649,11 +556,11 @@
|
|
|
649
556
|
}
|
|
650
557
|
|
|
651
558
|
hr {
|
|
652
|
-
@apply my-3
|
|
559
|
+
@apply border-default my-3;
|
|
653
560
|
}
|
|
654
561
|
|
|
655
562
|
.sidebarblock {
|
|
656
|
-
@apply bg-raise
|
|
563
|
+
@apply bg-raise my-8 rounded-lg p-4 px-6 py-5;
|
|
657
564
|
}
|
|
658
565
|
|
|
659
566
|
.halign-left {
|
|
@@ -686,7 +593,7 @@
|
|
|
686
593
|
|
|
687
594
|
a:not(:is(h1, h2, h3, h4, h5, h6) a) {
|
|
688
595
|
text-decoration-color: color-mix(in srgb, currentColor 60%, transparent);
|
|
689
|
-
@apply
|
|
596
|
+
@apply text-accent-secondary underline;
|
|
690
597
|
}
|
|
691
598
|
}
|
|
692
599
|
|
|
@@ -694,16 +601,9 @@
|
|
|
694
601
|
@apply accent-link;
|
|
695
602
|
}
|
|
696
603
|
|
|
697
|
-
#footnotes p code
|
|
698
|
-
@apply inline-code;
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
.toc .active code {
|
|
702
|
-
@apply border-accent-tertiary;
|
|
703
|
-
}
|
|
704
|
-
|
|
604
|
+
#footnotes p code,
|
|
705
605
|
.toc code {
|
|
706
|
-
@apply
|
|
606
|
+
@apply inline-code;
|
|
707
607
|
}
|
|
708
608
|
|
|
709
609
|
@media screen and (min-width: 720px) {
|