@jaamd/jaad 0.0.0-stage → 1.0.0-rc.1

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 (117) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +58 -2
  3. package/dist/jaad.css +1331 -0
  4. package/docs/00-overview.md +25 -0
  5. package/docs/01-getting-started/01-installation.md +216 -0
  6. package/docs/01-getting-started/02-pages.md +109 -0
  7. package/docs/01-getting-started/03-deployment.md +100 -0
  8. package/docs/02-configurations/01-reference.md +215 -0
  9. package/docs/02-configurations/02-frontmatter.md +105 -0
  10. package/docs/02-configurations/03-i18n.md +210 -0
  11. package/docs/02-configurations/04-search.md +58 -0
  12. package/docs/02-configurations/05-themes.md +104 -0
  13. package/docs/02-configurations/06-styles.md +156 -0
  14. package/docs/02-configurations/07-custom-pages.md +119 -0
  15. package/docs/02-configurations/08-advanced-layout.md +139 -0
  16. package/docs/03-upgrading.md +208 -0
  17. package/index.ts +31 -0
  18. package/package.json +71 -3
  19. package/site.ts +36 -0
  20. package/src/config.ts +85 -0
  21. package/src/docs/advanced.ts +23 -0
  22. package/src/docs/collection.ts +109 -0
  23. package/src/docs/components/Breadcrumbs.astro +29 -0
  24. package/src/docs/components/DocsMobileNav.astro +90 -0
  25. package/src/docs/components/DocsNavTree.astro +57 -0
  26. package/src/docs/components/DocsPage.astro +66 -0
  27. package/src/docs/components/DocsPageNav.astro +53 -0
  28. package/src/docs/components/DocsSidebarLeft.astro +53 -0
  29. package/src/docs/components/PageActions.astro +83 -0
  30. package/src/docs/components/StructuredData.astro +55 -0
  31. package/src/docs/components/TableOfContents.astro +71 -0
  32. package/src/docs/config.ts +167 -0
  33. package/src/docs/content.ts +36 -0
  34. package/src/docs/endpoints.ts +89 -0
  35. package/src/docs/integration.ts +249 -0
  36. package/src/docs/layouts/DefaultDocsFrame.astro +33 -0
  37. package/src/docs/layouts/Docs.astro +169 -0
  38. package/src/docs/layouts/Page.astro +18 -0
  39. package/src/docs/link-plugins.ts +52 -0
  40. package/src/docs/links.ts +42 -0
  41. package/src/docs/locale-tree.ts +51 -0
  42. package/src/docs/model/ids.ts +87 -0
  43. package/src/docs/model/rendered.ts +185 -0
  44. package/src/docs/model/tree.ts +124 -0
  45. package/src/docs/model/validate.ts +75 -0
  46. package/src/docs/navigation.ts +75 -0
  47. package/src/docs/routes/404.astro +16 -0
  48. package/src/docs/routes/docs-index.astro +19 -0
  49. package/src/docs/routes/docs-slug.astro +54 -0
  50. package/src/docs/routes/docs-slug.md.ts +35 -0
  51. package/src/docs/routes/llms-locale.txt.ts +8 -0
  52. package/src/docs/routes/llms.txt.ts +4 -0
  53. package/src/docs/routes/search-index-locale.json.ts +8 -0
  54. package/src/docs/routes/search-index.json.ts +4 -0
  55. package/src/docs/runtime.ts +17 -0
  56. package/src/docs/search-index.ts +39 -0
  57. package/src/docs/styles/components/breadcrumbs.css +26 -0
  58. package/src/docs/styles/components/docs-mobile-nav.css +47 -0
  59. package/src/docs/styles/components/docs-page-nav.css +41 -0
  60. package/src/docs/styles/components/docs-page.css +9 -0
  61. package/src/docs/styles/components/docs-sidebar.css +59 -0
  62. package/src/docs/styles/components/page-actions.css +51 -0
  63. package/src/docs/styles/components/toc.css +38 -0
  64. package/src/docs/styles/components.css +7 -0
  65. package/src/docs/styles/docs.css +81 -0
  66. package/src/docs/styles/jaamd.css +11 -0
  67. package/src/docs/types.ts +39 -0
  68. package/src/docs/urls.ts +35 -0
  69. package/src/env.d.ts +13 -0
  70. package/src/integration.ts +36 -0
  71. package/src/site/components/Footer.astro +18 -0
  72. package/src/site/components/Head.astro +119 -0
  73. package/src/site/components/Header.astro +50 -0
  74. package/src/site/components/LocaleSwitcher.astro +111 -0
  75. package/src/site/components/Nav.astro +22 -0
  76. package/src/site/components/NavMobile.astro +105 -0
  77. package/src/site/components/SearchPalette.astro +409 -0
  78. package/src/site/components/SocialLinks.astro +27 -0
  79. package/src/site/components/ThemeSwitcher.astro +55 -0
  80. package/src/site/components/locale-switcher.ts +6 -0
  81. package/src/site/config.ts +149 -0
  82. package/src/site/fonts/OFL.txt +94 -0
  83. package/src/site/fonts/inter.woff2 +0 -0
  84. package/src/site/fonts/merriweather-italic.woff2 +0 -0
  85. package/src/site/fonts/merriweather.woff2 +0 -0
  86. package/src/site/fonts.ts +29 -0
  87. package/src/site/forges.ts +60 -0
  88. package/src/site/helpers.ts +4 -0
  89. package/src/site/infer.ts +75 -0
  90. package/src/site/integration.ts +59 -0
  91. package/src/site/layouts/Shell.astro +41 -0
  92. package/src/site/locales.ts +199 -0
  93. package/src/site/runtime.ts +19 -0
  94. package/src/site/search.ts +227 -0
  95. package/src/site/social.ts +44 -0
  96. package/src/site/styles/components/footer.css +8 -0
  97. package/src/site/styles/components/header.css +31 -0
  98. package/src/site/styles/components/locale-switcher.css +20 -0
  99. package/src/site/styles/components/nav-mobile.css +15 -0
  100. package/src/site/styles/components/nav.css +11 -0
  101. package/src/site/styles/components/not-found.css +11 -0
  102. package/src/site/styles/components/search.css +118 -0
  103. package/src/site/styles/components/shell.css +77 -0
  104. package/src/site/styles/components/social-links.css +8 -0
  105. package/src/site/styles/components/theme-switcher.css +14 -0
  106. package/src/site/styles/components.css +10 -0
  107. package/src/site/styles/global.css +140 -0
  108. package/src/site/styles/jaamd-forward.css +16 -0
  109. package/src/site/styles/jaamd-reverse.css +18 -0
  110. package/src/site/styles/tailwind.css +30 -0
  111. package/src/site/themes.ts +26 -0
  112. package/src/site/ui/en.ts +27 -0
  113. package/src/site/ui/it.ts +28 -0
  114. package/src/site/ui.ts +49 -0
  115. package/src/site/urls.ts +14 -0
  116. package/src/site/virtual.ts +42 -0
  117. package/src/styles.css +5 -0
package/dist/jaad.css ADDED
@@ -0,0 +1,1331 @@
1
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
3
+ @layer theme, base, components, utilities;
4
+ @layer theme {
5
+ :root, :host {
6
+ --font-sans: var(--font-inter), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
7
+ --font-serif: var(--font-merriweather), Georgia, serif;
8
+ --font-mono: 'SF Mono', SF Mono, Consolas, 'Liberation Mono', Menlo, Courier, monospace;
9
+ --color-black: #000;
10
+ --spacing: 0.25rem;
11
+ --container-lg: 32rem;
12
+ --text-xs: 0.75rem;
13
+ --text-xs--line-height: calc(1 / 0.75);
14
+ --text-sm: 0.875rem;
15
+ --text-sm--line-height: calc(1.25 / 0.875);
16
+ --text-xl: 1.25rem;
17
+ --text-xl--line-height: calc(1.75 / 1.25);
18
+ --text-6xl: 3.75rem;
19
+ --text-6xl--line-height: 1;
20
+ --font-weight-medium: 500;
21
+ --font-weight-semibold: 600;
22
+ --font-weight-bold: 700;
23
+ --tracking-wide: 0.025em;
24
+ --leading-relaxed: 1.625;
25
+ --radius-sm: 0.25rem;
26
+ --radius-lg: 0.5rem;
27
+ --radius-xl: 0.75rem;
28
+ --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
29
+ --blur-sm: 8px;
30
+ --default-transition-duration: 150ms;
31
+ --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
32
+ --default-font-family: var(--font-sans);
33
+ --default-mono-font-family: var(--font-mono);
34
+ --color-background: #faf8f5;
35
+ --color-surface: #ffffff;
36
+ --color-foreground: #3a3a3a;
37
+ --color-foreground-bright: #1a1a1a;
38
+ --color-primary: #2d2d2d;
39
+ --color-error: #c45959;
40
+ --color-warning: #d4a259;
41
+ --color-info: #5988c4;
42
+ --color-success: #5a9c7e;
43
+ --color-background-secondary: color-mix(in srgb, #3a3a3a 2%, #faf8f5);
44
+ @supports (color: color-mix(in lab, red, red)) {
45
+ --color-background-secondary: color-mix(in oklab, var(--color-foreground) 2%, var(--color-background));
46
+ }
47
+ --color-background-tertiary: color-mix(in srgb, #3a3a3a 6%, #faf8f5);
48
+ @supports (color: color-mix(in lab, red, red)) {
49
+ --color-background-tertiary: color-mix(in oklab, var(--color-foreground) 6%, var(--color-background));
50
+ }
51
+ --color-surface-hover: color-mix(in srgb, #3a3a3a 5%, #faf8f5);
52
+ @supports (color: color-mix(in lab, red, red)) {
53
+ --color-surface-hover: color-mix(in oklab, var(--color-foreground) 5%, var(--color-background));
54
+ }
55
+ --color-border-light: color-mix(in srgb, #3a3a3a 11%, #faf8f5);
56
+ @supports (color: color-mix(in lab, red, red)) {
57
+ --color-border-light: color-mix(in oklab, var(--color-foreground) 11%, var(--color-background));
58
+ }
59
+ --color-border: color-mix(in srgb, #3a3a3a 17%, #faf8f5);
60
+ @supports (color: color-mix(in lab, red, red)) {
61
+ --color-border: color-mix(in oklab, var(--color-foreground) 17%, var(--color-background));
62
+ }
63
+ --color-border-dark: color-mix(in srgb, #3a3a3a 25%, #faf8f5);
64
+ @supports (color: color-mix(in lab, red, red)) {
65
+ --color-border-dark: color-mix(in oklab, var(--color-foreground) 25%, var(--color-background));
66
+ }
67
+ --color-foreground-muted: color-mix(in srgb, #3a3a3a 55%, #faf8f5);
68
+ @supports (color: color-mix(in lab, red, red)) {
69
+ --color-foreground-muted: color-mix(in oklab, var(--color-foreground) 55%, var(--color-background));
70
+ }
71
+ --color-foreground-secondary: color-mix(in srgb, #3a3a3a 72%, #faf8f5);
72
+ @supports (color: color-mix(in lab, red, red)) {
73
+ --color-foreground-secondary: color-mix(in oklab, var(--color-foreground) 72%, var(--color-background));
74
+ }
75
+ --color-primary-dark: var(--color-foreground-bright);
76
+ --color-primary-light: color-mix(in srgb, #2d2d2d 83%, #faf8f5);
77
+ @supports (color: color-mix(in lab, red, red)) {
78
+ --color-primary-light: color-mix(in oklab, var(--color-primary) 83%, var(--color-background));
79
+ }
80
+ --jaad-content-width: 56rem;
81
+ --jaad-chrome-width: calc(var(--jaad-content-width) + 2 * var(--jaad-sidebar-width) + 6rem);
82
+ --jaad-sidebar-width: 16rem;
83
+ --jaad-header-height: 4.25rem;
84
+ --jaad-page-padding: 2rem;
85
+ }
86
+ }
87
+ @layer base {
88
+ *, ::after, ::before, ::backdrop, ::file-selector-button {
89
+ box-sizing: border-box;
90
+ margin: 0;
91
+ padding: 0;
92
+ border: 0 solid;
93
+ }
94
+ html, :host {
95
+ line-height: 1.5;
96
+ -webkit-text-size-adjust: 100%;
97
+ tab-size: 4;
98
+ font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
99
+ font-feature-settings: var(--default-font-feature-settings, normal);
100
+ font-variation-settings: var(--default-font-variation-settings, normal);
101
+ -webkit-tap-highlight-color: transparent;
102
+ }
103
+ hr {
104
+ height: 0;
105
+ color: inherit;
106
+ border-top-width: 1px;
107
+ }
108
+ abbr:where([title]) {
109
+ -webkit-text-decoration: underline dotted;
110
+ text-decoration: underline dotted;
111
+ }
112
+ h1, h2, h3, h4, h5, h6 {
113
+ font-size: inherit;
114
+ font-weight: inherit;
115
+ }
116
+ a {
117
+ color: inherit;
118
+ -webkit-text-decoration: inherit;
119
+ text-decoration: inherit;
120
+ }
121
+ b, strong {
122
+ font-weight: bolder;
123
+ }
124
+ code, kbd, samp, pre {
125
+ font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
126
+ font-feature-settings: var(--default-mono-font-feature-settings, normal);
127
+ font-variation-settings: var(--default-mono-font-variation-settings, normal);
128
+ font-size: 1em;
129
+ }
130
+ small {
131
+ font-size: 80%;
132
+ }
133
+ sub, sup {
134
+ font-size: 75%;
135
+ line-height: 0;
136
+ position: relative;
137
+ vertical-align: baseline;
138
+ }
139
+ sub {
140
+ bottom: -0.25em;
141
+ }
142
+ sup {
143
+ top: -0.5em;
144
+ }
145
+ table {
146
+ text-indent: 0;
147
+ border-color: inherit;
148
+ border-collapse: collapse;
149
+ }
150
+ :-moz-focusring:where(:not(iframe)) {
151
+ outline: auto;
152
+ }
153
+ progress {
154
+ vertical-align: baseline;
155
+ }
156
+ summary {
157
+ display: list-item;
158
+ }
159
+ ol, ul, menu {
160
+ list-style: none;
161
+ }
162
+ img, svg, video, canvas, audio, iframe, embed, object {
163
+ display: block;
164
+ vertical-align: middle;
165
+ }
166
+ img, video {
167
+ max-width: 100%;
168
+ height: auto;
169
+ }
170
+ button, input, select, optgroup, textarea, ::file-selector-button {
171
+ font: inherit;
172
+ font-feature-settings: inherit;
173
+ font-variation-settings: inherit;
174
+ letter-spacing: inherit;
175
+ color: inherit;
176
+ border-radius: 0;
177
+ background-color: transparent;
178
+ opacity: 1;
179
+ }
180
+ :where(select:is([multiple], [size])) optgroup {
181
+ font-weight: bolder;
182
+ }
183
+ :where(select:is([multiple], [size])) optgroup option {
184
+ padding-inline-start: 20px;
185
+ }
186
+ ::file-selector-button {
187
+ margin-inline-end: 4px;
188
+ }
189
+ ::placeholder {
190
+ opacity: 1;
191
+ }
192
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
193
+ ::placeholder {
194
+ color: currentcolor;
195
+ @supports (color: color-mix(in lab, red, red)) {
196
+ color: color-mix(in oklab, currentcolor 50%, transparent);
197
+ }
198
+ }
199
+ }
200
+ textarea {
201
+ resize: vertical;
202
+ }
203
+ ::-webkit-search-decoration {
204
+ -webkit-appearance: none;
205
+ }
206
+ ::-webkit-date-and-time-value {
207
+ min-height: 1lh;
208
+ text-align: inherit;
209
+ }
210
+ ::-webkit-datetime-edit {
211
+ display: inline-flex;
212
+ }
213
+ ::-webkit-datetime-edit-fields-wrapper {
214
+ padding: 0;
215
+ }
216
+ ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
217
+ padding-block: 0;
218
+ }
219
+ ::-webkit-calendar-picker-indicator {
220
+ line-height: 1;
221
+ }
222
+ :-moz-ui-invalid {
223
+ box-shadow: none;
224
+ }
225
+ button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
226
+ appearance: button;
227
+ }
228
+ ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
229
+ height: auto;
230
+ }
231
+ [hidden]:where(:not([hidden="until-found"])) {
232
+ display: none !important;
233
+ }
234
+ }
235
+ @layer utilities;
236
+ @layer components {
237
+ .jaad-chrome {
238
+ width: 100%;
239
+ max-width: var(--jaad-chrome-width);
240
+ margin-inline: auto;
241
+ }
242
+ .jaad-main {
243
+ flex: 1;
244
+ margin-block: 4rem;
245
+ padding-inline: var(--jaad-page-padding);
246
+ }
247
+ @media (min-width: 64rem) {
248
+ .jaad-main {
249
+ padding-inline: calc(var(--jaad-page-padding) * 2);
250
+ }
251
+ }
252
+ .jaad-main-bare {
253
+ flex: 1;
254
+ }
255
+ .jaad-body {
256
+ display: flex;
257
+ min-height: 100vh;
258
+ flex-direction: column;
259
+ background-color: var(--color-background);
260
+ font-size: 14px;
261
+ --tw-leading: 1.6;
262
+ line-height: 1.6;
263
+ color: var(--color-foreground);
264
+ padding-top: var(--jaad-header-height);
265
+ }
266
+ .jaad-icon {
267
+ height: calc(var(--spacing) * 5);
268
+ width: calc(var(--spacing) * 5);
269
+ }
270
+ .jaad-sr-only {
271
+ position: absolute;
272
+ width: 1px;
273
+ height: 1px;
274
+ padding: 0;
275
+ margin: -1px;
276
+ overflow: hidden;
277
+ clip-path: inset(50%);
278
+ white-space: nowrap;
279
+ border-width: 0;
280
+ }
281
+ .jaad-sidebar {
282
+ width: var(--jaad-sidebar-width);
283
+ overflow-y: auto;
284
+ }
285
+ .jaad-sidebar::-webkit-scrollbar {
286
+ width: 6px;
287
+ }
288
+ .jaad-sidebar::-webkit-scrollbar-track {
289
+ background: transparent;
290
+ }
291
+ .jaad-sidebar::-webkit-scrollbar-thumb {
292
+ background: rgb(from var(--color-primary) r g b / 0.2);
293
+ border-radius: 3px;
294
+ }
295
+ .jaad-sidebar::-webkit-scrollbar-thumb:hover {
296
+ background: rgb(from var(--color-primary) r g b / 0.4);
297
+ }
298
+ .jaad-icon-button {
299
+ display: flex;
300
+ height: calc(var(--spacing) * 9);
301
+ width: calc(var(--spacing) * 9);
302
+ cursor: pointer;
303
+ align-items: center;
304
+ justify-content: center;
305
+ border-radius: var(--radius-lg);
306
+ color: var(--color-foreground-secondary);
307
+ text-decoration-line: none;
308
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
309
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
310
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
311
+ &:hover {
312
+ @media (hover: hover) {
313
+ color: var(--color-foreground-bright);
314
+ }
315
+ }
316
+ }
317
+ .jaad-menu {
318
+ position: absolute;
319
+ top: 100%;
320
+ right: 0px;
321
+ z-index: 40;
322
+ margin-top: calc(var(--spacing) * 2);
323
+ width: calc(var(--spacing) * 44);
324
+ overflow: hidden;
325
+ border-radius: var(--radius-xl);
326
+ border-style: var(--tw-border-style);
327
+ border-width: 1px;
328
+ border-color: var(--color-border);
329
+ background-color: var(--color-surface);
330
+ --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
331
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
332
+ }
333
+ .jaad-menu-item {
334
+ display: block;
335
+ border-radius: var(--radius-lg);
336
+ padding-inline: calc(var(--spacing) * 3);
337
+ padding-block: calc(var(--spacing) * 2);
338
+ font-size: var(--text-sm);
339
+ line-height: var(--tw-leading, var(--text-sm--line-height));
340
+ color: var(--color-foreground-secondary);
341
+ text-decoration-line: none;
342
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
343
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
344
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
345
+ &:hover {
346
+ @media (hover: hover) {
347
+ background-color: color-mix(in srgb, #2d2d2d 5%, transparent);
348
+ @supports (color: color-mix(in lab, red, red)) {
349
+ background-color: color-mix(in oklab, var(--color-primary) 5%, transparent);
350
+ }
351
+ }
352
+ }
353
+ &:hover {
354
+ @media (hover: hover) {
355
+ color: var(--color-foreground-bright);
356
+ }
357
+ }
358
+ }
359
+ .jaad-header {
360
+ position: fixed;
361
+ inset: 0 0 auto;
362
+ z-index: 40;
363
+ height: var(--jaad-header-height);
364
+ background: var(--color-background);
365
+ }
366
+ .jaad-header-inner {
367
+ height: 100%;
368
+ max-width: var(--jaad-chrome-width);
369
+ margin-inline: auto;
370
+ padding-inline: 1rem;
371
+ }
372
+ .jaad-header-row {
373
+ display: flex;
374
+ height: 100%;
375
+ align-items: center;
376
+ gap: calc(var(--spacing) * 4);
377
+ }
378
+ .jaad-brand {
379
+ font-size: var(--text-xl);
380
+ line-height: var(--tw-leading, var(--text-xl--line-height));
381
+ color: var(--color-foreground-bright);
382
+ }
383
+ .jaad-brand-link {
384
+ color: var(--color-primary);
385
+ text-decoration-line: none;
386
+ }
387
+ .jaad-logo {
388
+ height: calc(var(--spacing) * 7);
389
+ }
390
+ .jaad-header-actions {
391
+ margin-left: auto;
392
+ display: flex;
393
+ align-items: center;
394
+ gap: calc(var(--spacing) * 2);
395
+ }
396
+ .jaad-footer {
397
+ margin-top: calc(var(--spacing) * 4);
398
+ border-top-style: var(--tw-border-style);
399
+ border-top-width: 1px;
400
+ border-color: var(--color-border-dark);
401
+ padding-top: calc(var(--spacing) * 2);
402
+ }
403
+ .jaad-footer-credit {
404
+ margin-bottom: var(--spacing);
405
+ text-align: center;
406
+ font-size: 0.95rem;
407
+ --tw-leading: 1.6;
408
+ line-height: 1.6;
409
+ color: var(--color-foreground-muted);
410
+ font-style: italic;
411
+ }
412
+ .jaad-nav {
413
+ display: none;
414
+ @media (width >= 48rem) {
415
+ display: block;
416
+ }
417
+ }
418
+ .jaad-nav-list {
419
+ display: flex;
420
+ :where(& > :not(:last-child)) {
421
+ --tw-space-x-reverse: 0;
422
+ margin-inline-start: calc(calc(var(--spacing) * 4) * var(--tw-space-x-reverse));
423
+ margin-inline-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-x-reverse)));
424
+ }
425
+ }
426
+ .jaad-nav-link {
427
+ color: var(--color-foreground-secondary);
428
+ text-decoration-line: none;
429
+ &:hover {
430
+ @media (hover: hover) {
431
+ color: var(--color-foreground-bright);
432
+ }
433
+ }
434
+ &:hover {
435
+ @media (hover: hover) {
436
+ text-decoration-line: underline;
437
+ }
438
+ }
439
+ }
440
+ .jaad-nav-mobile {
441
+ position: relative;
442
+ @media (width >= 48rem) {
443
+ display: none;
444
+ }
445
+ }
446
+ .jaad-nav-mobile [aria-expanded='true'] [data-icon-open], .jaad-nav-mobile [aria-expanded='false'] [data-icon-close] {
447
+ display: none;
448
+ }
449
+ .jaad-nav-mobile-links {
450
+ padding: calc(var(--spacing) * 2);
451
+ }
452
+ .jaad-nav-mobile-list {
453
+ display: flex;
454
+ flex-direction: column;
455
+ gap: var(--spacing);
456
+ }
457
+ .jaad-social-icon {
458
+ display: flex;
459
+ height: calc(var(--spacing) * 5);
460
+ width: calc(var(--spacing) * 5);
461
+ align-items: center;
462
+ justify-content: center;
463
+ }
464
+ .jaad-social-label {
465
+ font-size: var(--text-xs);
466
+ line-height: var(--tw-leading, var(--text-xs--line-height));
467
+ }
468
+ .jaad-theme-icon-to-light {
469
+ display: none;
470
+ }
471
+ html.dark .jaad-theme-icon-to-dark {
472
+ display: none;
473
+ }
474
+ html.dark .jaad-theme-icon-to-light {
475
+ display: block;
476
+ }
477
+ .jaad-locale-switcher {
478
+ position: relative;
479
+ }
480
+ .jaad-locale-trigger {
481
+ width: auto;
482
+ gap: calc(var(--spacing) * 1.5);
483
+ padding-inline: calc(var(--spacing) * 2);
484
+ }
485
+ .jaad-locale-code {
486
+ font-size: var(--text-xs);
487
+ line-height: var(--tw-leading, var(--text-xs--line-height));
488
+ --tw-font-weight: var(--font-weight-medium);
489
+ font-weight: var(--font-weight-medium);
490
+ text-transform: uppercase;
491
+ }
492
+ .jaad-locale-chevron {
493
+ height: calc(var(--spacing) * 3);
494
+ width: calc(var(--spacing) * 3);
495
+ flex-shrink: 0;
496
+ }
497
+ .jaad-locale-menu {
498
+ padding: var(--spacing);
499
+ }
500
+ .jaad-locale-item {
501
+ display: flex;
502
+ align-items: center;
503
+ gap: calc(var(--spacing) * 2);
504
+ &[aria-current] {
505
+ --tw-font-weight: var(--font-weight-semibold);
506
+ font-weight: var(--font-weight-semibold);
507
+ }
508
+ }
509
+ .jaad-not-found {
510
+ margin: auto;
511
+ display: flex;
512
+ height: 100%;
513
+ width: 100%;
514
+ flex-direction: column;
515
+ align-items: center;
516
+ justify-content: center;
517
+ padding-inline: calc(var(--spacing) * 16);
518
+ text-align: center;
519
+ }
520
+ .jaad-not-found-title {
521
+ margin-bottom: calc(var(--spacing) * 16);
522
+ font-size: var(--text-6xl);
523
+ line-height: var(--tw-leading, var(--text-6xl--line-height));
524
+ --tw-font-weight: var(--font-weight-bold);
525
+ font-weight: var(--font-weight-bold);
526
+ }
527
+ .jaad-not-found-text {
528
+ margin-bottom: calc(var(--spacing) * 32);
529
+ font-size: var(--text-xl);
530
+ line-height: var(--tw-leading, var(--text-xl--line-height));
531
+ }
532
+ .jaad-search-trigger {
533
+ display: none;
534
+ cursor: pointer;
535
+ align-items: center;
536
+ gap: calc(var(--spacing) * 2);
537
+ border-radius: var(--radius-lg);
538
+ border-style: var(--tw-border-style);
539
+ border-width: 1px;
540
+ border-color: var(--color-border);
541
+ background-color: var(--color-surface);
542
+ padding-inline: calc(var(--spacing) * 3);
543
+ padding-block: calc(var(--spacing) * 1.5);
544
+ font-size: var(--text-sm);
545
+ line-height: var(--tw-leading, var(--text-sm--line-height));
546
+ color: var(--color-foreground-muted);
547
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
548
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
549
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
550
+ &:hover {
551
+ @media (hover: hover) {
552
+ background-color: var(--color-surface-hover);
553
+ }
554
+ }
555
+ @media (width >= 48rem) {
556
+ display: flex;
557
+ }
558
+ }
559
+ .jaad-search-trigger-icon {
560
+ height: calc(var(--spacing) * 4);
561
+ width: calc(var(--spacing) * 4);
562
+ flex-shrink: 0;
563
+ }
564
+ .jaad-search-trigger-label {
565
+ display: none;
566
+ @media (width >= 64rem) {
567
+ display: inline;
568
+ }
569
+ }
570
+ .jaad-search-shortcut {
571
+ border-radius: 0.25rem;
572
+ background-color: var(--color-background-secondary);
573
+ padding-inline: calc(var(--spacing) * 1.5);
574
+ padding-block: calc(var(--spacing) * 0.5);
575
+ font-size: var(--text-xs);
576
+ line-height: var(--tw-leading, var(--text-xs--line-height));
577
+ --tw-font-weight: var(--font-weight-medium);
578
+ font-weight: var(--font-weight-medium);
579
+ color: var(--color-foreground-muted);
580
+ }
581
+ @media (width >= 48rem) {
582
+ .jaad-search-trigger-compact {
583
+ display: none;
584
+ }
585
+ }
586
+ .jaad-search-overlay {
587
+ position: fixed;
588
+ inset: 0px;
589
+ z-index: 50;
590
+ display: flex;
591
+ align-items: flex-start;
592
+ justify-content: center;
593
+ padding-inline: calc(var(--spacing) * 4);
594
+ padding-top: 15vh;
595
+ }
596
+ .jaad-search-backdrop {
597
+ position: absolute;
598
+ inset: 0px;
599
+ background-color: color-mix(in srgb, #000 60%, transparent);
600
+ @supports (color: color-mix(in lab, red, red)) {
601
+ background-color: color-mix(in oklab, var(--color-black) 60%, transparent);
602
+ }
603
+ --tw-backdrop-blur: blur(var(--blur-sm));
604
+ -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
605
+ backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
606
+ }
607
+ .jaad-search-panel {
608
+ position: relative;
609
+ z-index: 10;
610
+ width: 100%;
611
+ max-width: var(--container-lg);
612
+ overflow: hidden;
613
+ border-radius: var(--radius-xl);
614
+ border-style: var(--tw-border-style);
615
+ border-width: 1px;
616
+ border-color: var(--color-border);
617
+ background-color: var(--color-surface);
618
+ --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));
619
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
620
+ }
621
+ .jaad-search-bar {
622
+ display: flex;
623
+ align-items: center;
624
+ gap: calc(var(--spacing) * 3);
625
+ border-bottom-style: var(--tw-border-style);
626
+ border-bottom-width: 1px;
627
+ border-color: var(--color-border);
628
+ padding-inline: calc(var(--spacing) * 4);
629
+ padding-block: calc(var(--spacing) * 3);
630
+ }
631
+ .jaad-search-bar-icon {
632
+ height: calc(var(--spacing) * 5);
633
+ width: calc(var(--spacing) * 5);
634
+ flex-shrink: 0;
635
+ color: var(--color-foreground-muted);
636
+ }
637
+ .jaad-search-input {
638
+ min-width: 0px;
639
+ flex: 1;
640
+ background-color: transparent;
641
+ font-size: var(--text-sm);
642
+ line-height: var(--tw-leading, var(--text-sm--line-height));
643
+ color: var(--color-foreground);
644
+ --tw-outline-style: none;
645
+ outline-style: none;
646
+ &::placeholder {
647
+ color: var(--color-foreground-muted);
648
+ }
649
+ }
650
+ .jaad-search-close {
651
+ flex-shrink: 0;
652
+ cursor: pointer;
653
+ border-radius: 0.25rem;
654
+ background-color: var(--color-background-secondary);
655
+ padding-inline: calc(var(--spacing) * 1.5);
656
+ padding-block: calc(var(--spacing) * 0.5);
657
+ font-size: var(--text-xs);
658
+ line-height: var(--tw-leading, var(--text-xs--line-height));
659
+ color: var(--color-foreground-muted);
660
+ }
661
+ .jaad-search-filters {
662
+ display: flex;
663
+ flex-wrap: wrap;
664
+ gap: calc(var(--spacing) * 1.5);
665
+ border-bottom-style: var(--tw-border-style);
666
+ border-bottom-width: 1px;
667
+ border-color: var(--color-border);
668
+ padding-inline: calc(var(--spacing) * 4);
669
+ padding-block: calc(var(--spacing) * 2);
670
+ }
671
+ .jaad-search-filter {
672
+ cursor: pointer;
673
+ border-radius: calc(infinity * 1px);
674
+ border-style: var(--tw-border-style);
675
+ border-width: 1px;
676
+ border-color: var(--color-border);
677
+ padding-inline: calc(var(--spacing) * 2.5);
678
+ padding-block: calc(var(--spacing) * 0.5);
679
+ font-size: var(--text-xs);
680
+ line-height: var(--tw-leading, var(--text-xs--line-height));
681
+ color: var(--color-foreground-muted);
682
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
683
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
684
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
685
+ &:hover {
686
+ @media (hover: hover) {
687
+ color: var(--color-foreground);
688
+ }
689
+ }
690
+ }
691
+ .jaad-search-filter[aria-pressed='true'] {
692
+ border-color: color-mix(in srgb, #2d2d2d 40%, transparent);
693
+ @supports (color: color-mix(in lab, red, red)) {
694
+ border-color: color-mix(in oklab, var(--color-primary) 40%, transparent);
695
+ }
696
+ background-color: color-mix(in srgb, #2d2d2d 10%, transparent);
697
+ @supports (color: color-mix(in lab, red, red)) {
698
+ background-color: color-mix(in oklab, var(--color-primary) 10%, transparent);
699
+ }
700
+ color: var(--color-foreground-bright);
701
+ }
702
+ .jaad-search-results {
703
+ max-height: calc(var(--spacing) * 96);
704
+ overflow-y: auto;
705
+ padding: calc(var(--spacing) * 2);
706
+ }
707
+ .jaad-search-group {
708
+ padding-inline: calc(var(--spacing) * 3);
709
+ padding-top: calc(var(--spacing) * 3);
710
+ padding-bottom: var(--spacing);
711
+ font-size: var(--text-xs);
712
+ line-height: var(--tw-leading, var(--text-xs--line-height));
713
+ --tw-font-weight: var(--font-weight-semibold);
714
+ font-weight: var(--font-weight-semibold);
715
+ --tw-tracking: var(--tracking-wide);
716
+ letter-spacing: var(--tracking-wide);
717
+ color: var(--color-foreground-muted);
718
+ text-transform: uppercase;
719
+ }
720
+ .jaad-search-footer {
721
+ display: flex;
722
+ align-items: center;
723
+ gap: calc(var(--spacing) * 4);
724
+ border-top-style: var(--tw-border-style);
725
+ border-top-width: 1px;
726
+ border-color: var(--color-border);
727
+ padding-inline: calc(var(--spacing) * 4);
728
+ padding-block: calc(var(--spacing) * 2);
729
+ font-size: var(--text-xs);
730
+ line-height: var(--tw-leading, var(--text-xs--line-height));
731
+ color: var(--color-foreground-muted);
732
+ }
733
+ .jaad-search-key {
734
+ border-radius: 0.25rem;
735
+ background-color: var(--color-background-secondary);
736
+ padding-inline: var(--spacing);
737
+ padding-block: calc(var(--spacing) * 0.5);
738
+ }
739
+ .jaad-search-result {
740
+ cursor: pointer;
741
+ border-radius: var(--radius-lg);
742
+ padding-inline: calc(var(--spacing) * 3);
743
+ padding-block: calc(var(--spacing) * 2.5);
744
+ text-align: left;
745
+ color: var(--color-foreground);
746
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
747
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
748
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
749
+ }
750
+ @media (hover: hover) {
751
+ .jaad-search-result:not([aria-selected='true']):hover {
752
+ background-color: color-mix(in srgb, #2d2d2d 5%, transparent);
753
+ }
754
+ @supports (color: color-mix(in lab, red, red)) {
755
+ .jaad-search-result:not([aria-selected='true']):hover {
756
+ background-color: color-mix(in oklab, var(--color-primary) 5%, transparent);
757
+ }
758
+ }
759
+ }
760
+ .jaad-search-result[aria-selected='true'] {
761
+ background-color: color-mix(in srgb, #2d2d2d 10%, transparent);
762
+ @supports (color: color-mix(in lab, red, red)) {
763
+ background-color: color-mix(in oklab, var(--color-primary) 10%, transparent);
764
+ }
765
+ color: var(--color-foreground-bright);
766
+ }
767
+ .jaad-search-result-heading {
768
+ margin-left: calc(var(--spacing) * 3);
769
+ border-top-left-radius: 0;
770
+ border-bottom-left-radius: 0;
771
+ border-left-style: var(--tw-border-style);
772
+ border-left-width: 1px;
773
+ border-color: var(--color-border);
774
+ padding-block: calc(var(--spacing) * 2);
775
+ }
776
+ .jaad-search-result-head {
777
+ display: flex;
778
+ align-items: center;
779
+ gap: calc(var(--spacing) * 2);
780
+ }
781
+ .jaad-search-result-title {
782
+ font-size: var(--text-sm);
783
+ line-height: var(--tw-leading, var(--text-sm--line-height));
784
+ --tw-font-weight: var(--font-weight-medium);
785
+ font-weight: var(--font-weight-medium);
786
+ }
787
+ .jaad-search-result-badge {
788
+ border-radius: 0.25rem;
789
+ background-color: var(--color-background-secondary);
790
+ padding-inline: calc(var(--spacing) * 1.5);
791
+ padding-block: calc(var(--spacing) * 0.5);
792
+ font-size: 0.65rem;
793
+ color: var(--color-foreground-muted);
794
+ }
795
+ .jaad-search-result-snippet {
796
+ margin-top: var(--spacing);
797
+ overflow: hidden;
798
+ display: -webkit-box;
799
+ -webkit-box-orient: vertical;
800
+ -webkit-line-clamp: 1;
801
+ font-size: var(--text-xs);
802
+ line-height: var(--tw-leading, var(--text-xs--line-height));
803
+ color: var(--color-foreground-secondary);
804
+ }
805
+ .jaad-search-mark {
806
+ border-radius: var(--radius-sm);
807
+ background-color: color-mix(in srgb, #2d2d2d 20%, transparent);
808
+ @supports (color: color-mix(in lab, red, red)) {
809
+ background-color: color-mix(in oklab, var(--color-primary) 20%, transparent);
810
+ }
811
+ padding-inline: calc(var(--spacing) * 0.5);
812
+ --tw-font-weight: var(--font-weight-semibold);
813
+ font-weight: var(--font-weight-semibold);
814
+ color: var(--color-foreground-bright);
815
+ font-style: normal;
816
+ }
817
+ .jaad-search-message {
818
+ padding-inline: calc(var(--spacing) * 3);
819
+ padding-block: calc(var(--spacing) * 6);
820
+ text-align: center;
821
+ font-size: var(--text-sm);
822
+ line-height: var(--tw-leading, var(--text-sm--line-height));
823
+ color: var(--color-foreground-muted);
824
+ }
825
+ .docs-content {
826
+ width: 100%;
827
+ --tw-leading: var(--leading-relaxed);
828
+ line-height: var(--leading-relaxed);
829
+ overflow-wrap: break-word;
830
+ }
831
+ .docs-updated {
832
+ margin-top: calc(var(--spacing) * 8);
833
+ font-size: var(--text-xs);
834
+ line-height: var(--tw-leading, var(--text-xs--line-height));
835
+ color: var(--color-foreground-muted);
836
+ }
837
+ .docs-sidebar-left nav {
838
+ font-size: 0.875rem;
839
+ line-height: 1.5;
840
+ }
841
+ .docs-sidebar-list {
842
+ margin: 0;
843
+ padding: 0;
844
+ list-style: none;
845
+ }
846
+ .docs-sidebar-link {
847
+ display: block;
848
+ margin-left: -0.75rem;
849
+ padding: 0.25rem 0 0.25rem calc(0.75rem - 2px);
850
+ border-left: 2px solid transparent;
851
+ color: var(--color-foreground);
852
+ text-decoration: none;
853
+ }
854
+ .docs-sidebar-link:hover {
855
+ color: var(--color-foreground-bright);
856
+ }
857
+ .docs-sidebar-link[aria-current='page'] {
858
+ border-color: var(--color-foreground-bright);
859
+ color: var(--color-foreground-bright);
860
+ font-weight: 500;
861
+ }
862
+ .docs-sidebar-chapter {
863
+ margin-top: 1rem;
864
+ }
865
+ .docs-sidebar-chapter + li:not(.docs-sidebar-chapter) {
866
+ margin-top: 1rem;
867
+ }
868
+ .docs-sidebar-chapter-title {
869
+ margin: 0 0 0.25rem;
870
+ font-size: 0.75rem;
871
+ font-weight: 500;
872
+ color: var(--color-foreground-muted);
873
+ }
874
+ .docs-sidebar-section {
875
+ margin-top: 1rem;
876
+ padding-top: 0.75rem;
877
+ border-top: 1px solid var(--color-border);
878
+ }
879
+ .docs-sidebar-section-title {
880
+ margin: 0 0 0.25rem;
881
+ color: var(--color-foreground-bright);
882
+ font-weight: 600;
883
+ }
884
+ .docs-toc-title {
885
+ margin: 0 0 0.5rem;
886
+ font-family: var(--font-sans);
887
+ font-size: 0.75rem;
888
+ font-weight: 500;
889
+ color: var(--color-foreground-muted);
890
+ }
891
+ .docs-toc-list {
892
+ margin: 0;
893
+ padding: 0;
894
+ list-style: none;
895
+ }
896
+ .docs-toc-link {
897
+ display: block;
898
+ padding: 0.1875rem 0 0.1875rem calc(0.625rem - 2px);
899
+ border-left: 2px solid transparent;
900
+ color: var(--color-foreground-muted);
901
+ font-size: 0.8125rem;
902
+ line-height: 1.5;
903
+ text-decoration: none;
904
+ }
905
+ .docs-toc-link-nested {
906
+ padding-left: calc(1.375rem - 2px);
907
+ }
908
+ .docs-toc-link:hover {
909
+ color: var(--color-foreground-bright);
910
+ }
911
+ .docs-toc-link[aria-current='location'] {
912
+ border-color: var(--color-foreground-bright);
913
+ color: var(--color-foreground-bright);
914
+ }
915
+ .docs-mobile-nav {
916
+ margin-bottom: 1.5rem;
917
+ border-top: 1px solid var(--color-border);
918
+ font-size: 0.875rem;
919
+ }
920
+ .docs-mobile-menu {
921
+ border-bottom: 1px solid var(--color-border);
922
+ }
923
+ .docs-mobile-summary {
924
+ display: flex;
925
+ flex-wrap: wrap;
926
+ align-items: center;
927
+ gap: 0.375rem;
928
+ min-height: 2.75rem;
929
+ color: var(--color-foreground-muted);
930
+ cursor: pointer;
931
+ list-style: none;
932
+ }
933
+ .docs-mobile-summary::-webkit-details-marker {
934
+ display: none;
935
+ }
936
+ .docs-mobile-icon {
937
+ width: 1rem;
938
+ height: 1rem;
939
+ margin-right: 0.25rem;
940
+ }
941
+ .docs-mobile-current {
942
+ color: var(--color-foreground-bright);
943
+ font-weight: 500;
944
+ }
945
+ .docs-mobile-tree {
946
+ padding: 0.25rem 0 1rem 0.75rem;
947
+ }
948
+ @media (min-width: 64rem) {
949
+ .docs-mobile-nav {
950
+ display: none;
951
+ }
952
+ }
953
+ .docs-page-nav {
954
+ margin-top: 3rem;
955
+ padding-top: 0.5rem;
956
+ border-top: 1px solid var(--color-border);
957
+ }
958
+ .docs-page-nav-row {
959
+ display: flex;
960
+ justify-content: space-between;
961
+ gap: 1rem;
962
+ }
963
+ .docs-page-nav-link {
964
+ display: flex;
965
+ align-items: center;
966
+ gap: 0.5rem;
967
+ min-width: 0;
968
+ max-width: calc(50% - 0.5rem);
969
+ min-height: 2.75rem;
970
+ color: var(--color-foreground-bright);
971
+ font-size: 0.875rem;
972
+ text-decoration: none;
973
+ }
974
+ .docs-page-nav-link:hover {
975
+ color: var(--color-foreground-muted);
976
+ }
977
+ .docs-page-nav-icon {
978
+ flex: none;
979
+ width: 1rem;
980
+ height: 1rem;
981
+ }
982
+ .docs-page-nav-label {
983
+ overflow: hidden;
984
+ text-overflow: ellipsis;
985
+ white-space: nowrap;
986
+ }
987
+ .docs-page-actions {
988
+ display: flex;
989
+ flex-wrap: wrap;
990
+ gap: 0.25rem 1.25rem;
991
+ margin-top: 2rem;
992
+ font-size: 0.8125rem;
993
+ }
994
+ .docs-page-action {
995
+ display: flex;
996
+ align-items: center;
997
+ gap: 0.5rem;
998
+ min-height: 2.75rem;
999
+ padding: 0;
1000
+ border: 0;
1001
+ background: none;
1002
+ color: var(--color-foreground-muted);
1003
+ font: inherit;
1004
+ text-decoration: none;
1005
+ cursor: pointer;
1006
+ }
1007
+ .docs-page-action:hover {
1008
+ color: var(--color-foreground-bright);
1009
+ }
1010
+ .docs-page-action-icon {
1011
+ flex: none;
1012
+ width: 0.875rem;
1013
+ height: 0.875rem;
1014
+ }
1015
+ @media (min-width: 64rem) {
1016
+ .docs-page-actions {
1017
+ flex-direction: column;
1018
+ margin-top: 0;
1019
+ }
1020
+ .docs-page-action {
1021
+ min-height: 1.75rem;
1022
+ }
1023
+ .docs-toc ~ .docs-page-actions {
1024
+ margin-top: 1.5rem;
1025
+ padding-top: 1rem;
1026
+ border-top: 1px solid var(--color-border);
1027
+ }
1028
+ }
1029
+ .docs-breadcrumbs {
1030
+ display: flex;
1031
+ flex-wrap: wrap;
1032
+ gap: 0.375rem;
1033
+ margin-bottom: 0.5rem;
1034
+ font-size: 0.8125rem;
1035
+ color: var(--color-foreground-muted);
1036
+ }
1037
+ .docs-breadcrumbs-link {
1038
+ color: inherit;
1039
+ text-decoration: none;
1040
+ }
1041
+ .docs-breadcrumbs-link:hover {
1042
+ color: var(--color-foreground-bright);
1043
+ }
1044
+ @media (width < 64rem) {
1045
+ [data-jaad-default-frame] .docs-breadcrumbs {
1046
+ display: none;
1047
+ }
1048
+ }
1049
+ }
1050
+ @layer base {
1051
+ html {
1052
+ scroll-padding-top: calc(var(--jaad-header-height) + 1.5rem);
1053
+ background-color: var(--color-background);
1054
+ color: var(--color-foreground);
1055
+ font-family: var(--font-sans);
1056
+ font-size: 16px;
1057
+ scroll-behavior: smooth;
1058
+ scrollbar-gutter: stable;
1059
+ }
1060
+ h1, h2, h3 {
1061
+ color: var(--color-foreground-bright);
1062
+ font-family: var(--font-serif);
1063
+ }
1064
+ h2 {
1065
+ margin-bottom: 1.5rem;
1066
+ font-size: 1.5rem;
1067
+ font-weight: 600;
1068
+ }
1069
+ h3 {
1070
+ margin-bottom: 1rem;
1071
+ font-size: 1.2rem;
1072
+ font-weight: normal;
1073
+ }
1074
+ a {
1075
+ color: var(--color-primary);
1076
+ text-decoration-line: underline;
1077
+ text-decoration-thickness: 1px;
1078
+ text-underline-offset: 2px;
1079
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
1080
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1081
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
1082
+ --tw-duration: 200ms;
1083
+ transition-duration: 200ms;
1084
+ --tw-ease: var(--ease-in-out);
1085
+ transition-timing-function: var(--ease-in-out);
1086
+ &:hover {
1087
+ @media (hover: hover) {
1088
+ color: var(--color-primary-dark);
1089
+ }
1090
+ }
1091
+ }
1092
+ i {
1093
+ color: var(--color-primary);
1094
+ font-style: italic;
1095
+ }
1096
+ }
1097
+ @layer utilities {
1098
+ .font-brand {
1099
+ font-family: var(--font-serif);
1100
+ font-weight: 300;
1101
+ font-style: italic;
1102
+ letter-spacing: -0.01em;
1103
+ line-height: 1;
1104
+ }
1105
+ }
1106
+ html.dark {
1107
+ color-scheme: dark;
1108
+ --color-background: #0d1117;
1109
+ --color-surface: #21262d;
1110
+ --color-foreground: #c9d1d9;
1111
+ --color-foreground-bright: #e6edf3;
1112
+ --color-primary: #c9d1d9;
1113
+ --color-error: #f85149;
1114
+ --color-warning: #d29922;
1115
+ --color-info: #58a6ff;
1116
+ --color-success: #3fb950;
1117
+ --color-background-secondary: color-mix(in srgb, #3a3a3a 7%, #faf8f5);
1118
+ @supports (color: color-mix(in lab, red, red)) {
1119
+ --color-background-secondary: color-mix(in oklab, var(--color-foreground) 7%, var(--color-background));
1120
+ }
1121
+ --color-background-tertiary: color-mix(in srgb, #3a3a3a 10%, #faf8f5);
1122
+ @supports (color: color-mix(in lab, red, red)) {
1123
+ --color-background-tertiary: color-mix(in oklab, var(--color-foreground) 10%, var(--color-background));
1124
+ }
1125
+ --color-surface-hover: color-mix(in srgb, #3a3a3a 22%, #faf8f5);
1126
+ @supports (color: color-mix(in lab, red, red)) {
1127
+ --color-surface-hover: color-mix(in oklab, var(--color-foreground) 22%, var(--color-background));
1128
+ }
1129
+ --color-border-light: color-mix(in srgb, #3a3a3a 13%, #faf8f5);
1130
+ @supports (color: color-mix(in lab, red, red)) {
1131
+ --color-border-light: color-mix(in oklab, var(--color-foreground) 13%, var(--color-background));
1132
+ }
1133
+ --color-border: color-mix(in srgb, #3a3a3a 22%, #faf8f5);
1134
+ @supports (color: color-mix(in lab, red, red)) {
1135
+ --color-border: color-mix(in oklab, var(--color-foreground) 22%, var(--color-background));
1136
+ }
1137
+ --color-border-dark: color-mix(in srgb, #3a3a3a 36%, #faf8f5);
1138
+ @supports (color: color-mix(in lab, red, red)) {
1139
+ --color-border-dark: color-mix(in oklab, var(--color-foreground) 36%, var(--color-background));
1140
+ }
1141
+ --color-foreground-muted: color-mix(in srgb, #3a3a3a 57%, #faf8f5);
1142
+ @supports (color: color-mix(in lab, red, red)) {
1143
+ --color-foreground-muted: color-mix(in oklab, var(--color-foreground) 57%, var(--color-background));
1144
+ }
1145
+ --color-foreground-secondary: color-mix(in srgb, #3a3a3a 71%, #faf8f5);
1146
+ @supports (color: color-mix(in lab, red, red)) {
1147
+ --color-foreground-secondary: color-mix(in oklab, var(--color-foreground) 71%, var(--color-background));
1148
+ }
1149
+ --color-primary-light: color-mix(in srgb, #2d2d2d 71%, #faf8f5);
1150
+ @supports (color: color-mix(in lab, red, red)) {
1151
+ --color-primary-light: color-mix(in oklab, var(--color-primary) 71%, var(--color-background));
1152
+ }
1153
+ }
1154
+ @media (prefers-reduced-motion: reduce) {
1155
+ html {
1156
+ scroll-behavior: auto;
1157
+ }
1158
+ *, *::before, *::after {
1159
+ animation-duration: 0.01ms !important;
1160
+ animation-iteration-count: 1 !important;
1161
+ transition-duration: 0.01ms !important;
1162
+ scroll-behavior: auto !important;
1163
+ }
1164
+ }
1165
+ @property --tw-leading {
1166
+ syntax: "*";
1167
+ inherits: false;
1168
+ }
1169
+ @property --tw-border-style {
1170
+ syntax: "*";
1171
+ inherits: false;
1172
+ initial-value: solid;
1173
+ }
1174
+ @property --tw-shadow {
1175
+ syntax: "*";
1176
+ inherits: false;
1177
+ initial-value: 0 0 #0000;
1178
+ }
1179
+ @property --tw-shadow-color {
1180
+ syntax: "*";
1181
+ inherits: false;
1182
+ }
1183
+ @property --tw-shadow-alpha {
1184
+ syntax: "<percentage>";
1185
+ inherits: false;
1186
+ initial-value: 100%;
1187
+ }
1188
+ @property --tw-inset-shadow {
1189
+ syntax: "*";
1190
+ inherits: false;
1191
+ initial-value: 0 0 #0000;
1192
+ }
1193
+ @property --tw-inset-shadow-color {
1194
+ syntax: "*";
1195
+ inherits: false;
1196
+ }
1197
+ @property --tw-inset-shadow-alpha {
1198
+ syntax: "<percentage>";
1199
+ inherits: false;
1200
+ initial-value: 100%;
1201
+ }
1202
+ @property --tw-ring-color {
1203
+ syntax: "*";
1204
+ inherits: false;
1205
+ }
1206
+ @property --tw-ring-shadow {
1207
+ syntax: "*";
1208
+ inherits: false;
1209
+ initial-value: 0 0 #0000;
1210
+ }
1211
+ @property --tw-inset-ring-color {
1212
+ syntax: "*";
1213
+ inherits: false;
1214
+ }
1215
+ @property --tw-inset-ring-shadow {
1216
+ syntax: "*";
1217
+ inherits: false;
1218
+ initial-value: 0 0 #0000;
1219
+ }
1220
+ @property --tw-ring-inset {
1221
+ syntax: "*";
1222
+ inherits: false;
1223
+ }
1224
+ @property --tw-ring-offset-width {
1225
+ syntax: "<length>";
1226
+ inherits: false;
1227
+ initial-value: 0px;
1228
+ }
1229
+ @property --tw-ring-offset-color {
1230
+ syntax: "*";
1231
+ inherits: false;
1232
+ initial-value: #fff;
1233
+ }
1234
+ @property --tw-ring-offset-shadow {
1235
+ syntax: "*";
1236
+ inherits: false;
1237
+ initial-value: 0 0 #0000;
1238
+ }
1239
+ @property --tw-space-x-reverse {
1240
+ syntax: "*";
1241
+ inherits: false;
1242
+ initial-value: 0;
1243
+ }
1244
+ @property --tw-font-weight {
1245
+ syntax: "*";
1246
+ inherits: false;
1247
+ }
1248
+ @property --tw-backdrop-blur {
1249
+ syntax: "*";
1250
+ inherits: false;
1251
+ }
1252
+ @property --tw-backdrop-brightness {
1253
+ syntax: "*";
1254
+ inherits: false;
1255
+ }
1256
+ @property --tw-backdrop-contrast {
1257
+ syntax: "*";
1258
+ inherits: false;
1259
+ }
1260
+ @property --tw-backdrop-grayscale {
1261
+ syntax: "*";
1262
+ inherits: false;
1263
+ }
1264
+ @property --tw-backdrop-hue-rotate {
1265
+ syntax: "*";
1266
+ inherits: false;
1267
+ }
1268
+ @property --tw-backdrop-invert {
1269
+ syntax: "*";
1270
+ inherits: false;
1271
+ }
1272
+ @property --tw-backdrop-opacity {
1273
+ syntax: "*";
1274
+ inherits: false;
1275
+ }
1276
+ @property --tw-backdrop-saturate {
1277
+ syntax: "*";
1278
+ inherits: false;
1279
+ }
1280
+ @property --tw-backdrop-sepia {
1281
+ syntax: "*";
1282
+ inherits: false;
1283
+ }
1284
+ @property --tw-tracking {
1285
+ syntax: "*";
1286
+ inherits: false;
1287
+ }
1288
+ @property --tw-duration {
1289
+ syntax: "*";
1290
+ inherits: false;
1291
+ }
1292
+ @property --tw-ease {
1293
+ syntax: "*";
1294
+ inherits: false;
1295
+ }
1296
+ @layer properties {
1297
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
1298
+ *, ::before, ::after, ::backdrop {
1299
+ --tw-leading: initial;
1300
+ --tw-border-style: solid;
1301
+ --tw-shadow: 0 0 #0000;
1302
+ --tw-shadow-color: initial;
1303
+ --tw-shadow-alpha: 100%;
1304
+ --tw-inset-shadow: 0 0 #0000;
1305
+ --tw-inset-shadow-color: initial;
1306
+ --tw-inset-shadow-alpha: 100%;
1307
+ --tw-ring-color: initial;
1308
+ --tw-ring-shadow: 0 0 #0000;
1309
+ --tw-inset-ring-color: initial;
1310
+ --tw-inset-ring-shadow: 0 0 #0000;
1311
+ --tw-ring-inset: initial;
1312
+ --tw-ring-offset-width: 0px;
1313
+ --tw-ring-offset-color: #fff;
1314
+ --tw-ring-offset-shadow: 0 0 #0000;
1315
+ --tw-space-x-reverse: 0;
1316
+ --tw-font-weight: initial;
1317
+ --tw-backdrop-blur: initial;
1318
+ --tw-backdrop-brightness: initial;
1319
+ --tw-backdrop-contrast: initial;
1320
+ --tw-backdrop-grayscale: initial;
1321
+ --tw-backdrop-hue-rotate: initial;
1322
+ --tw-backdrop-invert: initial;
1323
+ --tw-backdrop-opacity: initial;
1324
+ --tw-backdrop-saturate: initial;
1325
+ --tw-backdrop-sepia: initial;
1326
+ --tw-tracking: initial;
1327
+ --tw-duration: initial;
1328
+ --tw-ease: initial;
1329
+ }
1330
+ }
1331
+ }