@oxide/design-system 2.1.0 → 2.1.1--canary.05565c6.0

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.
@@ -13,643 +13,673 @@
13
13
  text-decoration-color: var(--content-accent-tertiary);
14
14
  }
15
15
 
16
- .asciidoc-body .line-through {
17
- text-decoration: line-through;
18
- }
16
+ {
17
+ .line-through {
18
+ text-decoration: line-through;
19
+ }
19
20
 
20
- .asciidoc-body .quoteblock {
21
- @apply mb-8 mt-8 border-l pl-[1.6rem] text-secondary border-default;
22
- }
21
+ .quoteblock {
22
+ @apply mb-8 mt-8 border-l pl-[1.6rem] text-secondary border-default;
23
+ }
23
24
 
24
- .asciidoc-body .quoteblock p {
25
- @apply text-secondary;
26
- }
25
+ .quoteblock p {
26
+ @apply text-secondary;
27
+ }
27
28
 
28
- .asciidoc-body .quoteblock .attribution {
29
- @apply mt-8 text-raise;
30
- }
29
+ .quoteblock .attribution {
30
+ @apply mt-8 text-raise;
31
+ }
31
32
 
32
- .asciidoc-body .attribution cite {
33
- @apply block;
34
- }
33
+ .attribution cite {
34
+ @apply block;
35
+ }
35
36
 
36
- .asciidoc-body .admonitionblock .quoteblock {
37
- @apply mb-2 mt-2 pl-[0.75rem] border-success-secondary;
38
- }
37
+ .admonitionblock .quoteblock {
38
+ @apply mb-2 mt-2 pl-[0.75rem] border-success-secondary;
39
+ }
39
40
 
40
- .asciidoc-body .admonitionblock p,
41
- .asciidoc-body .admonitionblock blockquote {
42
- @apply text-success;
43
- }
41
+ .admonitionblock p,
42
+ .admonitionblock blockquote {
43
+ @apply text-success;
44
+ }
44
45
 
45
- .asciidoc-body .admonition-content .paragraph {
46
- @apply mb-1 last:mb-0;
47
- }
46
+ .admonition-content .paragraph {
47
+ @apply mb-1 last:mb-0;
48
+ }
48
49
 
49
- .asciidoc-body .admonition-content > div:first-of-type {
50
- @apply normal-case text-sans-semi-md;
51
- }
50
+ .admonition-content > div:first-of-type {
51
+ @apply normal-case text-sans-semi-md;
52
+ }
52
53
 
53
- .asciidoc-body .imageblock img {
54
- @apply mx-auto h-auto w-auto w-full rounded-lg border border-tertiary object-contain;
55
- max-height: max(500px, 75vh);
56
- }
54
+ .imageblock img {
55
+ @apply mx-auto h-auto w-auto w-full rounded-lg border border-tertiary object-contain;
56
+ max-height: max(500px, 75vh);
57
+ }
57
58
 
58
- .asciidoc-body span img {
59
- @apply inline;
60
- }
59
+ span img {
60
+ @apply inline;
61
+ }
61
62
 
62
- .asciidoc-body img.transparent-dark {
63
- @apply bg-secondary;
64
- }
63
+ img.transparent-dark {
64
+ @apply bg-secondary;
65
+ }
65
66
 
66
- .asciidoc-body p a {
67
- @apply text-accent-secondary hover:text-accent;
68
- overflow-wrap: break-word;
69
- word-wrap: break-word;
67
+ p a {
68
+ @apply text-accent-secondary hover:text-accent;
69
+ overflow-wrap: break-word;
70
+ word-wrap: break-word;
70
71
 
71
- text-decoration: underline;
72
- text-decoration-color: var(--content-accent-tertiary);
73
- }
72
+ text-decoration: underline;
73
+ text-decoration-color: var(--content-accent-tertiary);
74
+ }
74
75
 
75
- /* Use semi-bold for strong */
76
- .asciidoc-body strong {
77
- @apply font-[500] text-raise;
78
- }
76
+ /* Use semi-bold for strong */
77
+ strong {
78
+ @apply font-[500] text-raise;
79
+ }
79
80
 
80
- .asciidoc-body a strong {
81
- @apply text-accent-secondary;
82
- }
81
+ a strong {
82
+ @apply text-accent-secondary;
83
+ }
83
84
 
84
- .asciidoc-body h2,
85
- .asciidoc-body h3,
86
- .asciidoc-body h4,
87
- .asciidoc-body h5 {
88
- @apply relative mb-3 mt-10 text-raise;
89
- }
85
+ h2,
86
+ h3,
87
+ h4,
88
+ h5 {
89
+ @apply relative mb-3 mt-10 text-raise;
90
+ }
90
91
 
91
- /* Removes top spacing from header if it is the first element */
92
- .asciidoc-body#content > .sect1:first-of-type > h1:nth-child(1),
93
- .asciidoc-body#content > .sect1:first-of-type > h2:nth-child(1),
94
- .asciidoc-body#content > .sect1:first-of-type > h3:nth-child(1),
95
- .asciidoc-body#content > .sect1:first-of-type > h4:nth-child(1),
96
- .asciidoc-body#content > .sect1:first-of-type > h5:nth-child(1) {
97
- @apply mt-0;
98
- }
92
+ /* Removes top spacing from header if it is the first element */
93
+ .asciidoc-body#content > .sect1:first-of-type > h1:nth-child(1),
94
+ .asciidoc-body#content > .sect1:first-of-type > h2:nth-child(1),
95
+ .asciidoc-body#content > .sect1:first-of-type > h3:nth-child(1),
96
+ .asciidoc-body#content > .sect1:first-of-type > h4:nth-child(1),
97
+ .asciidoc-body#content > .sect1:first-of-type > h5:nth-child(1) {
98
+ @apply mt-0;
99
+ }
99
100
 
100
- .asciidoc-body h1 a,
101
- .asciidoc-body h2 a,
102
- .asciidoc-body h3 a,
103
- .asciidoc-body h4 a,
104
- .asciidoc-body h5 a {
105
- @apply flex items-center text-raise;
106
- }
101
+ h1 a,
102
+ h2 a,
103
+ h3 a,
104
+ h4 a,
105
+ h5 a {
106
+ @apply flex items-center text-raise;
107
+ }
107
108
 
108
- .asciidoc-body h1[data-sectnum]:before,
109
- .asciidoc-body h2[data-sectnum]:before,
110
- .asciidoc-body h3[data-sectnum]:before,
111
- .asciidoc-body h4[data-sectnum]:before,
112
- .asciidoc-body h5[data-sectnum]:before {
113
- @apply bottom-0 mr-2 inline-block text-tertiary 800:absolute 800:-left-[72px] 800:mr-0 800:w-[60px] 800:text-right 800:text-sans-lg;
114
- }
109
+ h1[data-sectnum]:before,
110
+ h2[data-sectnum]:before,
111
+ h3[data-sectnum]:before,
112
+ h4[data-sectnum]:before,
113
+ h5[data-sectnum]:before {
114
+ @apply bottom-0 mr-2 inline-block text-tertiary 800:absolute 800:-left-[72px] 800:mr-0 800:w-[60px] 800:text-right 800:text-sans-lg;
115
+ }
115
116
 
116
- .asciidoc-body h3[data-sectnum]:before,
117
- .asciidoc-body h2[data-sectnum]:before {
118
- @apply 800:bottom-[2px];
119
- }
117
+ h3[data-sectnum]:before,
118
+ h2[data-sectnum]:before {
119
+ @apply 800:bottom-[2px];
120
+ }
120
121
 
121
- .asciidoc-body h2 {
122
- @apply text-sans-2xl;
123
- }
122
+ h2 {
123
+ @apply text-sans-2xl;
124
+ }
124
125
 
125
- .asciidoc-body h3 {
126
- @apply text-sans-xl;
127
- }
126
+ h3 {
127
+ @apply text-sans-xl;
128
+ }
128
129
 
129
- .asciidoc-body h4,
130
- .asciidoc-body h5 {
131
- @apply mb-2 mt-8 text-sans-lg text-raise;
132
- }
130
+ h4,
131
+ h5 {
132
+ @apply mb-2 mt-8 text-sans-lg text-raise;
133
+ }
133
134
 
134
- .asciidoc-body .anchor {
135
- position: absolute;
136
- margin-top: calc(var(--header-height) * -1 - 20px);
137
- visibility: hidden;
138
- user-select: none;
139
- }
135
+ .anchor {
136
+ position: absolute;
137
+ margin-top: calc(var(--header-height) * -1 - 20px);
138
+ visibility: hidden;
139
+ user-select: none;
140
+ }
140
141
 
141
- .asciidoc-body .dlist dt {
142
- @apply text-sans-lg text-raise;
143
- }
142
+ .dlist dt {
143
+ @apply text-sans-lg text-raise;
144
+ }
144
145
 
145
- .asciidoc-body .dlist dt:after {
146
- content: ':';
147
- @apply text-sans-lg text-tertiary;
148
- }
146
+ .dlist dt:after {
147
+ content: ':';
148
+ @apply text-sans-lg text-tertiary;
149
+ }
149
150
 
150
- .asciidoc-body {
151
- @apply text-sans-lg;
152
- }
151
+ {
152
+ @apply text-sans-lg;
153
+ }
153
154
 
154
- /* Fix overflow text in mermaid */
155
- .asciidoc-body figure svg {
156
- line-height: 1 !important;
157
- }
155
+ /* Fix overflow text in mermaid */
156
+ figure svg {
157
+ line-height: 1 !important;
158
+ }
158
159
 
159
- .asciidoc-body p {
160
- @apply mb-[1.25rem] !leading-[1.5] text-sans-lg 800:mb-4;
161
- }
160
+ p {
161
+ @apply mb-[1.25rem] !leading-[1.5] text-sans-lg 800:mb-3;
162
+ }
162
163
 
163
- .asciidoc-body ul li,
164
- .asciidoc-body ol li {
165
- @apply mt-[0.5rem];
166
- }
164
+ ul li,
165
+ ol li {
166
+ @apply mt-[0.325rem];
167
+ }
167
168
 
168
- .asciidoc-body ul,
169
- .asciidoc-body ol {
170
- @apply mb-4 list-disc text-mono-sm text-secondary;
171
- }
169
+ ul,
170
+ ol {
171
+ @apply mb-4 list-disc text-mono-sm text-secondary;
172
+ }
172
173
 
173
- .asciidoc-body ul p,
174
- .asciidoc-body ol p {
175
- @apply normal-case;
176
- }
174
+ ul p,
175
+ ol p {
176
+ @apply normal-case;
177
+ }
177
178
 
178
- .asciidoc-body ul ul,
179
- .asciidoc-body ul ol,
180
- .asciidoc-body ol ol,
181
- .asciidoc-body ol ul {
182
- @apply mb-0;
183
- }
179
+ ul ul,
180
+ ul ol,
181
+ ol ol,
182
+ ol ul {
183
+ @apply mb-0;
184
+ }
184
185
 
185
- .asciidoc-body ul ul li {
186
- list-style-type: circle;
187
- }
186
+ ul ul li {
187
+ list-style-type: circle;
188
+ }
188
189
 
189
- .asciidoc-body ul ul ul li {
190
- list-style-type: square;
191
- }
190
+ ul ul ul li {
191
+ list-style-type: square;
192
+ }
192
193
 
193
- .asciidoc-body ul ul ul ul li {
194
- list-style-type: disc;
195
- }
194
+ ul ul ul ul li {
195
+ list-style-type: disc;
196
+ }
196
197
 
197
- .asciidoc-body ul {
198
- @apply list-disc;
199
- }
198
+ ul {
199
+ @apply list-disc;
200
+ }
200
201
 
201
- .asciidoc-body ol {
202
- @apply list-decimal;
203
- }
202
+ ol {
203
+ @apply list-decimal;
204
+ }
204
205
 
205
- .asciidoc-body ul,
206
- .asciidoc-body ol {
207
- @apply list-inside 800:list-outside;
208
- }
206
+ ul,
207
+ ol {
208
+ @apply list-inside 800:list-outside;
209
+ }
209
210
 
210
- .asciidoc-body ul:first-of-type,
211
- .github-markdown > ul {
212
- @apply 800:ml-4;
213
- }
211
+ ul:first-of-type,
212
+ .github-markdown > ul {
213
+ @apply 800:ml-4;
214
+ }
214
215
 
215
- .asciidoc-body ol:first-of-type,
216
- .github-markdown > ol {
217
- @apply 800:ml-6;
218
- }
216
+ ol:first-of-type,
217
+ .github-markdown > ol {
218
+ @apply 800:ml-6;
219
+ }
219
220
 
220
- .asciidoc-body .tableblock ul,
221
- .asciidoc-body .tableblock ol {
222
- @apply list-inside;
223
- }
221
+ .tableblock ul,
222
+ .tableblock ol {
223
+ @apply list-inside;
224
+ }
224
225
 
225
- .asciidoc-body .quoteblock ul,
226
- .asciidoc-body .quoteblock ol {
227
- @apply list-inside;
228
- }
226
+ .quoteblock ul,
227
+ .quoteblock ol {
228
+ @apply list-inside;
229
+ }
229
230
 
230
- .asciidoc-body .ulist .ulist,
231
- .asciidoc-body .ulist .olist,
232
- .asciidoc-body .olist .ulist,
233
- .asciidoc-body .olist .olist {
234
- @apply ml-[2rem] 800:ml-2;
235
- }
231
+ .ulist .ulist,
232
+ .ulist .olist,
233
+ .olist .ulist,
234
+ .olist .olist {
235
+ @apply ml-[2rem] 800:ml-2;
236
+ }
236
237
 
237
- .asciidoc-body .exampleblock ul,
238
- .asciidoc-body .exampleblock ol {
239
- @apply list-inside;
240
- }
238
+ .exampleblock ul,
239
+ .exampleblock ol {
240
+ @apply list-inside;
241
+ }
241
242
 
242
- .asciidoc-body ul p,
243
- .asciidoc-body ol p {
244
- @apply inline;
245
- }
243
+ ul p,
244
+ ol p {
245
+ @apply inline;
246
+ }
246
247
 
247
- .asciidoc-body p {
248
- @apply text-default;
249
- }
248
+ p {
249
+ @apply text-default;
250
+ }
250
251
 
251
- .asciidoc-body .arabic {
252
- list-style-type: decimal;
253
- }
252
+ .arabic {
253
+ list-style-type: decimal;
254
+ }
254
255
 
255
- .asciidoc-body .loweralpha {
256
- list-style-type: lower-alpha;
257
- }
256
+ .loweralpha {
257
+ list-style-type: lower-alpha;
258
+ }
258
259
 
259
- .asciidoc-body .lowerroman {
260
- list-style-type: lower-roman;
261
- }
260
+ .lowerroman {
261
+ list-style-type: lower-roman;
262
+ }
262
263
 
263
- .asciidoc-body .upperalpha {
264
- list-style-type: upper-alpha;
265
- }
264
+ .upperalpha {
265
+ list-style-type: upper-alpha;
266
+ }
266
267
 
267
- .asciidoc-body .upperroman {
268
- list-style-type: upper-roman;
269
- }
268
+ .upperroman {
269
+ list-style-type: upper-roman;
270
+ }
270
271
 
271
- .asciidoc-body ol p {
272
- @apply normal-case text-default;
273
- }
272
+ ol p {
273
+ @apply normal-case text-default;
274
+ }
274
275
 
275
- .text-mono-code {
276
- @apply !text-[0.825em] !normal-case;
277
- font-feature-settings: 'calt' 0;
278
- letter-spacing: 0;
279
- }
276
+ .text-mono-code {
277
+ @apply !text-[0.825em] !normal-case;
278
+ font-feature-settings: 'calt' 0;
279
+ letter-spacing: 0;
280
+ }
280
281
 
281
- .inline-code {
282
- @apply text-secondary;
283
- @apply ml-[1px] mr-[1px] rounded border px-[4px] py-[1px] align-[1px] text-[0.825em] bg-raise border-secondary;
284
- }
282
+ .inline-code {
283
+ @apply text-secondary;
284
+ @apply ml-[1px] mr-[1px] rounded border px-[4px] py-[1px] align-[1px] text-[0.825em] bg-raise border-secondary;
285
+ }
285
286
 
286
- .asciidoc-body p code,
287
- .asciidoc-body h1 code,
288
- .asciidoc-body h2 code,
289
- .asciidoc-body h3 code,
290
- .asciidoc-body h4 code,
291
- .asciidoc-body h5 code,
292
- .asciidoc-body .title code {
293
- @apply text-[0.825em] text-default;
294
- @apply ml-[1px] mr-[1px] rounded border px-[4px] py-[1px] align-[1px] bg-raise border-secondary;
295
- }
287
+ p code,
288
+ h1 code,
289
+ h2 code,
290
+ h3 code,
291
+ h4 code,
292
+ h5 code,
293
+ .title code {
294
+ @apply text-[0.825em] text-default;
295
+ @apply ml-[1px] mr-[1px] rounded border px-[4px] py-[1px] align-[1px] bg-raise border-secondary;
296
+ }
296
297
 
297
- .asciidoc-body p a code {
298
- @apply text-accent-secondary;
299
- }
298
+ p a code {
299
+ @apply text-accent-secondary;
300
+ }
300
301
 
301
- .asciidoc-body table p code {
302
- @apply break-normal;
303
- }
302
+ table p code {
303
+ @apply break-normal;
304
+ }
304
305
 
305
- .asciidoc-body .admonitionblock p code {
306
- @apply border-none text-inverse bg-success;
307
- }
306
+ .admonitionblock p code {
307
+ @apply border-none text-inverse bg-success;
308
+ }
308
309
 
309
- .asciidoc-body pre {
310
- @apply rounded-lg border px-[1.25rem] py-[1rem] border-secondary 800:px-[1.75rem] 800:py-[1.5rem];
311
- @apply overflow-x-auto !text-[13px] text-mono-code;
312
- }
310
+ pre {
311
+ @apply rounded-lg border px-[1.25rem] py-[1rem] border-secondary 800:px-[1.75rem] 800:py-[1.5rem];
312
+ @apply overflow-x-auto !text-[13px] text-mono-code;
313
+ }
313
314
 
314
- .asciidoc-body code {
315
- font-feature-settings: 'calt' 0;
316
- }
315
+ code {
316
+ font-feature-settings: 'calt' 0;
317
+ }
317
318
 
318
- .asciidoc-body .listingblock .content {
319
- @apply relative;
320
- }
319
+ .listingblock .content {
320
+ @apply relative;
321
+ }
321
322
 
322
- .asciidoc-body .listingblock pre:not(.highlight) {
323
- @apply text-default;
324
- }
323
+ .listingblock pre:not(.highlight) {
324
+ @apply text-default;
325
+ }
325
326
 
326
- .asciidoc-body .listingblock code[data-lang]:before {
327
- @apply absolute right-2 top-2 block text-mono-xs text-secondary;
328
- content: attr(data-lang);
329
- }
327
+ .listingblock code[data-lang]:before {
328
+ @apply absolute right-2 top-2 block text-mono-xs text-secondary;
329
+ content: attr(data-lang);
330
+ }
330
331
 
331
- .asciidoc-body pre .conum[data-value] {
332
- @apply relative -top-[0.125rem] inline-block h-[1rem] min-w-[1rem] rounded-full text-center not-italic text-mono-xs text-secondary bg-raise;
333
- }
332
+ pre .conum[data-value] {
333
+ @apply relative -top-[0.125rem] inline-block h-[1rem] min-w-[1rem] rounded-full text-center not-italic text-mono-xs text-secondary bg-raise;
334
+ }
334
335
 
335
- .asciidoc-body pre .conum[data-value]:after {
336
- @apply pl-[1px];
337
- content: attr(data-value);
338
- }
336
+ pre .conum[data-value]:after {
337
+ @apply pl-[1px];
338
+ content: attr(data-value);
339
+ }
339
340
 
340
- .asciidoc-body pre .conum[data-value] + b {
341
- @apply hidden;
342
- }
341
+ pre .conum[data-value] + b {
342
+ @apply hidden;
343
+ }
343
344
 
344
- .asciidoc-body .exampleblock {
345
- @apply overflow-x-auto rounded-lg px-[1.5rem] py-[1.25rem] bg-raise;
346
- }
345
+ .exampleblock {
346
+ @apply overflow-x-auto rounded-lg px-[1.5rem] py-[1.25rem] bg-raise;
347
+ }
347
348
 
348
- .asciidoc-body .exampleblock p {
349
- @apply mb-2 text-sans-md;
350
- }
349
+ .exampleblock p {
350
+ @apply mb-2 text-sans-md;
351
+ }
351
352
 
352
- .asciidoc-body .exampleblock .content,
353
- .asciidoc-body .exampleblock .paragraph:last-of-type p {
354
- @apply m-0;
355
- }
353
+ .exampleblock .content,
354
+ .exampleblock .paragraph:last-of-type p {
355
+ @apply m-0;
356
+ }
356
357
 
357
- .exampleblock > .content {
358
- @apply my-[1rem];
359
- }
358
+ .exampleblock > .content {
359
+ @apply my-[1rem];
360
+ }
360
361
 
361
- .asciidoc-body .admonitionblock {
362
- @apply rounded-lg border text-success bg-success-secondary border-success-tertiary;
363
- @apply my-[1.5rem] flex px-3 py-3;
364
- }
362
+ .admonitionblock {
363
+ @apply rounded-lg border text-success bg-success-secondary border-success-tertiary;
364
+ @apply my-[1.5rem] flex px-3 py-3;
365
+ }
365
366
 
366
- .asciidoc-body .admonitionblock a {
367
- text-decoration-color: var(--content-success-tertiary);
368
- }
367
+ .admonitionblock a {
368
+ text-decoration-color: var(--content-success-tertiary);
369
+ }
369
370
 
370
- .asciidoc-body .admonitionblock.tip a {
371
- text-decoration-color: var(--base-purple-600);
372
- }
371
+ .admonitionblock.tip a {
372
+ text-decoration-color: var(--base-purple-600);
373
+ }
373
374
 
374
- .asciidoc-body .admonitionblock.warning a {
375
- text-decoration-color: var(--content-error-tertiary);
376
- }
375
+ .admonitionblock.warning a {
376
+ text-decoration-color: var(--content-error-tertiary);
377
+ }
377
378
 
378
- .asciidoc-body .admonitionblock.caution a,
379
- .asciidoc-body .admonitionblock.important a {
380
- text-decoration-color: var(--content-notice-tertiary);
381
- }
379
+ .admonitionblock.caution a,
380
+ .admonitionblock.important a {
381
+ text-decoration-color: var(--content-notice-tertiary);
382
+ }
382
383
 
383
- .asciidoc-body .admonitionblock strong {
384
- @apply text-success;
385
- }
384
+ .admonitionblock strong {
385
+ @apply text-success;
386
+ }
386
387
 
387
- .asciidoc-body .admonitionblock.caution strong,
388
- .asciidoc-body .admonitionblock.important strong {
389
- @apply text-notice;
390
- }
388
+ .admonitionblock.caution strong,
389
+ .admonitionblock.important strong {
390
+ @apply text-notice;
391
+ }
391
392
 
392
- .asciidoc-body .admonitionblock.caution .quoteblock {
393
- @apply border-notice-secondary;
394
- }
393
+ .admonitionblock.caution .quoteblock {
394
+ @apply border-notice-secondary;
395
+ }
395
396
 
396
- .asciidoc-body .admonitionblock.warning .quoteblock {
397
- @apply border-destructive-secondary;
398
- }
397
+ .admonitionblock.warning .quoteblock {
398
+ @apply border-destructive-secondary;
399
+ }
399
400
 
400
- .asciidoc-body .admonitionblock.warning strong {
401
- @apply text-destructive;
402
- }
401
+ .admonitionblock.warning strong {
402
+ @apply text-destructive;
403
+ }
403
404
 
404
- .asciidoc-body .admonitionblock.tip strong {
405
- color: var(--base-purple-800);
406
- }
405
+ .admonitionblock.tip strong {
406
+ color: var(--base-purple-800);
407
+ }
407
408
 
408
- .asciidoc-body .admonitionblock.tip,
409
- .asciidoc-body .admonitionblock.tip blockquote {
410
- background-color: var(--base-purple-200);
411
- color: var(--base-purple-800);
412
- border-color: var(--base-purple-400);
413
- }
409
+ .admonitionblock.tip,
410
+ .admonitionblock.tip blockquote {
411
+ background-color: var(--base-purple-200);
412
+ color: var(--base-purple-800);
413
+ border-color: var(--base-purple-400);
414
+ }
414
415
 
415
- .asciidoc-body .admonitionblock.caution,
416
- .asciidoc-body .admonitionblock.important,
417
- .asciidoc-body .admonitionblock.caution blockquote,
418
- .asciidoc-body .admonitionblock.important blockquote {
419
- @apply text-notice bg-notice-secondary border-notice-tertiary;
420
- }
416
+ .admonitionblock.caution,
417
+ .admonitionblock.important,
418
+ .admonitionblock.caution blockquote,
419
+ .admonitionblock.important blockquote {
420
+ @apply text-notice bg-notice-secondary border-notice-tertiary;
421
+ }
421
422
 
422
- .asciidoc-body .admonitionblock.warning,
423
- .asciidoc-body .admonitionblock.warning blockquote {
424
- @apply text-destructive bg-destructive-secondary border-destructive-tertiary;
425
- }
423
+ .admonitionblock.warning,
424
+ .admonitionblock.warning blockquote {
425
+ @apply text-destructive bg-destructive-secondary border-destructive-tertiary;
426
+ }
426
427
 
427
- .asciidoc-body .admonitionblock.caution p,
428
- .asciidoc-body .admonitionblock.important p {
429
- @apply text-notice;
430
- }
428
+ .admonitionblock.caution p,
429
+ .admonitionblock.important p {
430
+ @apply text-notice;
431
+ }
431
432
 
432
- .asciidoc-body .admonitionblock.warning p {
433
- @apply text-destructive;
434
- }
433
+ .admonitionblock.warning p {
434
+ @apply text-destructive;
435
+ }
435
436
 
436
- .asciidoc-body .admonitionblock.tip p {
437
- color: var(--base-purple-800);
438
- }
437
+ .admonitionblock.tip p {
438
+ color: var(--base-purple-800);
439
+ }
439
440
 
440
- .asciidoc-body .admonitionblock.caution p code,
441
- .asciidoc-body .admonitionblock.important p code {
442
- @apply bg-notice;
443
- }
441
+ .admonitionblock.caution p code,
442
+ .admonitionblock.important p code {
443
+ @apply bg-notice;
444
+ }
444
445
 
445
- .asciidoc-body .admonitionblock.warning p code {
446
- @apply bg-error;
447
- }
446
+ .admonitionblock.warning p code {
447
+ @apply bg-error;
448
+ }
448
449
 
449
- .asciidoc-body .admonitionblock.tip p code {
450
- background-color: var(--base-purple-800);
451
- }
450
+ .admonitionblock.tip p code {
451
+ background-color: var(--base-purple-800);
452
+ }
452
453
 
453
- .asciidoc-body .admonitionblock a {
454
- @apply underline;
455
- }
454
+ .admonitionblock a {
455
+ @apply underline;
456
+ }
456
457
 
457
- .asciidoc-body .admonitionblock a {
458
- @apply text-success;
459
- }
458
+ .admonitionblock a {
459
+ @apply text-success;
460
+ }
460
461
 
461
- .asciidoc-body .admonitionblock.caution a,
462
- .asciidoc-body .admonitionblock.important a {
463
- @apply text-notice;
464
- }
462
+ .admonitionblock.caution a,
463
+ .admonitionblock.important a {
464
+ @apply text-notice;
465
+ }
465
466
 
466
- .asciidoc-body .admonitionblock.warning a {
467
- @apply text-destructive;
468
- }
467
+ .admonitionblock.warning a {
468
+ @apply text-destructive;
469
+ }
469
470
 
470
- .asciidoc-body .admonitionblock.tip a {
471
- color: var(--base-purple-800);
472
- }
471
+ .admonitionblock.tip a {
472
+ color: var(--base-purple-800);
473
+ }
473
474
 
474
- .asciidoc-body .admonition-icon svg {
475
- @apply mr-2 mt-0.5 h-3 w-3;
476
- }
475
+ .admonition-icon svg {
476
+ @apply mr-2 mt-0.5 h-3 w-3;
477
+ }
477
478
 
478
- .asciidoc-body .admonition-content {
479
- @apply text-sans-md 800:mr-[1.25rem];
480
- }
479
+ .admonition-content {
480
+ @apply text-sans-md 800:mr-[1.25rem];
481
+ }
481
482
 
482
- .asciidoc-body .admonition-content p {
483
- @apply mb-0 text-sans-md;
484
- }
483
+ .admonition-content p {
484
+ @apply mb-0 text-sans-md;
485
+ }
485
486
 
486
- .asciidoc-body .imageblock,
487
- .asciidoc-body table.tableblock {
488
- @apply my-6;
489
- }
487
+ .imageblock,
488
+ .table-wrapper {
489
+ @apply my-6;
490
+ }
490
491
 
491
- .asciidoc-body .imageblock.inlineimage {
492
- @apply my-4;
493
- }
492
+ .imageblock.inlineimage {
493
+ @apply my-4;
494
+ }
494
495
 
495
- .asciidoc-body table.tableblock table.tableblock {
496
- @apply my-2;
497
- }
496
+ table.tableblock table.tableblock {
497
+ @apply my-2;
498
+ }
498
499
 
499
- .asciidoc-body table.tableblock .imageblock {
500
- @apply my-0;
501
- }
500
+ table.tableblock .imageblock {
501
+ @apply my-0;
502
+ }
502
503
 
503
- .asciidoc-body .imageblock .title {
504
- @apply mt-3 max-w-full text-center not-italic text-mono-xs text-secondary;
505
- }
504
+ .imageblock .title {
505
+ @apply mt-3 max-w-full text-center not-italic text-mono-xs text-secondary;
506
+ }
506
507
 
507
- .asciidoc-body img.wide {
508
- max-width: none;
509
- width: calc(100% / 8 * 10);
510
- margin-left: calc(100% / 8 * -1);
511
- }
508
+ img.wide {
509
+ max-width: none;
510
+ width: calc(100% / 8 * 10);
511
+ margin-left: calc(100% / 8 * -1);
512
+ }
512
513
 
513
- .asciidoc-body sup.footnote {
514
- @apply text-mono-xs text-secondary;
515
- }
514
+ sup.footnote {
515
+ @apply text-mono-xs text-secondary;
516
+ }
516
517
 
517
- .asciidoc-body sup.footnote a {
518
- padding-top: calc(var(--header-height) + 20px);
519
- margin-top: calc(var(--header-height) * -1 - 20px);
520
- }
518
+ sup.footnote a {
519
+ padding-top: calc(var(--header-height) + 20px);
520
+ margin-top: calc(var(--header-height) * -1 - 20px);
521
+ }
521
522
 
522
- .asciidoc-body .imageblock,
523
- .asciidoc-body .literalblock,
524
- .asciidoc-body .listingblock,
525
- .asciidoc-body .stemblock,
526
- .asciidoc-body .videoblock,
527
- .asciidoc-body .exampleblock {
528
- @apply my-[2rem];
529
- }
523
+ .imageblock,
524
+ .literalblock,
525
+ .listingblock,
526
+ .stemblock,
527
+ .videoblock,
528
+ .exampleblock {
529
+ @apply my-[2rem];
530
+ }
530
531
 
531
- .asciidoc-body .title {
532
- @apply mb-2 max-w-[40rem] text-left italic text-sans-lg text-secondary;
533
- }
532
+ .title {
533
+ @apply mb-2 max-w-[40rem] text-left italic text-sans-lg text-secondary;
534
+ }
534
535
 
535
- .asciidoc-body summary.title {
536
- @apply not-italic text-raise;
537
- }
536
+ summary.title {
537
+ @apply not-italic text-raise;
538
+ }
538
539
 
539
- .asciidoc-body .conum {
540
- @apply inline-block;
541
- }
540
+ .conum {
541
+ @apply inline-block;
542
+ }
542
543
 
543
- .asciidoc-body .table-wrapper {
544
- @apply relative overflow-x-auto;
545
- }
544
+ .table-wrapper {
545
+ @apply relative overflow-x-auto;
546
+ }
546
547
 
547
- .asciidoc-body .table-wrapper caption {
548
- @apply sticky left-0 text-left;
549
- }
548
+ .table-wrapper caption {
549
+ @apply sticky left-0 text-left;
550
+ }
550
551
 
551
- .asciidoc-body .table-wrapper caption > a {
552
- @apply no-underline;
553
- }
552
+ .table-wrapper caption > a {
553
+ @apply no-underline;
554
+ }
554
555
 
555
- .asciidoc-body table {
556
- @apply w-full border-separate overflow-hidden rounded-lg border p-0 border-secondary;
557
- border-spacing: 0;
558
- }
556
+ table {
557
+ @apply w-full border-separate overflow-hidden rounded-lg border p-0 border-secondary;
558
+ border-spacing: 0;
559
+ }
559
560
 
560
- .asciidoc-body .valign-middle {
561
- vertical-align: middle;
562
- }
561
+ .valign-middle {
562
+ vertical-align: middle;
563
+ }
563
564
 
564
- .asciidoc-body .halign-center {
565
- text-align: center;
566
- }
565
+ .halign-center {
566
+ text-align: center;
567
+ }
567
568
 
568
- .asciidoc-body table p {
569
- @apply text-left text-sans-md;
570
- }
569
+ table p {
570
+ @apply text-sans-md;
571
+ }
571
572
 
572
- .asciidoc-body table td,
573
- .asciidoc-body table th {
574
- @apply border-b border-r px-[0.75rem] py-[0.625rem] align-top border-secondary;
575
- }
573
+ table td,
574
+ table th {
575
+ @apply border-b border-r px-[0.5rem] py-[0.5rem] align-top border-secondary;
576
+ }
576
577
 
577
- .asciidoc-body table tr th:last-child {
578
- @apply border-r-0;
579
- }
578
+ table tr th:last-child {
579
+ @apply border-r-0;
580
+ }
580
581
 
581
- /*
582
+ /*
582
583
  specificity to handle nested tables
583
584
  todo: check if it's needed in any of the other table styles
584
585
  */
585
- .asciidoc-body tbody > tr:last-child > td,
586
- .asciidoc-body tbody > tr:last-child > th {
587
- @apply border-b-0;
588
- }
586
+ tbody > tr:last-child > td,
587
+ tbody > tr:last-child > th {
588
+ @apply border-b-0;
589
+ }
589
590
 
590
- .asciidoc-body tbody tr td:last-child {
591
- @apply border-r-0;
592
- }
591
+ tbody tr td:last-child {
592
+ @apply border-r-0;
593
+ }
593
594
 
594
- .asciidoc-body table th {
595
- @apply text-left text-mono-xs text-secondary bg-raise;
596
- }
595
+ table th {
596
+ @apply text-left text-mono-xs text-secondary bg-raise;
597
+ }
597
598
 
598
- .asciidoc-body table th p {
599
- @apply text-mono-xs;
600
- }
599
+ table th p {
600
+ @apply text-mono-xs;
601
+ }
601
602
 
602
- .asciidoc-body table td {
603
- @apply py-[0.75rem];
604
- }
603
+ table td {
604
+ @apply py-[0.5rem];
605
+ }
605
606
 
606
- .asciidoc-body table pre {
607
- @apply border-0 p-0;
608
- }
607
+ table pre {
608
+ @apply border-0 p-0;
609
+ }
609
610
 
610
- .asciidoc-body table p {
611
- @apply m-0 p-0;
612
- }
611
+ table p {
612
+ @apply m-0 p-0;
613
+ }
613
614
 
614
- .asciidoc-body .colist table {
615
- @apply my-[1.5rem];
616
- }
615
+ .colist table {
616
+ @apply my-[1.5rem];
617
+ }
617
618
 
618
- .asciidoc-body .colist table td {
619
- @apply text-sans-md;
620
- }
619
+ .colist table td {
620
+ @apply text-sans-md;
621
+ }
621
622
 
622
- .asciidoc-body .colist table tr td:first-of-type {
623
- @apply w-[1%] whitespace-nowrap text-tertiary;
624
- }
623
+ .colist table tr td:first-of-type {
624
+ @apply w-[1%] whitespace-nowrap text-tertiary;
625
+ }
625
626
 
626
- .asciidoc-body .colist table b {
627
- @apply text-mono-sm;
628
- }
627
+ .colist table b {
628
+ @apply text-mono-sm;
629
+ }
629
630
 
630
- .asciidoc-body div.bibliography ~ h2 {
631
- @apply mt-12 800:mt-16;
632
- }
631
+ div.bibliography ~ h2 {
632
+ @apply mt-12 800:mt-16;
633
+ }
633
634
 
634
- .asciidoc-body .bibliography ul,
635
- .asciidoc-body .bibliography ol {
636
- @apply space-y-2;
637
- }
635
+ .bibliography ul,
636
+ .bibliography ol {
637
+ @apply space-y-2;
638
+ }
638
639
 
639
- .asciidoc-body mark {
640
- @apply rounded px-[2px] text-notice bg-notice-secondary;
641
- }
640
+ mark {
641
+ @apply rounded px-[2px] text-notice bg-notice-secondary;
642
+ }
642
643
 
643
- .asciidoc-body .steminline svg {
644
- @apply inline;
645
- }
644
+ .steminline svg {
645
+ @apply inline;
646
+ }
646
647
 
647
- .asciidoc-body hr {
648
- @apply my-3 border-default;
649
- }
648
+ hr {
649
+ @apply my-3 border-default;
650
+ }
651
+
652
+ .sidebarblock {
653
+ @apply bg-raise p-4 rounded-lg my-8 px-6 py-5;
654
+ }
650
655
 
651
- .asciidoc-body .sidebarblock {
652
- @apply bg-raise p-4 rounded-lg my-8 px-6 py-5;
656
+ .halign-left {
657
+ text-align: left;
658
+ }
659
+
660
+ .halign-right {
661
+ text-align: right;
662
+ }
663
+
664
+ .halign-center {
665
+ text-align: center;
666
+ }
667
+
668
+ .valign-top {
669
+ vertical-align: top;
670
+ }
671
+
672
+ .valign-bottom {
673
+ vertical-align: bottom;
674
+ }
675
+
676
+ .valign-middle {
677
+ vertical-align: middle;
678
+ }
679
+
680
+ .paragraph.lead p {
681
+ font-size: 1.25rem;
682
+ }
653
683
  }
654
684
 
655
685
  #footnotes p a {
@@ -668,7 +698,7 @@
668
698
  @apply ml-[1px] mr-[1px] rounded border px-[3px] align-[1px] border-secondary;
669
699
  }
670
700
 
671
- .asciidoc-body a:not(:is(h1, h2, h3, h4, h5, h6) a) {
701
+ a:not(:is(h1, h2, h3, h4, h5, h6) a) {
672
702
  text-decoration-color: rgba(var(--content-accent-tertiary-rgb), 0.8);
673
703
  @apply underline text-accent-secondary;
674
704
  }
@@ -748,7 +778,7 @@
748
778
  }
749
779
 
750
780
  h1 {
751
- font-size: 3rem !important;
781
+ font-size: 2.5rem !important;
752
782
  line-height: 1 !important;
753
783
  }
754
784
 
@@ -756,6 +786,10 @@
756
786
  max-width: 80vw;
757
787
  }
758
788
 
789
+ .asciidoc-body .paragraph {
790
+ max-width: 80vw;
791
+ }
792
+
759
793
  @page {
760
794
  margin-top: 2cm;
761
795
  margin-bottom: 2cm;
@@ -775,7 +809,9 @@
775
809
  --content-secondary-p3: var(--content-secondary);
776
810
  --content-tertiary: var(--content-secondary);
777
811
  --content-tertiary-p3: var(--content-secondary);
778
- --surface-raise: rgb(0, 0, 0, 0.025);
812
+ --content-raise: var(--content-default);
813
+ --content-raise-p3: var(--content-default);
814
+ --surface-raise: rgb(0, 0, 0, 0.1);
779
815
  --surface-raise-p3: var(--surface-raise);
780
816
  --surface-inverse: var(--surface-raise);
781
817
  --surface-inverse-p3: var(--surface-raise);
@@ -783,21 +819,31 @@
783
819
  --stroke-default-p3: var(--content-secondary);
784
820
  }
785
821
 
786
- .asciidoc-body p a {
822
+ p a {
787
823
  text-decoration-color: black !important;
788
824
  }
789
825
 
790
- .asciidoc-body p {
826
+ p {
791
827
  color: black !important;
792
828
  }
793
829
 
794
- .asciidoc-body .imageblock img {
830
+ .imageblock img {
795
831
  border: 0;
796
832
  }
797
833
 
798
- .asciidoc-body .admonitionblock {
834
+ .admonitionblock {
799
835
  color: var(--content-raise) !important;
800
836
  background-color: var(--surface-raise) !important;
801
837
  }
838
+
839
+ .asciidoc-body {
840
+ h1[data-sectnum]::before,
841
+ h2[data-sectnum]::before,
842
+ h3[data-sectnum]::before,
843
+ h4[data-sectnum]::before,
844
+ h5[data-sectnum]::before {
845
+ @apply hidden;
846
+ }
847
+ }
802
848
  }
803
849
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxide/design-system",
3
- "version": "2.1.0",
3
+ "version": "2.1.1--canary.05565c6.0",
4
4
  "description": "Home of reusable design assets and token for oxide internal sites",
5
5
  "type": "module",
6
6
  "sideEffects": false,