@clarify-labs/renderer 0.11.21 → 0.11.24

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 (56) hide show
  1. package/output/{ClarifyShell-BdkOnYRO.js → ClarifyShell-BY7ufELe.js} +96 -151
  2. package/output/ClarifyShell-BY7ufELe.js.map +1 -0
  3. package/output/{ClarifyShell-DwxpyL0U.cjs → ClarifyShell-BYJ3LIy_.cjs} +96 -151
  4. package/output/ClarifyShell-BYJ3LIy_.cjs.map +1 -0
  5. package/output/{MermaidViewer-CPEutQ9L.cjs → MermaidViewer-BeDNlsUO.cjs} +5 -5
  6. package/output/MermaidViewer-BeDNlsUO.cjs.map +1 -0
  7. package/output/{MermaidViewer-DtswU1MF.js → MermaidViewer-DHxjl1zP.js} +5 -5
  8. package/output/MermaidViewer-DHxjl1zP.js.map +1 -0
  9. package/output/{OpenApiOperation-Cv4N92VL.cjs → OpenApiOperation-La7HjfXY.cjs} +133 -112
  10. package/output/OpenApiOperation-La7HjfXY.cjs.map +1 -0
  11. package/output/{OpenApiOperation-B68CqUJW.js → OpenApiOperation-p1OjfdKR.js} +133 -112
  12. package/output/OpenApiOperation-p1OjfdKR.js.map +1 -0
  13. package/output/{PageActions-BszP_J4e.js → PageActions-DAdtjf4H.js} +56 -42
  14. package/output/PageActions-DAdtjf4H.js.map +1 -0
  15. package/output/{PageActions-CwJLUFUH.cjs → PageActions-kJT0EKLS.cjs} +61 -41
  16. package/output/PageActions-kJT0EKLS.cjs.map +1 -0
  17. package/output/{SearchDialog-LCYjnaI0.cjs → SearchDialog-BBSj23yI.cjs} +9 -9
  18. package/output/{SearchDialog-LCYjnaI0.cjs.map → SearchDialog-BBSj23yI.cjs.map} +1 -1
  19. package/output/{SearchDialog-BKl8YlX5.js → SearchDialog-DW_bndWO.js} +9 -9
  20. package/output/{SearchDialog-BKl8YlX5.js.map → SearchDialog-DW_bndWO.js.map} +1 -1
  21. package/output/app/SectionProvider.d.ts +1 -0
  22. package/output/client.cjs +3 -3
  23. package/output/client.js +3 -3
  24. package/output/core/types.d.ts +1 -0
  25. package/output/{i18n-Zmmhz7FF.js → i18n-Bt-OaKRP.js} +3 -1
  26. package/output/i18n-Bt-OaKRP.js.map +1 -0
  27. package/output/{i18n-BMNCgF9o.cjs → i18n-tOmAUK0W.cjs} +3 -1
  28. package/output/i18n-tOmAUK0W.cjs.map +1 -0
  29. package/output/index.cjs +19 -15
  30. package/output/index.cjs.map +1 -1
  31. package/output/index.js +19 -15
  32. package/output/index.js.map +1 -1
  33. package/output/openapi/components/DeprecatedBadge.d.ts +5 -0
  34. package/output/openapi/entry.d.ts +2 -0
  35. package/output/preview.cjs +25 -25
  36. package/output/preview.cjs.map +1 -1
  37. package/output/preview.js +25 -25
  38. package/output/preview.js.map +1 -1
  39. package/output/{render-DHVpckNI.cjs → render-BXsYCBIp.cjs} +2 -2
  40. package/output/{render-DHVpckNI.cjs.map → render-BXsYCBIp.cjs.map} +1 -1
  41. package/output/{render-CRQXzd-y.js → render-DU9Jt4WC.js} +2 -2
  42. package/output/{render-CRQXzd-y.js.map → render-DU9Jt4WC.js.map} +1 -1
  43. package/output/renderer.css +2943 -3278
  44. package/output/server.cjs +2 -2
  45. package/output/server.js +2 -2
  46. package/package.json +1 -1
  47. package/output/ClarifyShell-BdkOnYRO.js.map +0 -1
  48. package/output/ClarifyShell-DwxpyL0U.cjs.map +0 -1
  49. package/output/MermaidViewer-CPEutQ9L.cjs.map +0 -1
  50. package/output/MermaidViewer-DtswU1MF.js.map +0 -1
  51. package/output/OpenApiOperation-B68CqUJW.js.map +0 -1
  52. package/output/OpenApiOperation-Cv4N92VL.cjs.map +0 -1
  53. package/output/PageActions-BszP_J4e.js.map +0 -1
  54. package/output/PageActions-CwJLUFUH.cjs.map +0 -1
  55. package/output/i18n-BMNCgF9o.cjs.map +0 -1
  56. package/output/i18n-Zmmhz7FF.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { a as useConfig, c as useConfigUpdaterOptional, i as OpenApiSpecsContext, l as useLocale, n as ConfigProvider, o as useConfigOptional, r as LocaleContext, s as useConfigUpdater, t as useBuiltInText } from "./i18n-Zmmhz7FF.js";
2
- import { E as storeLocalePreference, O as themeCookieName, S as getStoredLocalePreference, _ as resolveHomeHref, a as Navigation, b as normalizeRoutePath, f as ThemeProvider, h as localizeHref, i as Header, m as isExternalHref, n as PageActionsProvider, o as SectionProvider, p as useTheme, r as PageMetadata, s as useSectionStore, v as copyTextToClipboard, x as resolveLocalizedText, y as isSameRoutePath } from "./PageActions-BszP_J4e.js";
1
+ import { a as useConfig, c as useConfigUpdaterOptional, i as OpenApiSpecsContext, l as useLocale, n as ConfigProvider, o as useConfigOptional, r as LocaleContext, s as useConfigUpdater, t as useBuiltInText } from "./i18n-Bt-OaKRP.js";
2
+ import { C as getStoredLocalePreference, D as storeLocalePreference, S as resolveLocalizedText, a as Navigation, b as isSameRoutePath, c as useSectionStore, g as localizeHref, h as isExternalHref, i as Header, k as themeCookieName, m as useTheme, n as PageActionsProvider, p as ThemeProvider, r as PageMetadata, s as SectionProvider, v as resolveHomeHref, x as normalizeRoutePath, y as copyTextToClipboard } from "./PageActions-DAdtjf4H.js";
3
3
  import { Component, Suspense, createContext, lazy, useContext, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
4
4
  import { Link, Route, Routes, useLocation, useNavigate } from "react-router-dom";
5
5
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -127,7 +127,7 @@ function BuiltInNotFoundPage() {
127
127
  "aria-labelledby": "clarify-not-found-title",
128
128
  children: [
129
129
  /* @__PURE__ */ jsx("p", {
130
- className: "text-sm/6 font-semibold text-(--clarify-theme-tokens-colors-primary)",
130
+ className: "text-sm/6 font-semibold text-(--clarify-ui-text-faint)",
131
131
  children: text("notFound.label")
132
132
  }),
133
133
  /* @__PURE__ */ jsx("h1", {
@@ -142,7 +142,7 @@ function BuiltInNotFoundPage() {
142
142
  /* @__PURE__ */ jsx("div", {
143
143
  className: "mt-8",
144
144
  children: /* @__PURE__ */ jsx(Link, {
145
- className: "inline-flex items-center rounded-(--clarify-theme-tokens-radius-md) bg-(--clarify-theme-tokens-colors-primary) px-3 py-2 text-sm/5 font-semibold text-white shadow-xs transition hover:opacity-90",
145
+ className: "inline-flex items-center rounded-(--clarify-theme-tokens-radius-md) bg-(--clarify-theme-tokens-colors-primary) px-3 py-2 text-sm/5 font-semibold text-(--clarify-ui-on-accent) shadow-(--clarify-ui-shadow-raised) transition hover:opacity-90",
146
146
  to: homeHref,
147
147
  children: text("notFound.home")
148
148
  })
@@ -314,7 +314,7 @@ function RenderErrorPanel(props) {
314
314
  }, `${label}-${index}`))
315
315
  }) : null,
316
316
  /* @__PURE__ */ jsxs("div", {
317
- className: "mt-6 overflow-hidden rounded-(--clarify-theme-tokens-radius-lg) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-code-background)",
317
+ className: "mt-6 overflow-hidden rounded-(--clarify-theme-tokens-radius-lg) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-ui-surface-elevated)",
318
318
  children: [/* @__PURE__ */ jsxs("div", {
319
319
  className: "flex items-center justify-between gap-3 border-b border-(--clarify-theme-tokens-colors-border) px-4 py-3",
320
320
  children: [/* @__PURE__ */ jsx("p", {
@@ -481,7 +481,7 @@ function PageBanner(props) {
481
481
  const link = banner.link;
482
482
  const linkLabel = link ? resolveLocalizedText(link.label, currentLocale, config.locales?.default) : "";
483
483
  return /* @__PURE__ */ jsxs("div", {
484
- className: "clarify-banner relative flex h-12 items-center border-b border-(--clarify-ui-accent-border) bg-(--clarify-ui-accent-background) px-4 text-sm text-(--clarify-ui-text) dark:border-white/10",
484
+ className: "clarify-banner relative flex h-12 items-center border-b border-(--clarify-theme-tokens-colors-border) bg-(--clarify-ui-subtle-background) px-4 text-sm text-(--clarify-ui-text)",
485
485
  children: [/* @__PURE__ */ jsxs("div", {
486
486
  className: "mx-auto flex min-w-0 w-full max-w-(--clarify-theme-layout-max-width) items-center justify-center gap-1 pr-9 sm:gap-2",
487
487
  children: [/* @__PURE__ */ jsx("p", {
@@ -615,7 +615,7 @@ function PageNavigationLink(arg0) {
615
615
  isNext ? /* @__PURE__ */ jsx(ChevronRight, { className: "size-3.5 transition-transform group-hover:translate-x-0.5" }) : null
616
616
  ]
617
617
  }), /* @__PURE__ */ jsx("span", {
618
- className: "clarify-page-navigation-title mt-1 block truncate text-base/6 font-semibold text-(--clarify-theme-tokens-colors-foreground) transition-colors group-hover:text-(--clarify-theme-tokens-colors-primary)",
618
+ className: "clarify-page-navigation-title mt-1 block truncate text-base/6 font-semibold text-(--clarify-theme-tokens-colors-foreground) transition-colors group-hover:text-(--clarify-ui-text-strong)",
619
619
  children: route.title
620
620
  })]
621
621
  })
@@ -655,7 +655,7 @@ function PageSkeleton() {
655
655
  className: "space-y-5",
656
656
  children: [
657
657
  /* @__PURE__ */ jsx(SkeletonBlock, { className: "h-3 w-24 rounded-full bg-(--clarify-skeleton-accent-background)" }),
658
- /* @__PURE__ */ jsx(SkeletonBlock, { className: "h-11 w-full max-w-(--clarify-skeleton-title-width) rounded-3xl" }),
658
+ /* @__PURE__ */ jsx(SkeletonBlock, { className: "h-11 w-full max-w-(--clarify-skeleton-title-width) rounded-(--clarify-theme-tokens-radius-lg)" }),
659
659
  /* @__PURE__ */ jsxs("div", {
660
660
  className: "max-w-3xl space-y-3",
661
661
  children: [/* @__PURE__ */ jsx(SkeletonBlock, { className: "h-4 w-full" }), /* @__PURE__ */ jsx(SkeletonBlock, { className: "h-4 w-5/6" })]
@@ -665,7 +665,7 @@ function PageSkeleton() {
665
665
  /* @__PURE__ */ jsx("div", {
666
666
  className: "grid gap-4 xl:grid-cols-2",
667
667
  children: [0, 1].map((item) => /* @__PURE__ */ jsx("div", {
668
- className: "rounded-(--clarify-skeleton-card-radius) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) p-5 shadow-sm shadow-zinc-900/5",
668
+ className: "rounded-(--clarify-skeleton-card-radius) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface) p-5 shadow-(--clarify-ui-shadow-raised) shadow-zinc-900/5",
669
669
  children: /* @__PURE__ */ jsxs("div", {
670
670
  className: "flex items-start gap-4",
671
671
  children: [/* @__PURE__ */ jsx(SkeletonBlock, { className: "h-10 w-10 shrink-0 bg-(--clarify-skeleton-accent-background)" }), /* @__PURE__ */ jsxs("div", {
@@ -681,18 +681,18 @@ function PageSkeleton() {
681
681
  /* @__PURE__ */ jsxs("article", {
682
682
  className: "space-y-5",
683
683
  children: [
684
- /* @__PURE__ */ jsx(SkeletonBlock, { className: "h-7 w-full max-w-(--clarify-skeleton-heading-width) rounded-2xl" }),
684
+ /* @__PURE__ */ jsx(SkeletonBlock, { className: "h-7 w-full max-w-(--clarify-skeleton-heading-width) rounded-(--clarify-theme-tokens-radius-lg)" }),
685
685
  /* @__PURE__ */ jsx(SkeletonParagraph, {}),
686
686
  /* @__PURE__ */ jsx("div", {
687
- className: "rounded-(--clarify-theme-tokens-radius-lg) border border-(--clarify-ui-accent-border) bg-(--clarify-ui-accent-background) p-4",
687
+ className: "rounded-(--clarify-theme-tokens-radius-lg) border border-(--clarify-ui-border) bg-(--clarify-ui-subtle-background) p-4",
688
688
  children: /* @__PURE__ */ jsx(SkeletonBlock, { className: "h-4 w-full max-w-(--clarify-skeleton-line-width) bg-(--clarify-skeleton-accent-background)" })
689
689
  })
690
690
  ]
691
691
  }),
692
692
  /* @__PURE__ */ jsxs("div", {
693
- className: "overflow-hidden rounded-(--clarify-skeleton-block-radius) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-code-background)",
693
+ className: "overflow-hidden rounded-(--clarify-skeleton-block-radius) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-ui-surface-elevated)",
694
694
  children: [/* @__PURE__ */ jsxs("div", {
695
- className: "flex items-center gap-2 border-b border-(--clarify-theme-tokens-colors-border) px-4 py-3",
695
+ className: "flex items-center gap-2 border-b border-(--clarify-ui-border) bg-(--clarify-ui-subtle-background) px-4 py-3",
696
696
  children: [
697
697
  /* @__PURE__ */ jsx(SkeletonBlock, { className: "h-3 w-3 rounded-full" }),
698
698
  /* @__PURE__ */ jsx(SkeletonBlock, { className: "h-3 w-3 rounded-full" }),
@@ -706,7 +706,7 @@ function PageSkeleton() {
706
706
  }),
707
707
  /* @__PURE__ */ jsxs("article", {
708
708
  className: "space-y-5",
709
- children: [/* @__PURE__ */ jsx(SkeletonBlock, { className: "h-7 w-full max-w-(--clarify-skeleton-heading-short-width) rounded-2xl" }), /* @__PURE__ */ jsx("div", {
709
+ children: [/* @__PURE__ */ jsx(SkeletonBlock, { className: "h-7 w-full max-w-(--clarify-skeleton-heading-short-width) rounded-(--clarify-theme-tokens-radius-lg)" }), /* @__PURE__ */ jsx("div", {
710
710
  className: "grid gap-3 sm:grid-cols-2",
711
711
  children: [
712
712
  0,
@@ -927,6 +927,7 @@ function sectionsForRoute(route) {
927
927
  title: section.title,
928
928
  level: section.level,
929
929
  badge: section.badge,
930
+ deprecated: section.deprecated,
930
931
  tags: section.tags
931
932
  })) ?? [];
932
933
  }
@@ -1269,13 +1270,12 @@ function AppShell(arg0) {
1269
1270
  var randomThemePalettes = [
1270
1271
  {
1271
1272
  primary: "#047857",
1272
- accent: "#0D9488",
1273
- background: "#ffffff",
1274
- foreground: "#111827",
1273
+ accent: "#0f766e",
1274
+ background: "#f8fafc",
1275
+ foreground: "#172033",
1275
1276
  surface: "#ffffff",
1276
- muted: "#64748b",
1277
- borderMix: .12,
1278
- codeMix: .04
1277
+ muted: "#667085",
1278
+ borderMix: .11
1279
1279
  },
1280
1280
  {
1281
1281
  primary: "#2563eb",
@@ -1284,8 +1284,7 @@ var randomThemePalettes = [
1284
1284
  foreground: "#0f172a",
1285
1285
  surface: "#ffffff",
1286
1286
  muted: "#64748b",
1287
- borderMix: .12,
1288
- codeMix: .05
1287
+ borderMix: .12
1289
1288
  },
1290
1289
  {
1291
1290
  primary: "#9333ea",
@@ -1294,8 +1293,7 @@ var randomThemePalettes = [
1294
1293
  foreground: "#2e1065",
1295
1294
  surface: "#ffffff",
1296
1295
  muted: "#7e22ce",
1297
- borderMix: .14,
1298
- codeMix: .06
1296
+ borderMix: .14
1299
1297
  },
1300
1298
  {
1301
1299
  primary: "#ea580c",
@@ -1304,8 +1302,7 @@ var randomThemePalettes = [
1304
1302
  foreground: "#431407",
1305
1303
  surface: "#fffbeb",
1306
1304
  muted: "#9a3412",
1307
- borderMix: .14,
1308
- codeMix: .06
1305
+ borderMix: .14
1309
1306
  },
1310
1307
  {
1311
1308
  primary: "#0f766e",
@@ -1314,8 +1311,7 @@ var randomThemePalettes = [
1314
1311
  foreground: "#042f2e",
1315
1312
  surface: "#ffffff",
1316
1313
  muted: "#0f766e",
1317
- borderMix: .13,
1318
- codeMix: .05
1314
+ borderMix: .13
1319
1315
  },
1320
1316
  {
1321
1317
  primary: "#be123c",
@@ -1324,8 +1320,7 @@ var randomThemePalettes = [
1324
1320
  foreground: "#4c0519",
1325
1321
  surface: "#ffffff",
1326
1322
  muted: "#9f1239",
1327
- borderMix: .13,
1328
- codeMix: .06
1323
+ borderMix: .13
1329
1324
  },
1330
1325
  {
1331
1326
  primary: "#4f46e5",
@@ -1334,8 +1329,7 @@ var randomThemePalettes = [
1334
1329
  foreground: "#1e1b4b",
1335
1330
  surface: "#ffffff",
1336
1331
  muted: "#4338ca",
1337
- borderMix: .12,
1338
- codeMix: .05
1332
+ borderMix: .12
1339
1333
  },
1340
1334
  {
1341
1335
  primary: "#0e7490",
@@ -1344,8 +1338,7 @@ var randomThemePalettes = [
1344
1338
  foreground: "#083344",
1345
1339
  surface: "#ffffff",
1346
1340
  muted: "#155e75",
1347
- borderMix: .13,
1348
- codeMix: .05
1341
+ borderMix: .13
1349
1342
  },
1350
1343
  {
1351
1344
  primary: "#7c2d12",
@@ -1354,8 +1347,7 @@ var randomThemePalettes = [
1354
1347
  foreground: "#450a0a",
1355
1348
  surface: "#fff7ed",
1356
1349
  muted: "#991b1b",
1357
- borderMix: .14,
1358
- codeMix: .06
1350
+ borderMix: .14
1359
1351
  },
1360
1352
  {
1361
1353
  primary: "#365314",
@@ -1364,8 +1356,7 @@ var randomThemePalettes = [
1364
1356
  foreground: "#1a2e05",
1365
1357
  surface: "#ffffff",
1366
1358
  muted: "#4d7c0f",
1367
- borderMix: .13,
1368
- codeMix: .05
1359
+ borderMix: .13
1369
1360
  },
1370
1361
  {
1371
1362
  primary: "#0369a1",
@@ -1374,8 +1365,7 @@ var randomThemePalettes = [
1374
1365
  foreground: "#082f49",
1375
1366
  surface: "#ffffff",
1376
1367
  muted: "#075985",
1377
- borderMix: .12,
1378
- codeMix: .05
1368
+ borderMix: .12
1379
1369
  },
1380
1370
  {
1381
1371
  primary: "#a21caf",
@@ -1384,8 +1374,7 @@ var randomThemePalettes = [
1384
1374
  foreground: "#4a044e",
1385
1375
  surface: "#ffffff",
1386
1376
  muted: "#86198f",
1387
- borderMix: .14,
1388
- codeMix: .06
1377
+ borderMix: .14
1389
1378
  },
1390
1379
  {
1391
1380
  primary: "#c2410c",
@@ -1394,8 +1383,7 @@ var randomThemePalettes = [
1394
1383
  foreground: "#431407",
1395
1384
  surface: "#ffffff",
1396
1385
  muted: "#9a3412",
1397
- borderMix: .13,
1398
- codeMix: .05
1386
+ borderMix: .13
1399
1387
  },
1400
1388
  {
1401
1389
  primary: "#1d4ed8",
@@ -1404,8 +1392,7 @@ var randomThemePalettes = [
1404
1392
  foreground: "#172554",
1405
1393
  surface: "#ffffff",
1406
1394
  muted: "#1e40af",
1407
- borderMix: .12,
1408
- codeMix: .05
1395
+ borderMix: .12
1409
1396
  },
1410
1397
  {
1411
1398
  primary: "#6d28d9",
@@ -1414,8 +1401,7 @@ var randomThemePalettes = [
1414
1401
  foreground: "#2e1065",
1415
1402
  surface: "#ffffff",
1416
1403
  muted: "#6b21a8",
1417
- borderMix: .13,
1418
- codeMix: .05
1404
+ borderMix: .13
1419
1405
  },
1420
1406
  {
1421
1407
  primary: "#0f172a",
@@ -1424,8 +1410,7 @@ var randomThemePalettes = [
1424
1410
  foreground: "#0f172a",
1425
1411
  surface: "#ffffff",
1426
1412
  muted: "#475569",
1427
- borderMix: .12,
1428
- codeMix: .04
1413
+ borderMix: .12
1429
1414
  },
1430
1415
  {
1431
1416
  primary: "#18181b",
@@ -1434,8 +1419,7 @@ var randomThemePalettes = [
1434
1419
  foreground: "#18181b",
1435
1420
  surface: "#ffffff",
1436
1421
  muted: "#52525b",
1437
- borderMix: .12,
1438
- codeMix: .04
1422
+ borderMix: .12
1439
1423
  },
1440
1424
  {
1441
1425
  primary: "#166534",
@@ -1444,8 +1428,7 @@ var randomThemePalettes = [
1444
1428
  foreground: "#052e16",
1445
1429
  surface: "#ffffff",
1446
1430
  muted: "#15803d",
1447
- borderMix: .13,
1448
- codeMix: .05
1431
+ borderMix: .13
1449
1432
  },
1450
1433
  {
1451
1434
  primary: "#9d174d",
@@ -1454,8 +1437,7 @@ var randomThemePalettes = [
1454
1437
  foreground: "#500724",
1455
1438
  surface: "#ffffff",
1456
1439
  muted: "#be185d",
1457
- borderMix: .14,
1458
- codeMix: .06
1440
+ borderMix: .14
1459
1441
  },
1460
1442
  {
1461
1443
  primary: "#4338ca",
@@ -1464,8 +1446,7 @@ var randomThemePalettes = [
1464
1446
  foreground: "#312e81",
1465
1447
  surface: "#ffffff",
1466
1448
  muted: "#4f46e5",
1467
- borderMix: .13,
1468
- codeMix: .05
1449
+ borderMix: .13
1469
1450
  },
1470
1451
  {
1471
1452
  primary: "#92400e",
@@ -1474,8 +1455,7 @@ var randomThemePalettes = [
1474
1455
  foreground: "#451a03",
1475
1456
  surface: "#ffffff",
1476
1457
  muted: "#a16207",
1477
- borderMix: .13,
1478
- codeMix: .05
1458
+ borderMix: .13
1479
1459
  },
1480
1460
  {
1481
1461
  primary: "#0f766e",
@@ -1484,8 +1464,7 @@ var randomThemePalettes = [
1484
1464
  foreground: "#134e4a",
1485
1465
  surface: "#ffffff",
1486
1466
  muted: "#0f766e",
1487
- borderMix: .12,
1488
- codeMix: .05
1467
+ borderMix: .12
1489
1468
  },
1490
1469
  {
1491
1470
  primary: "#1e3a8a",
@@ -1494,8 +1473,7 @@ var randomThemePalettes = [
1494
1473
  foreground: "#0f172a",
1495
1474
  surface: "#ffffff",
1496
1475
  muted: "#475569",
1497
- borderMix: .12,
1498
- codeMix: .04
1476
+ borderMix: .12
1499
1477
  },
1500
1478
  {
1501
1479
  primary: "#581c87",
@@ -1504,8 +1482,7 @@ var randomThemePalettes = [
1504
1482
  foreground: "#3b0764",
1505
1483
  surface: "#ffffff",
1506
1484
  muted: "#7e22ce",
1507
- borderMix: .14,
1508
- codeMix: .06
1485
+ borderMix: .14
1509
1486
  },
1510
1487
  {
1511
1488
  primary: "#991b1b",
@@ -1514,8 +1491,7 @@ var randomThemePalettes = [
1514
1491
  foreground: "#450a0a",
1515
1492
  surface: "#ffffff",
1516
1493
  muted: "#b91c1c",
1517
- borderMix: .14,
1518
- codeMix: .06
1494
+ borderMix: .14
1519
1495
  },
1520
1496
  {
1521
1497
  primary: "#115e59",
@@ -1524,8 +1500,7 @@ var randomThemePalettes = [
1524
1500
  foreground: "#042f2e",
1525
1501
  surface: "#ffffff",
1526
1502
  muted: "#0f766e",
1527
- borderMix: .13,
1528
- codeMix: .05
1503
+ borderMix: .13
1529
1504
  },
1530
1505
  {
1531
1506
  primary: "#075985",
@@ -1534,8 +1509,7 @@ var randomThemePalettes = [
1534
1509
  foreground: "#082f49",
1535
1510
  surface: "#ffffff",
1536
1511
  muted: "#0369a1",
1537
- borderMix: .12,
1538
- codeMix: .05
1512
+ borderMix: .12
1539
1513
  },
1540
1514
  {
1541
1515
  primary: "#7e22ce",
@@ -1544,8 +1518,7 @@ var randomThemePalettes = [
1544
1518
  foreground: "#3b0764",
1545
1519
  surface: "#ffffff",
1546
1520
  muted: "#9333ea",
1547
- borderMix: .14,
1548
- codeMix: .06
1521
+ borderMix: .14
1549
1522
  },
1550
1523
  {
1551
1524
  primary: "#b45309",
@@ -1554,8 +1527,7 @@ var randomThemePalettes = [
1554
1527
  foreground: "#451a03",
1555
1528
  surface: "#ffffff",
1556
1529
  muted: "#92400e",
1557
- borderMix: .13,
1558
- codeMix: .05
1530
+ borderMix: .13
1559
1531
  },
1560
1532
  {
1561
1533
  primary: "#065f46",
@@ -1564,8 +1536,7 @@ var randomThemePalettes = [
1564
1536
  foreground: "#022c22",
1565
1537
  surface: "#ffffff",
1566
1538
  muted: "#047857",
1567
- borderMix: .13,
1568
- codeMix: .05
1539
+ borderMix: .13
1569
1540
  },
1570
1541
  {
1571
1542
  primary: "#312e81",
@@ -1574,8 +1545,7 @@ var randomThemePalettes = [
1574
1545
  foreground: "#1e1b4b",
1575
1546
  surface: "#ffffff",
1576
1547
  muted: "#4338ca",
1577
- borderMix: .13,
1578
- codeMix: .05
1548
+ borderMix: .13
1579
1549
  },
1580
1550
  {
1581
1551
  primary: "#831843",
@@ -1584,8 +1554,7 @@ var randomThemePalettes = [
1584
1554
  foreground: "#500724",
1585
1555
  surface: "#ffffff",
1586
1556
  muted: "#be185d",
1587
- borderMix: .14,
1588
- codeMix: .06
1557
+ borderMix: .14
1589
1558
  },
1590
1559
  {
1591
1560
  primary: "#164e63",
@@ -1594,8 +1563,7 @@ var randomThemePalettes = [
1594
1563
  foreground: "#083344",
1595
1564
  surface: "#ffffff",
1596
1565
  muted: "#155e75",
1597
- borderMix: .13,
1598
- codeMix: .05
1566
+ borderMix: .13
1599
1567
  },
1600
1568
  {
1601
1569
  primary: "#3f6212",
@@ -1604,8 +1572,7 @@ var randomThemePalettes = [
1604
1572
  foreground: "#1a2e05",
1605
1573
  surface: "#ffffff",
1606
1574
  muted: "#4d7c0f",
1607
- borderMix: .13,
1608
- codeMix: .05
1575
+ borderMix: .13
1609
1576
  },
1610
1577
  {
1611
1578
  primary: "#1e40af",
@@ -1614,8 +1581,7 @@ var randomThemePalettes = [
1614
1581
  foreground: "#172554",
1615
1582
  surface: "#ffffff",
1616
1583
  muted: "#2563eb",
1617
- borderMix: .12,
1618
- codeMix: .05
1584
+ borderMix: .12
1619
1585
  },
1620
1586
  {
1621
1587
  primary: "#701a75",
@@ -1624,8 +1590,7 @@ var randomThemePalettes = [
1624
1590
  foreground: "#4a044e",
1625
1591
  surface: "#ffffff",
1626
1592
  muted: "#a21caf",
1627
- borderMix: .14,
1628
- codeMix: .06
1593
+ borderMix: .14
1629
1594
  },
1630
1595
  {
1631
1596
  primary: "#713f12",
@@ -1634,8 +1599,7 @@ var randomThemePalettes = [
1634
1599
  foreground: "#422006",
1635
1600
  surface: "#ffffff",
1636
1601
  muted: "#a16207",
1637
- borderMix: .13,
1638
- codeMix: .05
1602
+ borderMix: .13
1639
1603
  },
1640
1604
  {
1641
1605
  primary: "#1f2937",
@@ -1644,8 +1608,7 @@ var randomThemePalettes = [
1644
1608
  foreground: "#111827",
1645
1609
  surface: "#ffffff",
1646
1610
  muted: "#4b5563",
1647
- borderMix: .12,
1648
- codeMix: .04
1611
+ borderMix: .12
1649
1612
  },
1650
1613
  {
1651
1614
  primary: "#27272a",
@@ -1654,8 +1617,7 @@ var randomThemePalettes = [
1654
1617
  foreground: "#18181b",
1655
1618
  surface: "#ffffff",
1656
1619
  muted: "#52525b",
1657
- borderMix: .12,
1658
- codeMix: .04
1620
+ borderMix: .12
1659
1621
  },
1660
1622
  {
1661
1623
  primary: "#374151",
@@ -1664,8 +1626,7 @@ var randomThemePalettes = [
1664
1626
  foreground: "#111827",
1665
1627
  surface: "#ffffff",
1666
1628
  muted: "#4b5563",
1667
- borderMix: .12,
1668
- codeMix: .04
1629
+ borderMix: .12
1669
1630
  },
1670
1631
  {
1671
1632
  primary: "#064e3b",
@@ -1674,8 +1635,7 @@ var randomThemePalettes = [
1674
1635
  foreground: "#022c22",
1675
1636
  surface: "#ffffff",
1676
1637
  muted: "#047857",
1677
- borderMix: .12,
1678
- codeMix: .05
1638
+ borderMix: .12
1679
1639
  },
1680
1640
  {
1681
1641
  primary: "#7f1d1d",
@@ -1684,8 +1644,7 @@ var randomThemePalettes = [
1684
1644
  foreground: "#450a0a",
1685
1645
  surface: "#ffffff",
1686
1646
  muted: "#991b1b",
1687
- borderMix: .14,
1688
- codeMix: .06
1647
+ borderMix: .14
1689
1648
  },
1690
1649
  {
1691
1650
  primary: "#3730a3",
@@ -1694,8 +1653,7 @@ var randomThemePalettes = [
1694
1653
  foreground: "#1e1b4b",
1695
1654
  surface: "#ffffff",
1696
1655
  muted: "#4f46e5",
1697
- borderMix: .12,
1698
- codeMix: .05
1656
+ borderMix: .12
1699
1657
  },
1700
1658
  {
1701
1659
  primary: "#9f1239",
@@ -1704,8 +1662,7 @@ var randomThemePalettes = [
1704
1662
  foreground: "#4c0519",
1705
1663
  surface: "#ffffff",
1706
1664
  muted: "#be123c",
1707
- borderMix: .14,
1708
- codeMix: .06
1665
+ borderMix: .14
1709
1666
  },
1710
1667
  {
1711
1668
  primary: "#134e4a",
@@ -1714,8 +1671,7 @@ var randomThemePalettes = [
1714
1671
  foreground: "#042f2e",
1715
1672
  surface: "#ffffff",
1716
1673
  muted: "#0f766e",
1717
- borderMix: .13,
1718
- codeMix: .05
1674
+ borderMix: .13
1719
1675
  },
1720
1676
  {
1721
1677
  primary: "#1d4ed8",
@@ -1724,8 +1680,7 @@ var randomThemePalettes = [
1724
1680
  foreground: "#0f172a",
1725
1681
  surface: "#ffffff",
1726
1682
  muted: "#475569",
1727
- borderMix: .12,
1728
- codeMix: .05
1683
+ borderMix: .12
1729
1684
  },
1730
1685
  {
1731
1686
  primary: "#6b21a8",
@@ -1734,8 +1689,7 @@ var randomThemePalettes = [
1734
1689
  foreground: "#2e1065",
1735
1690
  surface: "#ffffff",
1736
1691
  muted: "#7e22ce",
1737
- borderMix: .14,
1738
- codeMix: .06
1692
+ borderMix: .14
1739
1693
  },
1740
1694
  {
1741
1695
  primary: "#155e75",
@@ -1744,8 +1698,7 @@ var randomThemePalettes = [
1744
1698
  foreground: "#083344",
1745
1699
  surface: "#ffffff",
1746
1700
  muted: "#0369a1",
1747
- borderMix: .13,
1748
- codeMix: .05
1701
+ borderMix: .13
1749
1702
  },
1750
1703
  {
1751
1704
  primary: "#854d0e",
@@ -1754,8 +1707,7 @@ var randomThemePalettes = [
1754
1707
  foreground: "#422006",
1755
1708
  surface: "#ffffff",
1756
1709
  muted: "#a16207",
1757
- borderMix: .13,
1758
- codeMix: .05
1710
+ borderMix: .13
1759
1711
  },
1760
1712
  {
1761
1713
  primary: "#14532d",
@@ -1764,8 +1716,7 @@ var randomThemePalettes = [
1764
1716
  foreground: "#052e16",
1765
1717
  surface: "#ffffff",
1766
1718
  muted: "#166534",
1767
- borderMix: .13,
1768
- codeMix: .05
1719
+ borderMix: .13
1769
1720
  },
1770
1721
  {
1771
1722
  primary: "#4c1d95",
@@ -1774,8 +1725,7 @@ var randomThemePalettes = [
1774
1725
  foreground: "#2e1065",
1775
1726
  surface: "#ffffff",
1776
1727
  muted: "#6d28d9",
1777
- borderMix: .14,
1778
- codeMix: .06
1728
+ borderMix: .14
1779
1729
  },
1780
1730
  {
1781
1731
  primary: "#9a3412",
@@ -1784,8 +1734,7 @@ var randomThemePalettes = [
1784
1734
  foreground: "#431407",
1785
1735
  surface: "#ffffff",
1786
1736
  muted: "#c2410c",
1787
- borderMix: .13,
1788
- codeMix: .05
1737
+ borderMix: .13
1789
1738
  },
1790
1739
  {
1791
1740
  primary: "#0c4a6e",
@@ -1794,8 +1743,7 @@ var randomThemePalettes = [
1794
1743
  foreground: "#082f49",
1795
1744
  surface: "#ffffff",
1796
1745
  muted: "#075985",
1797
- borderMix: .13,
1798
- codeMix: .05
1746
+ borderMix: .13
1799
1747
  },
1800
1748
  {
1801
1749
  primary: "#166534",
@@ -1804,8 +1752,7 @@ var randomThemePalettes = [
1804
1752
  foreground: "#052e16",
1805
1753
  surface: "#ffffff",
1806
1754
  muted: "#15803d",
1807
- borderMix: .13,
1808
- codeMix: .05
1755
+ borderMix: .13
1809
1756
  },
1810
1757
  {
1811
1758
  primary: "#be185d",
@@ -1814,8 +1761,7 @@ var randomThemePalettes = [
1814
1761
  foreground: "#500724",
1815
1762
  surface: "#ffffff",
1816
1763
  muted: "#9d174d",
1817
- borderMix: .14,
1818
- codeMix: .06
1764
+ borderMix: .14
1819
1765
  },
1820
1766
  {
1821
1767
  primary: "#5b21b6",
@@ -1824,16 +1770,15 @@ var randomThemePalettes = [
1824
1770
  foreground: "#2e1065",
1825
1771
  surface: "#ffffff",
1826
1772
  muted: "#6d28d9",
1827
- borderMix: .14,
1828
- codeMix: .06
1773
+ borderMix: .14
1829
1774
  }
1830
1775
  ];
1831
1776
  var randomRadiusSets = [
1832
1777
  {
1833
- sm: "2px",
1834
- md: "6px",
1835
- lg: "10px",
1836
- xl: "14px"
1778
+ sm: "6px",
1779
+ md: "8px",
1780
+ lg: "12px",
1781
+ xl: "16px"
1837
1782
  },
1838
1783
  {
1839
1784
  sm: "4px",
@@ -1885,7 +1830,7 @@ var randomTabsLayouts = ["subnav", "navbar"];
1885
1830
  var randomDarkAccentPairs = [
1886
1831
  {
1887
1832
  primary: "#34d399",
1888
- accent: "#2dd4bf"
1833
+ accent: "#5eead4"
1889
1834
  },
1890
1835
  {
1891
1836
  primary: "#60a5fa",
@@ -1949,12 +1894,12 @@ function createRandomThemeColors(selection) {
1949
1894
  return {
1950
1895
  primary: modeColor(palette.primary, darkAccents.primary),
1951
1896
  accent: modeColor(palette.accent, darkAccents.accent),
1952
- background: modeColor(palette.background, "#09090b"),
1953
- foreground: modeColor(palette.foreground, "#f8fafc"),
1897
+ background: modeColor(palette.background, "#0a0a0b"),
1898
+ foreground: modeColor(palette.foreground, "#f4f4f5"),
1954
1899
  surface: modeColor(palette.surface, "#18181b"),
1955
1900
  muted: modeColor(palette.muted, "#a1a1aa"),
1956
- border: modeColor(randomRgbMix(palette.foreground, palette.borderMix), "rgb(255 255 255 / 0.1)"),
1957
- codeBackground: modeColor(randomRgbMix(palette.primary, palette.codeMix), "#18181b")
1901
+ border: modeColor(randomRgbMix(palette.foreground, palette.borderMix), "rgb(255 255 255 / 0.11)"),
1902
+ codeBackground: modeColor("#18181b", "#171719")
1958
1903
  };
1959
1904
  }
1960
1905
  function createRandomTheme() {
@@ -2008,7 +1953,7 @@ var themePresets = {
2008
1953
  dark: "rgb(255 255 255 / 0.11)"
2009
1954
  },
2010
1955
  codeBackground: {
2011
- light: "#f1f5f3",
1956
+ light: "#18181b",
2012
1957
  dark: "#171719"
2013
1958
  }
2014
1959
  },
@@ -2048,7 +1993,7 @@ var themePresets = {
2048
1993
  dark: "rgb(255 255 255 / 0.1)"
2049
1994
  },
2050
1995
  codeBackground: {
2051
- light: "#f4f4f5",
1996
+ light: "#18181b",
2052
1997
  dark: "#18181b"
2053
1998
  }
2054
1999
  },
@@ -2247,14 +2192,14 @@ function TextField(props) {
2247
2192
  type: "color",
2248
2193
  value,
2249
2194
  "aria-label": `${label} color`,
2250
- className: "h-5 w-8 shrink-0 cursor-pointer rounded border border-(--clarify-theme-tokens-colors-border) bg-transparent p-0",
2195
+ className: "h-5 w-8 shrink-0 cursor-pointer rounded-(--clarify-theme-tokens-radius-sm) border border-(--clarify-theme-tokens-colors-border) bg-transparent p-0",
2251
2196
  onChange: handleTextChange
2252
2197
  }) : null]
2253
2198
  }), /* @__PURE__ */ jsx("input", {
2254
2199
  id,
2255
2200
  value,
2256
2201
  spellCheck: false,
2257
- className: "h-9 w-full min-w-0 rounded-(--clarify-theme-tokens-radius-md) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-background) px-2.5 font-mono text-xs text-(--clarify-theme-tokens-colors-foreground) shadow-xs outline-none transition focus:border-(--clarify-theme-tokens-colors-primary) focus:ring-2 focus:ring-(--clarify-ui-accent-border)",
2202
+ className: "h-9 w-full min-w-0 rounded-(--clarify-theme-tokens-radius-md) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-background) px-2.5 font-mono text-xs text-(--clarify-theme-tokens-colors-foreground) shadow-(--clarify-ui-shadow-raised) outline-none transition focus:border-(--clarify-theme-tokens-colors-primary) focus:ring-2 focus:ring-(--clarify-ui-accent-border)",
2258
2203
  onChange: handleTextChange
2259
2204
  })]
2260
2205
  });
@@ -2302,14 +2247,14 @@ function ColorModeInput(props) {
2302
2247
  type: "color",
2303
2248
  value,
2304
2249
  "aria-label": `${id} color`,
2305
- className: "h-4 w-6 shrink-0 cursor-pointer rounded border border-(--clarify-theme-tokens-colors-border) bg-transparent p-0",
2250
+ className: "h-4 w-6 shrink-0 cursor-pointer rounded-(--clarify-theme-tokens-radius-sm) border border-(--clarify-theme-tokens-colors-border) bg-transparent p-0",
2306
2251
  onChange: handleTextChange
2307
2252
  }) : null]
2308
2253
  }), /* @__PURE__ */ jsx("input", {
2309
2254
  id,
2310
2255
  value,
2311
2256
  spellCheck: false,
2312
- className: "h-8 w-full min-w-0 rounded-(--clarify-theme-tokens-radius-sm) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-background) px-2 font-mono text-xs text-(--clarify-theme-tokens-colors-foreground) shadow-xs outline-none transition focus:border-(--clarify-theme-tokens-colors-primary) focus:ring-2 focus:ring-(--clarify-ui-accent-border)",
2257
+ className: "h-8 w-full min-w-0 rounded-(--clarify-theme-tokens-radius-sm) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-background) px-2 font-mono text-xs text-(--clarify-theme-tokens-colors-foreground) shadow-(--clarify-ui-shadow-raised) outline-none transition focus:border-(--clarify-theme-tokens-colors-primary) focus:ring-2 focus:ring-(--clarify-ui-accent-border)",
2313
2258
  onChange: handleTextChange
2314
2259
  })]
2315
2260
  });
@@ -2450,7 +2395,7 @@ function ThemeEditor(props) {
2450
2395
  children: [/* @__PURE__ */ jsxs("select", {
2451
2396
  id: "clarify-theme-editor-preset",
2452
2397
  value: theme.preset,
2453
- className: "h-9 w-full appearance-none rounded-(--clarify-theme-tokens-radius-md) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-background) px-2.5 pr-9 text-sm text-(--clarify-theme-tokens-colors-foreground) shadow-xs outline-none transition focus:border-(--clarify-theme-tokens-colors-primary) focus:ring-2 focus:ring-(--clarify-ui-accent-border)",
2398
+ className: "h-9 w-full appearance-none rounded-(--clarify-theme-tokens-radius-md) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-background) px-2.5 pr-9 text-sm text-(--clarify-theme-tokens-colors-foreground) shadow-(--clarify-ui-shadow-raised) outline-none transition focus:border-(--clarify-theme-tokens-colors-primary) focus:ring-2 focus:ring-(--clarify-ui-accent-border)",
2454
2399
  onChange: (event) => updatePreset(event.target.value),
2455
2400
  children: [/* @__PURE__ */ jsx("option", {
2456
2401
  value: "default",
@@ -2507,7 +2452,7 @@ function ThemeEditor(props) {
2507
2452
  children: [/* @__PURE__ */ jsxs("select", {
2508
2453
  id: "clarify-theme-editor-tabs-position",
2509
2454
  value: config.layout?.tabs ?? "subnav",
2510
- className: "h-9 w-full appearance-none rounded-(--clarify-theme-tokens-radius-md) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-background) px-2.5 pr-9 text-sm text-(--clarify-theme-tokens-colors-foreground) shadow-xs outline-none transition focus:border-(--clarify-theme-tokens-colors-primary) focus:ring-2 focus:ring-(--clarify-ui-accent-border)",
2455
+ className: "h-9 w-full appearance-none rounded-(--clarify-theme-tokens-radius-md) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-background) px-2.5 pr-9 text-sm text-(--clarify-theme-tokens-colors-foreground) shadow-(--clarify-ui-shadow-raised) outline-none transition focus:border-(--clarify-theme-tokens-colors-primary) focus:ring-2 focus:ring-(--clarify-ui-accent-border)",
2511
2456
  onChange: (event) => updateConfig((currentConfig) => ({
2512
2457
  ...currentConfig,
2513
2458
  layout: {
@@ -2555,7 +2500,7 @@ function ThemeEditor(props) {
2555
2500
  })]
2556
2501
  }), /* @__PURE__ */ jsx("button", {
2557
2502
  type: "button",
2558
- className: "rounded-(--clarify-theme-tokens-radius-md) bg-(--clarify-theme-tokens-colors-primary) px-3 py-1.5 text-xs/5 font-semibold text-white shadow-xs transition hover:opacity-90",
2503
+ className: "rounded-(--clarify-theme-tokens-radius-md) bg-(--clarify-theme-tokens-colors-primary) px-3 py-1.5 text-xs/5 font-semibold text-(--clarify-ui-on-accent) shadow-(--clarify-ui-shadow-raised) transition hover:opacity-90",
2559
2504
  onClick: copyConfig,
2560
2505
  children: copyState === "copied" ? "Copied" : copyState === "failed" ? "Copy failed" : "Copy config"
2561
2506
  })]
@@ -2564,7 +2509,7 @@ function ThemeEditor(props) {
2564
2509
  function renderEditorPanel() {
2565
2510
  if (!isOpen) return null;
2566
2511
  return /* @__PURE__ */ jsxs("section", {
2567
- className: "mb-3 flex max-h-(--clarify-theme-editor-panel-max-height) w-(--clarify-theme-editor-width) flex-col overflow-hidden rounded-md border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface)/95 shadow-2xl shadow-zinc-900/15 backdrop-blur",
2512
+ className: "mb-3 flex max-h-(--clarify-theme-editor-panel-max-height) w-(--clarify-theme-editor-width) flex-col overflow-hidden rounded-(--clarify-theme-tokens-radius-md) border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface)/95 shadow-(--clarify-ui-shadow-popover) shadow-zinc-900/15 backdrop-blur",
2568
2513
  "aria-label": "Clarify theme editor",
2569
2514
  children: [
2570
2515
  renderPanelHeader(),
@@ -2577,7 +2522,7 @@ function ThemeEditor(props) {
2577
2522
  className: clsx("clarify-theme-editor fixed right-4 bottom-4 z-50 text-(--clarify-theme-tokens-colors-foreground)", className),
2578
2523
  children: [renderEditorPanel(), /* @__PURE__ */ jsx("button", {
2579
2524
  type: "button",
2580
- className: "ml-auto flex size-12 items-center justify-center rounded-full border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface)/95 text-(--clarify-theme-tokens-colors-primary) shadow-xl shadow-zinc-900/15 backdrop-blur transition hover:scale-105 hover:bg-(--clarify-ui-accent-background) focus:outline-none focus:ring-2 focus:ring-(--clarify-ui-accent-border)",
2525
+ className: "ml-auto flex size-12 items-center justify-center rounded-full border border-(--clarify-theme-tokens-colors-border) bg-(--clarify-theme-tokens-colors-surface)/95 text-(--clarify-theme-tokens-colors-primary) shadow-(--clarify-ui-shadow-popover) shadow-zinc-900/15 backdrop-blur transition hover:scale-105 hover:bg-(--clarify-ui-accent-background) focus:outline-none focus:ring-2 focus:ring-(--clarify-ui-accent-border)",
2581
2526
  "aria-label": isOpen ? "Close Clarify theme editor" : "Open Clarify theme editor",
2582
2527
  "aria-expanded": isOpen,
2583
2528
  onClick: () => setIsOpen((value) => !value),
@@ -2640,4 +2585,4 @@ function ClarifyShell(props) {
2640
2585
  //#endregion
2641
2586
  export { themeBootstrapScript as a, AppShell as c, RenderErrorPanel as d, BuiltWithClarify as f, useSlot as g, SlotProvider as h, themeEditorPresets as i, PageFooter as l, RuntimeSlotsProvider as m, ThemeEditor as n, themePresets as o, RuntimeSlot as p, applyThemeVariables as r, themeStorageKey as s, ClarifyShell as t, PageBanner as u };
2642
2587
 
2643
- //# sourceMappingURL=ClarifyShell-BdkOnYRO.js.map
2588
+ //# sourceMappingURL=ClarifyShell-BY7ufELe.js.map