@nyxwire/css 0.0.0-stage → 0.1.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.
Files changed (134) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +133 -2
  3. package/dist/base.css +850 -0
  4. package/dist/components.css +10508 -0
  5. package/dist/docs/components/accordion.md +83 -0
  6. package/dist/docs/components/alert.md +52 -0
  7. package/dist/docs/components/avatar.md +55 -0
  8. package/dist/docs/components/badge.md +64 -0
  9. package/dist/docs/components/breadcrumbs.md +64 -0
  10. package/dist/docs/components/button.md +197 -0
  11. package/dist/docs/components/card.md +103 -0
  12. package/dist/docs/components/checkbox.md +45 -0
  13. package/dist/docs/components/chip.md +30 -0
  14. package/dist/docs/components/cluster.md +33 -0
  15. package/dist/docs/components/code.md +65 -0
  16. package/dist/docs/components/container.md +24 -0
  17. package/dist/docs/components/dialog.md +199 -0
  18. package/dist/docs/components/divider.md +31 -0
  19. package/dist/docs/components/dl.md +24 -0
  20. package/dist/docs/components/effect-utilities.md +82 -0
  21. package/dist/docs/components/empty.md +40 -0
  22. package/dist/docs/components/frame.md +27 -0
  23. package/dist/docs/components/grid.md +31 -0
  24. package/dist/docs/components/hud.md +75 -0
  25. package/dist/docs/components/input-group.md +28 -0
  26. package/dist/docs/components/input.md +52 -0
  27. package/dist/docs/components/kbd.md +42 -0
  28. package/dist/docs/components/label-and-field.md +31 -0
  29. package/dist/docs/components/link.md +41 -0
  30. package/dist/docs/components/list.md +67 -0
  31. package/dist/docs/components/menu.md +85 -0
  32. package/dist/docs/components/meter.md +77 -0
  33. package/dist/docs/components/navbar.md +66 -0
  34. package/dist/docs/components/pagination.md +64 -0
  35. package/dist/docs/components/popover.md +59 -0
  36. package/dist/docs/components/progress.md +32 -0
  37. package/dist/docs/components/prose.md +29 -0
  38. package/dist/docs/components/select.md +51 -0
  39. package/dist/docs/components/sidebar.md +35 -0
  40. package/dist/docs/components/sidenav.md +45 -0
  41. package/dist/docs/components/skeleton.md +36 -0
  42. package/dist/docs/components/slider.md +32 -0
  43. package/dist/docs/components/spinner.md +30 -0
  44. package/dist/docs/components/stack.md +26 -0
  45. package/dist/docs/components/steps.md +49 -0
  46. package/dist/docs/components/switch.md +19 -0
  47. package/dist/docs/components/table.md +83 -0
  48. package/dist/docs/components/tabs.md +207 -0
  49. package/dist/docs/components/textarea.md +13 -0
  50. package/dist/docs/components/toast.md +86 -0
  51. package/dist/docs/components/tooltip.md +39 -0
  52. package/dist/docs/components/typography-classes.md +38 -0
  53. package/dist/docs/families/data-display.md +15 -0
  54. package/dist/docs/families/feedback.md +13 -0
  55. package/dist/docs/families/forms.md +141 -0
  56. package/dist/docs/families/layout-typography.md +17 -0
  57. package/dist/docs/families/navigation.md +13 -0
  58. package/dist/docs/families/overlays.md +13 -0
  59. package/dist/docs/families/surfaces.md +11 -0
  60. package/dist/docs/foundations/accessibility.md +71 -0
  61. package/dist/docs/foundations/color-roles.md +114 -0
  62. package/dist/docs/foundations/effects-motion.md +150 -0
  63. package/dist/docs/foundations/flavors.md +156 -0
  64. package/dist/docs/foundations/icons.md +45 -0
  65. package/dist/docs/foundations/palette.md +180 -0
  66. package/dist/docs/foundations/spacing-elevation.md +168 -0
  67. package/dist/docs/foundations/typography.md +80 -0
  68. package/dist/docs/index.md +233 -0
  69. package/dist/docs/manifest.json +859 -0
  70. package/dist/fonts/inter-OFL.txt +93 -0
  71. package/dist/fonts/inter-latin-ext-wght-italic.woff2 +0 -0
  72. package/dist/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
  73. package/dist/fonts/inter-latin-wght-italic.woff2 +0 -0
  74. package/dist/fonts/inter-latin-wght-normal.woff2 +0 -0
  75. package/dist/fonts/martian-mono-OFL.txt +93 -0
  76. package/dist/fonts/martian-mono-latin-ext-wdth-normal.woff2 +0 -0
  77. package/dist/fonts/martian-mono-latin-wdth-normal.woff2 +0 -0
  78. package/dist/fonts/space-grotesk-OFL.txt +93 -0
  79. package/dist/fonts/space-grotesk-latin-ext-wght-normal.woff2 +0 -0
  80. package/dist/fonts/space-grotesk-latin-wght-normal.woff2 +0 -0
  81. package/dist/fonts.css +73 -0
  82. package/dist/nyxwire.css +12183 -0
  83. package/dist/tokens.css +579 -0
  84. package/dist/utilities.css +176 -0
  85. package/nyxwire.d.ts +2 -0
  86. package/package.json +66 -3
  87. package/skills/nyxwire/SKILL.md +63 -0
  88. package/src/base.css +158 -0
  89. package/src/components/accordion.css +280 -0
  90. package/src/components/alert.css +176 -0
  91. package/src/components/avatar.css +262 -0
  92. package/src/components/badge.css +193 -0
  93. package/src/components/breadcrumbs.css +209 -0
  94. package/src/components/btn.css +517 -0
  95. package/src/components/card.css +327 -0
  96. package/src/components/checkbox.css +202 -0
  97. package/src/components/chip.css +345 -0
  98. package/src/components/code.css +340 -0
  99. package/src/components/dialog.css +411 -0
  100. package/src/components/divider.css +201 -0
  101. package/src/components/empty.css +216 -0
  102. package/src/components/field.css +161 -0
  103. package/src/components/hud.css +212 -0
  104. package/src/components/index.css +50 -0
  105. package/src/components/input.css +383 -0
  106. package/src/components/kbd.css +197 -0
  107. package/src/components/layout.css +344 -0
  108. package/src/components/link.css +178 -0
  109. package/src/components/list.css +353 -0
  110. package/src/components/menu.css +347 -0
  111. package/src/components/meter.css +238 -0
  112. package/src/components/navbar.css +309 -0
  113. package/src/components/pagination.css +302 -0
  114. package/src/components/popover.css +352 -0
  115. package/src/components/progress.css +241 -0
  116. package/src/components/select.css +121 -0
  117. package/src/components/sidenav.css +326 -0
  118. package/src/components/skeleton.css +193 -0
  119. package/src/components/slider.css +201 -0
  120. package/src/components/spinner.css +200 -0
  121. package/src/components/stat.css +263 -0
  122. package/src/components/steps.css +311 -0
  123. package/src/components/switch.css +183 -0
  124. package/src/components/table.css +290 -0
  125. package/src/components/tabs.css +271 -0
  126. package/src/components/toast.css +413 -0
  127. package/src/components/tooltip.css +288 -0
  128. package/src/fonts.css +92 -0
  129. package/src/index.css +6 -0
  130. package/src/motion.css +177 -0
  131. package/src/semantic.css +85 -0
  132. package/src/tokens.css +276 -0
  133. package/src/typography.css +430 -0
  134. package/src/utilities.css +198 -0
package/dist/base.css ADDED
@@ -0,0 +1,850 @@
1
+ @layer theme, base, components, utilities;
2
+ @layer base {
3
+ @keyframes nw-spin {
4
+ to {
5
+ transform: rotate(360deg);
6
+ }
7
+ }
8
+
9
+ @keyframes nw-pulse {
10
+ 50% {
11
+ opacity: .4;
12
+ }
13
+ }
14
+
15
+ @keyframes nw-glow-pulse {
16
+ 0%, 100% {
17
+ box-shadow: var(--nw-glow-sm);
18
+ }
19
+
20
+ 50% {
21
+ box-shadow: var(--nw-glow-lg);
22
+ }
23
+ }
24
+
25
+ @keyframes nw-shimmer {
26
+ from {
27
+ background-position: 200% 0;
28
+ }
29
+
30
+ to {
31
+ background-position: -200% 0;
32
+ }
33
+ }
34
+
35
+ @keyframes nw-fade-in {
36
+ from {
37
+ opacity: 0;
38
+ }
39
+ }
40
+
41
+ @keyframes nw-fade-out {
42
+ to {
43
+ opacity: 0;
44
+ }
45
+ }
46
+
47
+ @keyframes nw-zoom-in {
48
+ from {
49
+ opacity: 0;
50
+ transform: scale(.96);
51
+ }
52
+ }
53
+
54
+ @keyframes nw-zoom-out {
55
+ to {
56
+ opacity: 0;
57
+ transform: scale(.96);
58
+ }
59
+ }
60
+
61
+ @keyframes nw-slide-in-from-top {
62
+ from {
63
+ opacity: 0;
64
+ transform: translateY(calc(-1 * var(--nw-slide-distance, .5rem)));
65
+ }
66
+ }
67
+
68
+ @keyframes nw-slide-in-from-bottom {
69
+ from {
70
+ opacity: 0;
71
+ transform: translateY(var(--nw-slide-distance, .5rem));
72
+ }
73
+ }
74
+
75
+ @keyframes nw-slide-in-from-left {
76
+ from {
77
+ opacity: 0;
78
+ transform: translateX(calc(-1 * var(--nw-slide-distance, .5rem)));
79
+ }
80
+ }
81
+
82
+ @keyframes nw-slide-in-from-right {
83
+ from {
84
+ opacity: 0;
85
+ transform: translateX(var(--nw-slide-distance, .5rem));
86
+ }
87
+ }
88
+
89
+ @keyframes nw-slide-out-to-top {
90
+ to {
91
+ opacity: 0;
92
+ transform: translateY(calc(-1 * var(--nw-slide-distance, .5rem)));
93
+ }
94
+ }
95
+
96
+ @keyframes nw-slide-out-to-bottom {
97
+ to {
98
+ opacity: 0;
99
+ transform: translateY(var(--nw-slide-distance, .5rem));
100
+ }
101
+ }
102
+
103
+ @keyframes nw-slide-out-to-left {
104
+ to {
105
+ opacity: 0;
106
+ transform: translateX(calc(-1 * var(--nw-slide-distance, .5rem)));
107
+ }
108
+ }
109
+
110
+ @keyframes nw-slide-out-to-right {
111
+ to {
112
+ opacity: 0;
113
+ transform: translateX(var(--nw-slide-distance, .5rem));
114
+ }
115
+ }
116
+
117
+ @keyframes nw-glitch {
118
+ 0% {
119
+ text-shadow: -.06em 0 var(--nw-secondary),
120
+ .06em 0 var(--nw-tertiary);
121
+ transform: translate(.03em, -.02em);
122
+ }
123
+
124
+ 15% {
125
+ text-shadow: .09em 0 var(--nw-secondary),
126
+ -.09em 0 var(--nw-tertiary);
127
+ clip-path: inset(8% 0 54%);
128
+ transform: translate(-.05em, .02em) skewX(-8deg);
129
+ }
130
+
131
+ 30% {
132
+ text-shadow: -.05em 0 var(--nw-secondary),
133
+ .05em 0 var(--nw-tertiary);
134
+ clip-path: inset(0);
135
+ transform: translate(.04em);
136
+ }
137
+
138
+ 45% {
139
+ text-shadow: .07em 0 var(--nw-secondary),
140
+ -.07em 0 var(--nw-tertiary);
141
+ clip-path: inset(58% 0 6%);
142
+ transform: translate(-.02em, -.02em) skewX(6deg);
143
+ }
144
+
145
+ 60% {
146
+ text-shadow: -.04em 0 var(--nw-secondary),
147
+ .04em 0 var(--nw-tertiary);
148
+ clip-path: inset(0);
149
+ transform: translate(.02em, .01em);
150
+ }
151
+
152
+ 80% {
153
+ text-shadow: .02em 0 var(--nw-secondary),
154
+ -.02em 0 var(--nw-tertiary);
155
+ transform: translate(-.01em);
156
+ }
157
+
158
+ 100% {
159
+ transform: none;
160
+ }
161
+ }
162
+
163
+ @media (prefers-reduced-motion: reduce) {
164
+ :root {
165
+ --nw-duration-instant: .01ms;
166
+ --nw-duration-fast: .01ms;
167
+ --nw-duration-base: .01ms;
168
+ --nw-duration-slow: .01ms;
169
+ --nw-duration-slower: .01ms;
170
+ }
171
+
172
+ :where(:not(.nw-motion-essential)), :where(:not(.nw-motion-essential)):before, :where(:not(.nw-motion-essential)):after {
173
+ scroll-behavior: auto !important;
174
+ transition-duration: .01ms !important;
175
+ animation-duration: .01ms !important;
176
+ animation-iteration-count: 1 !important;
177
+ }
178
+ }
179
+
180
+ :where(h1, h2, h3, h4, h5, h6), .nw-display, .nw-h1, .nw-h2, .nw-h3, .nw-h4, .nw-h5, .nw-h6 {
181
+ font-family: var(--nw-font-display);
182
+ font-weight: 600;
183
+ line-height: var(--nw-leading-snug);
184
+ letter-spacing: var(--nw-tracking-tight);
185
+ text-wrap: balance;
186
+ }
187
+
188
+ .nw-display {
189
+ font-size: clamp(var(--nw-text-5xl), 2rem + 5vw, var(--nw-text-7xl));
190
+ font-weight: 700;
191
+ line-height: var(--nw-leading-none);
192
+ letter-spacing: var(--nw-tracking-tighter);
193
+ }
194
+
195
+ :where(h1), .nw-h1 {
196
+ font-size: var(--nw-text-4xl);
197
+ font-weight: 700;
198
+ line-height: var(--nw-leading-tight);
199
+ letter-spacing: var(--nw-tracking-tighter);
200
+ }
201
+
202
+ :where(h2), .nw-h2 {
203
+ font-size: var(--nw-text-3xl);
204
+ font-weight: 700;
205
+ line-height: var(--nw-leading-tight);
206
+ }
207
+
208
+ :where(h3), .nw-h3 {
209
+ font-size: var(--nw-text-2xl);
210
+ }
211
+
212
+ :where(h4), .nw-h4 {
213
+ font-size: var(--nw-text-xl);
214
+ }
215
+
216
+ :where(h5), .nw-h5 {
217
+ font-size: var(--nw-text-lg);
218
+ }
219
+
220
+ :where(h6), .nw-h6 {
221
+ font-size: var(--nw-text-base);
222
+ }
223
+
224
+ .nw-lead {
225
+ font-size: var(--nw-text-xl);
226
+ line-height: var(--nw-leading-normal);
227
+ color: var(--nw-fg-muted);
228
+ text-wrap: pretty;
229
+ }
230
+
231
+ .nw-eyebrow {
232
+ font-family: var(--nw-font-mono);
233
+ font-size: var(--nw-text-2xs);
234
+ font-weight: 500;
235
+ line-height: var(--nw-leading-snug);
236
+ letter-spacing: var(--nw-tracking-widest);
237
+ text-transform: uppercase;
238
+ color: var(--nw-primary);
239
+ }
240
+
241
+ .nw-mono {
242
+ font-family: var(--nw-font-mono);
243
+ }
244
+
245
+ .nw-prose {
246
+ --_prose-measure: 68ch;
247
+ --_prose-size: var(--nw-text-base);
248
+ max-inline-size: var(--_prose-measure);
249
+ font-family: var(--nw-font-sans);
250
+ font-size: var(--_prose-size);
251
+ line-height: var(--nw-leading-relaxed);
252
+ color: var(--nw-fg-muted);
253
+ overflow-wrap: anywhere;
254
+ text-wrap: pretty;
255
+ }
256
+
257
+ .nw-prose-sm {
258
+ --_prose-size: var(--nw-text-sm);
259
+ }
260
+
261
+ .nw-prose-lg {
262
+ --_prose-size: var(--nw-text-lg);
263
+ }
264
+
265
+ .nw-prose-wide {
266
+ --_prose-measure: none;
267
+ }
268
+
269
+ .nw-prose > :where(* + *) {
270
+ margin-block-start: var(--nw-space-5);
271
+ }
272
+
273
+ .nw-prose :where(h1, h2, h3, h4, h5, h6) {
274
+ color: var(--nw-fg);
275
+ scroll-margin-block-start: var(--nw-space-20);
276
+ }
277
+
278
+ :where(.nw-prose) :where(h1) {
279
+ font-size: 2.5em;
280
+ }
281
+
282
+ :where(.nw-prose) :where(h2) {
283
+ border-block-end: 1px solid var(--nw-line);
284
+ padding-block-end: var(--nw-space-2);
285
+ font-size: 2em;
286
+ }
287
+
288
+ :where(.nw-prose) :where(h3) {
289
+ font-size: 1.6em;
290
+ }
291
+
292
+ :where(.nw-prose) :where(h4) {
293
+ font-size: 1.28em;
294
+ }
295
+
296
+ :where(.nw-prose) :where(h5) {
297
+ font-size: 1.125em;
298
+ }
299
+
300
+ :where(.nw-prose) :where(h6) {
301
+ letter-spacing: var(--nw-tracking-wide);
302
+ text-transform: uppercase;
303
+ font-size: 1em;
304
+ }
305
+
306
+ .nw-prose :where(h1 code, h2 code, h3 code) {
307
+ font-size: .8em;
308
+ }
309
+
310
+ .nw-prose > :where(* + :is(h1, h2, h3, h4, h5, h6)) {
311
+ margin-block-start: var(--nw-space-10);
312
+ }
313
+
314
+ .nw-prose > :where(:is(h1, h2, h3, h4, h5, h6) + *) {
315
+ margin-block-start: var(--nw-space-3);
316
+ }
317
+
318
+ .nw-prose :where(strong, b, dt) {
319
+ color: var(--nw-fg);
320
+ }
321
+
322
+ .nw-prose :where(.nw-lead) {
323
+ font-size: 1.25em;
324
+ }
325
+
326
+ .nw-prose :where(a:focus-visible) {
327
+ border-radius: var(--nw-radius-xs);
328
+ }
329
+
330
+ .nw-prose :where(small) {
331
+ color: var(--nw-fg-subtle);
332
+ font-size: .875em;
333
+ }
334
+
335
+ .nw-prose :where(abbr[title]) {
336
+ text-underline-offset: .2em;
337
+ cursor: help;
338
+ }
339
+
340
+ .nw-prose :where(del, s) {
341
+ -webkit-text-decoration-color: var(--nw-danger);
342
+ text-decoration-color: var(--nw-danger);
343
+ }
344
+
345
+ .nw-prose :where(ins) {
346
+ -webkit-text-decoration-color: var(--nw-success);
347
+ text-decoration-color: var(--nw-success);
348
+ }
349
+
350
+ .nw-prose :where(code, kbd, samp) {
351
+ font-variant-ligatures: none;
352
+ }
353
+
354
+ .nw-prose :where(ul, ol) {
355
+ padding-inline-start: var(--nw-space-6);
356
+ }
357
+
358
+ .nw-prose :where(ul) {
359
+ list-style: outside;
360
+ }
361
+
362
+ .nw-prose :where(ul ul) {
363
+ list-style: circle;
364
+ }
365
+
366
+ .nw-prose :where(ol) {
367
+ list-style: decimal;
368
+ }
369
+
370
+ .nw-prose :where(li) {
371
+ padding-inline-start: var(--nw-space-1);
372
+ }
373
+
374
+ .nw-prose :where(li + li, li > ul, li > ol) {
375
+ margin-block-start: var(--nw-space-2);
376
+ }
377
+
378
+ .nw-prose :where(li)::marker {
379
+ color: var(--nw-primary);
380
+ font-family: var(--nw-font-mono);
381
+ font-size: var(--nw-text-xs);
382
+ }
383
+
384
+ .nw-prose :where(li > p + p) {
385
+ margin-block-start: var(--nw-space-2);
386
+ }
387
+
388
+ .nw-prose :where(ul.contains-task-list, ul:has( > li > input[type="checkbox"])) {
389
+ padding-inline-start: var(--nw-space-1);
390
+ }
391
+
392
+ .nw-prose :where(li:has( > input[type="checkbox"])) {
393
+ list-style: none;
394
+ }
395
+
396
+ .nw-prose :where(dd) {
397
+ margin-block-start: var(--nw-space-1);
398
+ margin-inline-start: var(--nw-space-6);
399
+ }
400
+
401
+ .nw-prose :where(dd + dt) {
402
+ margin-block-start: var(--nw-space-4);
403
+ }
404
+
405
+ .nw-prose :where(blockquote) {
406
+ border-inline-start: 1px solid var(--nw-line-strong);
407
+ font-size: var(--nw-text-lg);
408
+ color: var(--nw-fg);
409
+ padding-inline-start: var(--nw-space-5);
410
+ font-style: italic;
411
+ }
412
+
413
+ .nw-prose :where(blockquote p:first-of-type):before {
414
+ content: open-quote;
415
+ }
416
+
417
+ .nw-prose :where(blockquote p:last-of-type):after {
418
+ content: close-quote;
419
+ }
420
+
421
+ .nw-prose :where(blockquote cite, blockquote footer) {
422
+ font-size: var(--nw-text-xs);
423
+ color: var(--nw-fg-subtle);
424
+ margin-block-start: var(--nw-space-2);
425
+ font-style: normal;
426
+ display: block;
427
+ }
428
+
429
+ .nw-prose :where(:not(pre) > code, kbd) {
430
+ padding: var(--nw-space-0-5) var(--nw-space-1-5);
431
+ border: 1px solid var(--nw-line);
432
+ border-radius: var(--nw-radius-sm);
433
+ color: var(--nw-fg);
434
+ background-color: var(--nw-panel);
435
+ }
436
+
437
+ .nw-prose :where(a code) {
438
+ color: inherit;
439
+ }
440
+
441
+ .nw-prose :where(kbd) {
442
+ border-block-end-width: 2px;
443
+ border-color: var(--nw-line-strong);
444
+ text-align: center;
445
+ min-inline-size: 1.6em;
446
+ display: inline-block;
447
+ }
448
+
449
+ .nw-prose :where(pre) {
450
+ padding: var(--nw-space-4) var(--nw-space-5);
451
+ border: 1px solid var(--nw-line);
452
+ border-radius: var(--nw-radius-md);
453
+ font-size: var(--nw-text-sm);
454
+ line-height: var(--nw-leading-normal);
455
+ color: var(--nw-fg);
456
+ background-color: var(--nw-canvas-sunken);
457
+ scrollbar-width: thin;
458
+ scrollbar-color: var(--nw-line-strong) transparent;
459
+ overflow-x: auto;
460
+ }
461
+
462
+ .nw-prose :where(pre code) {
463
+ font-size: inherit;
464
+ }
465
+
466
+ .nw-prose :where(hr) {
467
+ block-size: 1px;
468
+ margin-block: var(--nw-space-10);
469
+ background-image: var(--nw-gradient-wire);
470
+ border: 0;
471
+ }
472
+
473
+ .nw-prose :where(img, video) {
474
+ border: 1px solid var(--nw-line);
475
+ border-radius: var(--nw-radius-md);
476
+ }
477
+
478
+ .nw-prose :where(figure > :is(svg, canvas, iframe)) {
479
+ max-inline-size: 100%;
480
+ display: block;
481
+ }
482
+
483
+ .nw-prose :where(figure > svg) {
484
+ block-size: auto;
485
+ }
486
+
487
+ .nw-prose :where(figcaption) {
488
+ font-size: var(--nw-text-sm);
489
+ color: var(--nw-fg-subtle);
490
+ text-align: center;
491
+ margin-block-start: var(--nw-space-2);
492
+ }
493
+
494
+ .nw-prose :where(.nw-prose-scroll) {
495
+ scrollbar-width: thin;
496
+ scrollbar-color: var(--nw-line-strong) transparent;
497
+ max-inline-size: 100%;
498
+ overflow-x: auto;
499
+ }
500
+
501
+ .nw-prose :where(table) {
502
+ inline-size: 100%;
503
+ font-size: var(--nw-text-sm);
504
+ line-height: var(--nw-leading-snug);
505
+ }
506
+
507
+ .nw-prose :where(th, td) {
508
+ padding: var(--nw-space-2) var(--nw-space-3);
509
+ border-block-end: 1px solid var(--nw-line);
510
+ text-align: start;
511
+ }
512
+
513
+ .nw-prose :where(th) {
514
+ color: var(--nw-fg);
515
+ font-weight: 600;
516
+ }
517
+
518
+ .nw-prose :where(thead th) {
519
+ border-block-end-color: var(--nw-line-strong);
520
+ font-size: var(--nw-text-xs);
521
+ letter-spacing: var(--nw-tracking-wide);
522
+ text-transform: uppercase;
523
+ vertical-align: bottom;
524
+ }
525
+
526
+ .nw-prose :where(tbody td, tbody th) {
527
+ vertical-align: top;
528
+ }
529
+
530
+ .nw-prose :where(tbody tr:hover) {
531
+ background-color: var(--nw-panel-hover);
532
+ }
533
+
534
+ .nw-prose :where(tfoot td, tfoot th) {
535
+ border-block-start: 1px solid var(--nw-line-strong);
536
+ font-weight: 600;
537
+ }
538
+
539
+ .nw-prose :where(caption) {
540
+ padding-block: var(--nw-space-2);
541
+ caption-side: bottom;
542
+ font-size: var(--nw-text-xs);
543
+ color: var(--nw-fg-subtle);
544
+ text-align: start;
545
+ }
546
+
547
+ .nw-prose :where(details) {
548
+ padding: var(--nw-space-3) var(--nw-space-4);
549
+ border: 1px solid var(--nw-line);
550
+ border-radius: var(--nw-radius-md);
551
+ background-color: var(--nw-panel);
552
+ }
553
+
554
+ .nw-prose :where(summary) {
555
+ min-block-size: var(--nw-space-6);
556
+ color: var(--nw-fg);
557
+ cursor: pointer;
558
+ font-weight: 600;
559
+ }
560
+
561
+ .nw-prose :where(details[open] > summary) {
562
+ margin-block-end: var(--nw-space-3);
563
+ }
564
+
565
+ .nw-prose :where(summary ~ * + *) {
566
+ margin-block-start: var(--nw-space-3);
567
+ }
568
+
569
+ @media (forced-colors: active) {
570
+ .nw-prose :where(hr) {
571
+ background: canvastext;
572
+ }
573
+ }
574
+
575
+ *, :before, :after {
576
+ box-sizing: border-box;
577
+ }
578
+
579
+ :where(html) {
580
+ font-family: var(--nw-font-sans);
581
+ line-height: var(--nw-leading-normal);
582
+ -webkit-text-size-adjust: 100%;
583
+ -moz-text-size-adjust: 100%;
584
+ text-size-adjust: 100%;
585
+ -webkit-font-smoothing: antialiased;
586
+ -moz-osx-font-smoothing: grayscale;
587
+ text-rendering: optimizelegibility;
588
+ tab-size: 2;
589
+ -webkit-tap-highlight-color: transparent;
590
+ }
591
+
592
+ :where(html, [data-flavor]) {
593
+ color: var(--nw-fg);
594
+ background-color: var(--nw-canvas);
595
+ scrollbar-color: var(--nw-line-strong) transparent;
596
+ }
597
+
598
+ :where(html, [data-flavor], [data-accent]) {
599
+ accent-color: var(--nw-primary);
600
+ caret-color: var(--nw-primary);
601
+ }
602
+
603
+ :where(body) {
604
+ min-block-size: 100dvh;
605
+ margin: 0;
606
+ }
607
+
608
+ :where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, pre, hr) {
609
+ margin: 0;
610
+ }
611
+
612
+ :where(ul, ol, menu) {
613
+ margin: 0;
614
+ padding: 0;
615
+ list-style: none;
616
+ }
617
+
618
+ :where(p, li, dd, figcaption) {
619
+ text-wrap: pretty;
620
+ }
621
+
622
+ :where(img, picture, video, canvas) {
623
+ max-inline-size: 100%;
624
+ display: block;
625
+ }
626
+
627
+ :where(img, video) {
628
+ block-size: auto;
629
+ }
630
+
631
+ :where(iframe) {
632
+ border: 0;
633
+ }
634
+
635
+ :where(button, input, select, textarea, optgroup) {
636
+ font: inherit;
637
+ letter-spacing: inherit;
638
+ color: inherit;
639
+ margin: 0;
640
+ }
641
+
642
+ :where(button, [type="button"], [type="submit"], [type="reset"], [role="button"], summary) {
643
+ cursor: pointer;
644
+ }
645
+
646
+ :where(:disabled, [aria-disabled="true"]) {
647
+ cursor: not-allowed;
648
+ }
649
+
650
+ :where(textarea) {
651
+ resize: vertical;
652
+ }
653
+
654
+ :where(input, textarea)::placeholder {
655
+ color: var(--nw-fg-faint);
656
+ opacity: 1;
657
+ }
658
+
659
+ :where(fieldset) {
660
+ border: 0;
661
+ min-inline-size: 0;
662
+ margin: 0;
663
+ padding: 0;
664
+ }
665
+
666
+ :where(legend) {
667
+ padding: 0;
668
+ }
669
+
670
+ :where(table) {
671
+ border-collapse: collapse;
672
+ border-spacing: 0;
673
+ }
674
+
675
+ :where([hidden]:not([hidden="until-found"])) {
676
+ display: none !important;
677
+ }
678
+
679
+ ::selection {
680
+ background-color: var(--nw-selection);
681
+ }
682
+
683
+ :where(:focus-visible) {
684
+ outline: var(--nw-ring-width) solid var(--nw-ring);
685
+ outline-offset: var(--nw-ring-offset);
686
+ }
687
+
688
+ :where(a) {
689
+ color: var(--nw-link);
690
+ text-decoration-line: underline;
691
+ text-decoration-thickness: 1px;
692
+ -webkit-text-decoration-color: color-mix(in oklab, currentColor 40%, transparent);
693
+ text-decoration-color: color-mix(in oklab, currentColor 40%, transparent);
694
+ text-underline-offset: .2em;
695
+ transition: text-decoration-color var(--nw-duration-fast) var(--nw-ease-standard);
696
+ }
697
+
698
+ :where(a):hover {
699
+ text-decoration-color: currentColor;
700
+ }
701
+
702
+ :where(b, strong) {
703
+ font-weight: 600;
704
+ }
705
+
706
+ :where(code, kbd, samp, pre) {
707
+ font-family: var(--nw-font-mono);
708
+ font-size: .875em;
709
+ }
710
+
711
+ :where(pre) {
712
+ overflow: auto;
713
+ }
714
+
715
+ :where(abbr[title]) {
716
+ -webkit-text-decoration: underline dotted;
717
+ text-decoration: underline dotted;
718
+ -webkit-text-decoration-color: var(--nw-line-bright);
719
+ text-decoration-color: var(--nw-line-bright);
720
+ }
721
+
722
+ :where(mark) {
723
+ padding-inline: var(--nw-space-0-5);
724
+ border-radius: var(--nw-radius-xs);
725
+ color: inherit;
726
+ background-color: color-mix(in oklab, var(--nw-warning) 30%, transparent);
727
+ }
728
+
729
+ :where(hr) {
730
+ border: 0;
731
+ border-block-start: 1px solid var(--nw-line);
732
+ block-size: 0;
733
+ }
734
+
735
+ :where(sub, sup) {
736
+ vertical-align: baseline;
737
+ font-size: .75em;
738
+ line-height: 0;
739
+ position: relative;
740
+ }
741
+
742
+ :where(sub) {
743
+ inset-block-end: -.25em;
744
+ }
745
+
746
+ :where(sup) {
747
+ inset-block-start: -.5em;
748
+ }
749
+ }
750
+
751
+ @layer utilities {
752
+ .nw-text-2xs {
753
+ font-size: var(--nw-text-2xs);
754
+ }
755
+
756
+ .nw-text-xs {
757
+ font-size: var(--nw-text-xs);
758
+ }
759
+
760
+ .nw-text-sm {
761
+ font-size: var(--nw-text-sm);
762
+ }
763
+
764
+ .nw-text-base {
765
+ font-size: var(--nw-text-base);
766
+ }
767
+
768
+ .nw-text-lg {
769
+ font-size: var(--nw-text-lg);
770
+ }
771
+
772
+ .nw-text-xl {
773
+ font-size: var(--nw-text-xl);
774
+ line-height: var(--nw-leading-snug);
775
+ }
776
+
777
+ .nw-text-2xl {
778
+ font-size: var(--nw-text-2xl);
779
+ line-height: var(--nw-leading-snug);
780
+ }
781
+
782
+ .nw-text-3xl {
783
+ font-size: var(--nw-text-3xl);
784
+ line-height: var(--nw-leading-tight);
785
+ }
786
+
787
+ .nw-text-4xl {
788
+ font-size: var(--nw-text-4xl);
789
+ line-height: var(--nw-leading-tight);
790
+ }
791
+
792
+ .nw-text-5xl {
793
+ font-size: var(--nw-text-5xl);
794
+ line-height: var(--nw-leading-tight);
795
+ }
796
+
797
+ .nw-text-6xl {
798
+ font-size: var(--nw-text-6xl);
799
+ line-height: var(--nw-leading-tight);
800
+ }
801
+
802
+ .nw-text-7xl {
803
+ font-size: var(--nw-text-7xl);
804
+ line-height: var(--nw-leading-tight);
805
+ }
806
+
807
+ .nw-text-muted {
808
+ color: var(--nw-fg-muted);
809
+ }
810
+
811
+ .nw-text-subtle {
812
+ color: var(--nw-fg-subtle);
813
+ }
814
+
815
+ .nw-text-faint {
816
+ color: var(--nw-fg-faint);
817
+ }
818
+
819
+ .nw-text-disabled {
820
+ color: var(--nw-fg-disabled);
821
+ }
822
+
823
+ .nw-text-primary {
824
+ color: var(--nw-primary);
825
+ }
826
+
827
+ .nw-text-secondary {
828
+ color: var(--nw-secondary);
829
+ }
830
+
831
+ .nw-text-tertiary {
832
+ color: var(--nw-tertiary);
833
+ }
834
+
835
+ .nw-text-info {
836
+ color: var(--nw-info);
837
+ }
838
+
839
+ .nw-text-success {
840
+ color: var(--nw-success);
841
+ }
842
+
843
+ .nw-text-warning {
844
+ color: var(--nw-warning);
845
+ }
846
+
847
+ .nw-text-danger {
848
+ color: var(--nw-danger);
849
+ }
850
+ }