@plitzi/sdk-dev-tools 0.39.4 → 0.39.7

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 (105) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/components/DevToolsIndicator/DevToolsIndicator.mjs +2 -2
  3. package/dist/components/DevToolsPanel/DevToolsBody.mjs +1 -1
  4. package/dist/components/DevToolsPanel/DevToolsButton.mjs +1 -1
  5. package/dist/components/DevToolsPanel/DevToolsHeader.mjs +4 -4
  6. package/dist/components/DevToolsPanel/DevToolsPanel.mjs +1 -1
  7. package/dist/components/DevToolsPanel/DevToolsSubHeader.mjs +1 -1
  8. package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/ActionsToolbar/ActionsToolbar.mjs +5 -5
  9. package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/RunDetail/RunDetail.mjs +23 -23
  10. package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/RunList/RunList.mjs +2 -2
  11. package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/RunRow/RunRow.mjs +7 -7
  12. package/dist/components/DevToolsPanel/tabs/ActionsViewer/components/StepRow/StepRow.mjs +5 -5
  13. package/dist/components/DevToolsPanel/tabs/ActionsViewer/helpers.mjs +2 -2
  14. package/dist/components/DevToolsPanel/tabs/CacheViewer/CacheViewer.mjs +6 -6
  15. package/dist/components/DevToolsPanel/tabs/CacheViewer/components/CacheRow/CacheRow.mjs +8 -8
  16. package/dist/components/DevToolsPanel/tabs/ElementsViewer/components/DetailsRow/DetailsRow.mjs +3 -3
  17. package/dist/components/DevToolsPanel/tabs/ElementsViewer/components/DetailsRuntime/DetailsRuntime.mjs +1 -1
  18. package/dist/components/DevToolsPanel/tabs/ElementsViewer/components/ElementsTree/ElementsTree.mjs +2 -2
  19. package/dist/components/DevToolsPanel/tabs/ElementsViewer/components/TreeRow/TreeRow.mjs +3 -3
  20. package/dist/components/DevToolsPanel/tabs/ElementsViewer/components/TreeSection/TreeSection.mjs +2 -2
  21. package/dist/components/DevToolsPanel/tabs/FlagsViewer/FlagSource.mjs +1 -1
  22. package/dist/components/DevToolsPanel/tabs/FlagsViewer/FlagsListItem.mjs +8 -8
  23. package/dist/components/DevToolsPanel/tabs/FlagsViewer/FlagsViewer.mjs +4 -4
  24. package/dist/components/DevToolsPanel/tabs/HistoryViewer/HistoryViewer.mjs +1 -1
  25. package/dist/components/DevToolsPanel/tabs/HistoryViewer/components/HistoryEntryItem/HistoryEntryItem.mjs +2 -2
  26. package/dist/components/DevToolsPanel/tabs/HistoryViewer/components/HistoryToolbar/HistoryToolbar.mjs +5 -5
  27. package/dist/components/DevToolsPanel/tabs/Logs/LogStatus.mjs +1 -1
  28. package/dist/components/DevToolsPanel/tabs/Logs/LogStatusIcon.mjs +1 -1
  29. package/dist/components/DevToolsPanel/tabs/Logs/Logs.mjs +4 -4
  30. package/dist/components/DevToolsPanel/tabs/Logs/LogsSummary/LogsSummary.mjs +1 -1
  31. package/dist/components/DevToolsPanel/tabs/Logs/LogsSummary/LogsSummaryItem.mjs +4 -4
  32. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogAction/LogAction.mjs +5 -5
  33. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/BodyContent.mjs +1 -1
  34. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/BodyHeader.mjs +13 -13
  35. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/ExecutionTree/ExecutionTree.mjs +1 -1
  36. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/ExecutionTree/ExecutionTreeNode.mjs +5 -5
  37. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/InteractionNode/InteractionNode.mjs +2 -2
  38. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/InteractionNode/NodeHeader.mjs +9 -9
  39. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/InteractionNode/NodeMetadata.mjs +2 -2
  40. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/InteractionNode/NodeWhen.mjs +2 -2
  41. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteraction.mjs +3 -3
  42. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteractionBody.mjs +3 -3
  43. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteractionHeader.mjs +2 -2
  44. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogInteraction/LogInteractionNote.mjs +6 -6
  45. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigation.mjs +2 -2
  46. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigationBody.mjs +1 -1
  47. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNavigation/LogNavigationHeader.mjs +2 -2
  48. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogNetwork/LogNetwork.mjs +6 -6
  49. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogRealtime/LogRealtime.mjs +5 -5
  50. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogStore/LogStore.mjs +1 -1
  51. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogStore/LogStoreBody.mjs +11 -11
  52. package/dist/components/DevToolsPanel/tabs/Logs/categories/LogStore/LogStoreHeader.mjs +3 -3
  53. package/dist/components/DevToolsPanel/tabs/PluginsViewer/PluginDetails.mjs +12 -12
  54. package/dist/components/DevToolsPanel/tabs/PluginsViewer/PluginsViewer.mjs +2 -2
  55. package/dist/components/DevToolsPanel/tabs/QaViewer/QaAllChecksButton.mjs +1 -1
  56. package/dist/components/DevToolsPanel/tabs/QaViewer/QaCheckRow.mjs +3 -3
  57. package/dist/components/DevToolsPanel/tabs/QaViewer/QaChecks.mjs +2 -2
  58. package/dist/components/DevToolsPanel/tabs/QaViewer/QaDivider.mjs +1 -1
  59. package/dist/components/DevToolsPanel/tabs/QaViewer/QaFindingItem.mjs +3 -3
  60. package/dist/components/DevToolsPanel/tabs/QaViewer/QaInspectorDetails.mjs +7 -7
  61. package/dist/components/DevToolsPanel/tabs/QaViewer/QaInspectorEmpty.mjs +2 -2
  62. package/dist/components/DevToolsPanel/tabs/QaViewer/QaInspectorPanel.mjs +1 -1
  63. package/dist/components/DevToolsPanel/tabs/QaViewer/QaProperty.mjs +2 -2
  64. package/dist/components/DevToolsPanel/tabs/QaViewer/QaReplayButton.mjs +1 -1
  65. package/dist/components/DevToolsPanel/tabs/QaViewer/QaRescanButton.mjs +1 -1
  66. package/dist/components/DevToolsPanel/tabs/QaViewer/QaRuleItem.mjs +3 -3
  67. package/dist/components/DevToolsPanel/tabs/QaViewer/QaToolChip.mjs +1 -1
  68. package/dist/components/DevToolsPanel/tabs/QaViewer/QaToolbar.mjs +1 -1
  69. package/dist/components/DevToolsPanel/tabs/QaViewer/QaVisionSelect.mjs +2 -2
  70. package/dist/components/DevToolsPanel/tabs/QaViewer/QaXray.mjs +2 -2
  71. package/dist/components/DevToolsPanel/tabs/QaViewer/QaXrayBoxesRow.mjs +3 -3
  72. package/dist/components/DevToolsPanel/tabs/QaViewer/QaXrayRow.mjs +4 -4
  73. package/dist/components/DevToolsPanel/tabs/RunViewer/RunReport.mjs +5 -5
  74. package/dist/components/DevToolsPanel/tabs/RunViewer/RunTaskRow.mjs +7 -7
  75. package/dist/components/DevToolsPanel/tabs/RunViewer/RunViewer.mjs +17 -17
  76. package/dist/components/DevToolsPanel/tabs/StoreViewer/StoreViewer.mjs +3 -3
  77. package/dist/components/DevToolsPanel/tabs/TracingViewer/TracingViewer.mjs +4 -4
  78. package/dist/components/DevToolsPanel/tabs/TracingViewer/components/CommitCause/CommitCause.mjs +6 -6
  79. package/dist/components/DevToolsPanel/tabs/TracingViewer/components/CommitStrip/CommitStrip.mjs +4 -4
  80. package/dist/components/DevToolsPanel/tabs/TracingViewer/components/DetailSidebar/DetailSidebar.mjs +29 -29
  81. package/dist/components/DevToolsPanel/tabs/TracingViewer/components/DurationLegend/DurationLegend.mjs +2 -2
  82. package/dist/components/DevToolsPanel/tabs/TracingViewer/components/Flamegraph/FlameFrame.mjs +2 -2
  83. package/dist/components/DevToolsPanel/tabs/TracingViewer/components/Flamegraph/Flamegraph.mjs +2 -2
  84. package/dist/components/DevToolsPanel/tabs/TracingViewer/components/HotspotSidebar/HotspotSidebar.mjs +21 -21
  85. package/dist/components/DevToolsPanel/tabs/TracingViewer/components/HotspotsList/HotspotsList.mjs +10 -10
  86. package/dist/components/DevToolsPanel/tabs/TracingViewer/components/MetricToggle/MetricToggle.mjs +2 -2
  87. package/dist/components/DevToolsPanel/tabs/TracingViewer/components/RankedList/RankedList.mjs +9 -9
  88. package/dist/components/DevToolsPanel/tabs/TracingViewer/components/SidebarShell/SidebarEmpty.mjs +1 -1
  89. package/dist/components/DevToolsPanel/tabs/TracingViewer/components/SidebarToggle/SidebarToggle.mjs +1 -1
  90. package/dist/components/DevToolsPanel/tabs/TracingViewer/components/TracingToolbar/TracingToolbar.mjs +5 -5
  91. package/dist/components/DevToolsPanel/tabs/TracingViewer/helpers.d.ts +1 -1
  92. package/dist/components/DevToolsPanel/tabs/TracingViewer/helpers.mjs +1 -1
  93. package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariableValue.mjs +3 -3
  94. package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariablesList.mjs +3 -3
  95. package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariablesListItem.mjs +3 -3
  96. package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariablesStyleList.mjs +3 -3
  97. package/dist/components/DevToolsPanel/tabs/VariablesViewer/VariablesViewer.mjs +2 -2
  98. package/dist/components/List/List.mjs +3 -3
  99. package/dist/components/List/ListItem.mjs +1 -1
  100. package/dist/components/PayloadView/PayloadView.mjs +1 -1
  101. package/dist/components/ResizableSidebar/ResizableSidebar.mjs +2 -2
  102. package/dist/qa/overlays/QaTooltip.mjs +3 -3
  103. package/dist/qa/overlays/QaViewport.mjs +1 -1
  104. package/dist/qa/qaCss.mjs +1 -20
  105. package/package.json +7 -7
@@ -9,13 +9,13 @@ var c = 18, l = ({ node: c, left: l, width: u, top: d, selected: f, onClick: p }
9
9
  top: d,
10
10
  height: 18,
11
11
  ...c.state === "hatched" && !f ? e : void 0
12
- }, h = f ? "bg-violet-600" : c.state === "hatched" ? "bg-zinc-200 dark:bg-zinc-800" : r(c);
12
+ }, h = f ? "bg-violet-600" : c.state === "hatched" ? "bg-ui-raised" : r(c);
13
13
  return /* @__PURE__ */ s("button", {
14
14
  type: "button",
15
15
  onClick: () => p(c),
16
16
  title: `${c.name} (${c.type})${c.visible ? "" : " · hidden"}\n${t(c.selfDuration)} self · ${t(c.actualDuration)} total · ${n(c.baseDuration > 0 ? c.width : 0)} width`,
17
17
  style: m,
18
- className: a("absolute flex cursor-pointer items-center gap-1 overflow-hidden rounded-[1px] border border-zinc-50 px-1 text-left text-[11px] leading-none whitespace-nowrap dark:border-zinc-900", h, f ? "z-10 text-white" : a(i(c), "hover:brightness-110")),
18
+ className: a("border-ui-line absolute flex cursor-pointer items-center gap-1 overflow-hidden rounded-[1px] border px-1 text-left text-[11px] leading-none whitespace-nowrap", h, f ? "z-10 text-white" : a(i(c), "hover:brightness-110")),
19
19
  children: [
20
20
  c.trigger && /* @__PURE__ */ o("i", { className: "fa-solid fa-bolt shrink-0 text-[8px] text-violet-200" }),
21
21
  !c.visible && /* @__PURE__ */ o("i", { className: "fa-solid fa-eye-slash shrink-0 text-[8px] opacity-80" }),
@@ -35,10 +35,10 @@ var u = 1e-6, d = 3e-4, f = ({ commit: f, model: p, active: m, origin: h, sideba
35
35
  className: "flex min-h-0 flex-1 flex-col overflow-hidden",
36
36
  children: [
37
37
  /* @__PURE__ */ l("div", {
38
- className: "flex shrink-0 flex-wrap items-center gap-x-3 gap-y-1 border-b border-zinc-200 px-2 py-1 text-[10px] text-zinc-500 dark:border-zinc-800 dark:text-zinc-400",
38
+ className: "border-ui-line text-ui-fg-subtle flex shrink-0 flex-wrap items-center gap-x-3 gap-y-1 border-b px-2 py-1 text-[10px]",
39
39
  children: [
40
40
  /* @__PURE__ */ l("span", {
41
- className: "font-medium text-zinc-700 dark:text-zinc-200",
41
+ className: "text-ui-fg font-medium",
42
42
  children: ["Commit #", f.commitId]
43
43
  }),
44
44
  h !== "update" && /* @__PURE__ */ c("span", {
@@ -5,14 +5,14 @@ import { jsx as a, jsxs as o } from "react/jsx-runtime";
5
5
  var s = ({ row: s, flat: c, sessionSelf: l }) => {
6
6
  let u = t(s.id, c);
7
7
  return /* @__PURE__ */ o("aside", {
8
- className: "flex w-52 shrink-0 flex-col gap-1.5 overflow-auto border-l border-zinc-200 bg-zinc-50 px-3 py-2 text-[10px] dark:border-zinc-800 dark:bg-zinc-900/50",
8
+ className: "border-ui-line bg-ui-panel flex w-52 shrink-0 flex-col gap-1.5 overflow-auto border-l px-3 py-2 text-[10px]",
9
9
  children: [
10
10
  /* @__PURE__ */ o("div", {
11
11
  className: "flex items-center gap-1.5",
12
12
  children: [
13
13
  /* @__PURE__ */ a("span", { className: i("h-2.5 w-2.5 shrink-0 rounded-sm", e(s.maxSelf)) }),
14
14
  /* @__PURE__ */ a("span", {
15
- className: "truncate text-xs font-medium text-zinc-700 dark:text-zinc-100",
15
+ className: "text-ui-fg truncate text-xs font-medium",
16
16
  children: s.name
17
17
  }),
18
18
  !u && /* @__PURE__ */ a("i", {
@@ -22,7 +22,7 @@ var s = ({ row: s, flat: c, sessionSelf: l }) => {
22
22
  ]
23
23
  }),
24
24
  /* @__PURE__ */ a("span", {
25
- className: "truncate text-zinc-400 dark:text-zinc-500",
25
+ className: "text-ui-fg-subtle truncate",
26
26
  children: s.type
27
27
  }),
28
28
  !u && /* @__PURE__ */ a("span", {
@@ -30,90 +30,90 @@ var s = ({ row: s, flat: c, sessionSelf: l }) => {
30
30
  children: "hidden (visibility)"
31
31
  }),
32
32
  /* @__PURE__ */ a("div", {
33
- className: "mt-1 font-medium tracking-wide text-zinc-400 uppercase dark:text-zinc-500",
33
+ className: "text-ui-fg-subtle mt-1 font-medium tracking-wide uppercase",
34
34
  children: "Renders (session)"
35
35
  }),
36
36
  /* @__PURE__ */ o("div", {
37
37
  className: "flex justify-between gap-2",
38
38
  children: [/* @__PURE__ */ a("span", {
39
- className: "text-zinc-400 dark:text-zinc-500",
39
+ className: "text-ui-fg-subtle",
40
40
  children: "Total"
41
41
  }), /* @__PURE__ */ o("span", {
42
- className: "text-zinc-700 tabular-nums dark:text-zinc-200",
42
+ className: "text-ui-fg tabular-nums",
43
43
  children: [s.renders, "×"]
44
44
  })]
45
45
  }),
46
46
  /* @__PURE__ */ o("div", {
47
47
  className: "flex justify-between gap-2",
48
48
  children: [/* @__PURE__ */ a("span", {
49
- className: "text-zinc-400 dark:text-zinc-500",
49
+ className: "text-ui-fg-subtle",
50
50
  children: "Mounts"
51
51
  }), /* @__PURE__ */ a("span", {
52
- className: "text-zinc-700 tabular-nums dark:text-zinc-200",
52
+ className: "text-ui-fg tabular-nums",
53
53
  children: s.mounts
54
54
  })]
55
55
  }),
56
56
  /* @__PURE__ */ o("div", {
57
57
  className: "flex justify-between gap-2",
58
58
  children: [/* @__PURE__ */ a("span", {
59
- className: "text-zinc-400 dark:text-zinc-500",
59
+ className: "text-ui-fg-subtle",
60
60
  children: "Updates"
61
61
  }), /* @__PURE__ */ a("span", {
62
- className: "text-zinc-700 tabular-nums dark:text-zinc-200",
62
+ className: "text-ui-fg tabular-nums",
63
63
  children: s.renders - s.mounts
64
64
  })]
65
65
  }),
66
66
  /* @__PURE__ */ a("div", {
67
- className: "mt-1 font-medium tracking-wide text-zinc-400 uppercase dark:text-zinc-500",
67
+ className: "text-ui-fg-subtle mt-1 font-medium tracking-wide uppercase",
68
68
  children: "Self time"
69
69
  }),
70
70
  /* @__PURE__ */ o("div", {
71
71
  className: "flex justify-between gap-2",
72
72
  children: [/* @__PURE__ */ a("span", {
73
- className: "text-zinc-400 dark:text-zinc-500",
73
+ className: "text-ui-fg-subtle",
74
74
  children: "Total"
75
75
  }), /* @__PURE__ */ a("span", {
76
- className: "text-zinc-700 tabular-nums dark:text-zinc-200",
76
+ className: "text-ui-fg tabular-nums",
77
77
  children: n(s.totalSelf)
78
78
  })]
79
79
  }),
80
80
  /* @__PURE__ */ o("div", {
81
81
  className: "flex justify-between gap-2",
82
82
  children: [/* @__PURE__ */ a("span", {
83
- className: "text-zinc-400 dark:text-zinc-500",
83
+ className: "text-ui-fg-subtle",
84
84
  children: "Average"
85
85
  }), /* @__PURE__ */ a("span", {
86
- className: "text-zinc-700 tabular-nums dark:text-zinc-200",
86
+ className: "text-ui-fg tabular-nums",
87
87
  children: n(s.avgSelf)
88
88
  })]
89
89
  }),
90
90
  /* @__PURE__ */ o("div", {
91
91
  className: "flex justify-between gap-2",
92
92
  children: [/* @__PURE__ */ a("span", {
93
- className: "text-zinc-400 dark:text-zinc-500",
93
+ className: "text-ui-fg-subtle",
94
94
  children: "Max"
95
95
  }), /* @__PURE__ */ a("span", {
96
- className: "text-zinc-700 tabular-nums dark:text-zinc-200",
96
+ className: "text-ui-fg tabular-nums",
97
97
  children: n(s.maxSelf)
98
98
  })]
99
99
  }),
100
100
  /* @__PURE__ */ o("div", {
101
101
  className: "flex justify-between gap-2",
102
102
  children: [/* @__PURE__ */ a("span", {
103
- className: "text-zinc-400 dark:text-zinc-500",
103
+ className: "text-ui-fg-subtle",
104
104
  children: "Last"
105
105
  }), /* @__PURE__ */ a("span", {
106
- className: "text-zinc-700 tabular-nums dark:text-zinc-200",
106
+ className: "text-ui-fg tabular-nums",
107
107
  children: n(s.lastSelf)
108
108
  })]
109
109
  }),
110
110
  /* @__PURE__ */ o("div", {
111
111
  className: "flex justify-between gap-2",
112
112
  children: [/* @__PURE__ */ a("span", {
113
- className: "text-zinc-400 dark:text-zinc-500",
113
+ className: "text-ui-fg-subtle",
114
114
  children: "% of session"
115
115
  }), /* @__PURE__ */ a("span", {
116
- className: "text-zinc-700 tabular-nums dark:text-zinc-200",
116
+ className: "text-ui-fg tabular-nums",
117
117
  children: r(l > 0 ? s.totalSelf / l : 0)
118
118
  })]
119
119
  })
@@ -45,10 +45,10 @@ var p = [
45
45
  className: "flex min-h-0 flex-1 flex-col overflow-hidden",
46
46
  children: [
47
47
  /* @__PURE__ */ f("div", {
48
- className: "flex shrink-0 items-center gap-2 border-b border-zinc-200 px-2 py-1.5 text-[10px] text-zinc-500 dark:border-zinc-800 dark:text-zinc-400",
48
+ className: "border-ui-line text-ui-fg-subtle flex shrink-0 items-center gap-2 border-b px-2 py-1.5 text-[10px]",
49
49
  children: [
50
50
  /* @__PURE__ */ d("span", {
51
- className: "font-medium text-zinc-700 dark:text-zinc-200",
51
+ className: "text-ui-fg font-medium",
52
52
  children: "Session hotspots"
53
53
  }),
54
54
  /* @__PURE__ */ f("span", { children: [
@@ -65,7 +65,7 @@ var p = [
65
65
  "aria-pressed": b === e.id,
66
66
  className: o("rounded px-1.5 py-0.5 text-[10px] font-medium", {
67
67
  "bg-violet-500 text-white": b === e.id,
68
- "text-zinc-600 hover:bg-zinc-200 dark:text-zinc-400 dark:hover:bg-zinc-700": b !== e.id
68
+ "text-ui-fg-muted hover:bg-ui-hover": b !== e.id
69
69
  }),
70
70
  children: e.label
71
71
  }, e.id))]
@@ -81,7 +81,7 @@ var p = [
81
81
  onKeyDown: k,
82
82
  className: "min-h-0 flex-1 overflow-auto outline-none focus-visible:ring-1 focus-visible:ring-violet-400",
83
83
  children: [C.length === 0 && /* @__PURE__ */ d("div", {
84
- className: "px-2 py-3 text-center text-[10px] text-zinc-400 dark:text-zinc-500",
84
+ className: "text-ui-fg-subtle px-2 py-3 text-center text-[10px]",
85
85
  children: "No renders recorded yet"
86
86
  }), C.map((e) => {
87
87
  let r = e.id === v, i = m(e, b), a = b === "renders" ? e.renders / w : i / w;
@@ -93,33 +93,33 @@ var p = [
93
93
  title: `${e.name} (${e.type})\n${e.renders} renders (${e.mounts} mount)\ntotal ${n(e.totalSelf)} · avg ${n(e.avgSelf)} · max ${n(e.maxSelf)} · last ${n(e.lastSelf)}`,
94
94
  className: o("flex w-full items-center gap-2 px-2 py-0.5 text-left", {
95
95
  "bg-violet-500/10": r,
96
- "hover:bg-zinc-50 dark:hover:bg-zinc-800/50": !r
96
+ "hover:bg-ui-hover": !r
97
97
  }),
98
98
  children: [
99
99
  /* @__PURE__ */ f("span", {
100
100
  className: "flex w-40 shrink-0 flex-col",
101
101
  children: [/* @__PURE__ */ d("span", {
102
- className: "truncate text-zinc-700 dark:text-zinc-200",
102
+ className: "text-ui-fg truncate",
103
103
  children: e.name
104
104
  }), /* @__PURE__ */ d("span", {
105
- className: "truncate text-[9px] text-zinc-400 dark:text-zinc-500",
105
+ className: "text-ui-fg-subtle truncate text-[9px]",
106
106
  children: e.type
107
107
  })]
108
108
  }),
109
109
  /* @__PURE__ */ f("span", {
110
- className: "w-12 shrink-0 text-right text-[10px] text-zinc-400 tabular-nums dark:text-zinc-500",
110
+ className: "text-ui-fg-subtle w-12 shrink-0 text-right text-[10px] tabular-nums",
111
111
  title: "Times this element rendered itself",
112
112
  children: [e.renders, "×"]
113
113
  }),
114
114
  /* @__PURE__ */ d("div", {
115
- className: "h-2 flex-1 overflow-hidden rounded-sm bg-zinc-100 dark:bg-zinc-800",
115
+ className: "bg-ui-raised h-2 flex-1 overflow-hidden rounded-sm",
116
116
  children: /* @__PURE__ */ d("div", {
117
117
  style: { width: `${Math.max(2, Math.round(a * 100))}%` },
118
118
  className: o("h-full rounded-sm", t(e.maxSelf))
119
119
  })
120
120
  }),
121
121
  /* @__PURE__ */ d("span", {
122
- className: "w-14 shrink-0 text-right text-zinc-500 tabular-nums dark:text-zinc-400",
122
+ className: "text-ui-fg-subtle w-14 shrink-0 text-right tabular-nums",
123
123
  children: b === "renders" ? `${e.renders}×` : n(i)
124
124
  })
125
125
  ]
@@ -13,14 +13,14 @@ var r = [{
13
13
  }], i = ({ metric: i, onChange: a, className: o }) => {
14
14
  let s = t((e) => () => a(e), [a]);
15
15
  return /* @__PURE__ */ n("div", {
16
- className: e("flex items-center overflow-hidden rounded border border-zinc-200 dark:border-zinc-700", o),
16
+ className: e("border-ui-line flex items-center overflow-hidden rounded border", o),
17
17
  children: r.map((t) => /* @__PURE__ */ n("button", {
18
18
  title: t.title,
19
19
  "aria-pressed": i === t.id,
20
20
  onClick: s(t.id),
21
21
  className: e("px-1.5 py-0.5 text-[10px] font-medium", {
22
22
  "bg-violet-500 text-white": i === t.id,
23
- "text-zinc-500 hover:bg-zinc-100 dark:text-zinc-400 dark:hover:bg-zinc-700": i !== t.id
23
+ "text-ui-fg-subtle hover:bg-ui-hover": i !== t.id
24
24
  }),
25
25
  children: t.label
26
26
  }, t.id))
@@ -26,10 +26,10 @@ var v = ({ commit: v, model: y, active: b, origin: x, sidebarOpen: S, onSelectEl
26
26
  className: "flex min-h-0 flex-1 flex-col overflow-hidden",
27
27
  children: [
28
28
  /* @__PURE__ */ _("div", {
29
- className: "flex shrink-0 flex-wrap items-center gap-x-2 gap-y-1 border-b border-zinc-200 px-2 py-1.5 text-[10px] text-zinc-500 dark:border-zinc-800 dark:text-zinc-400",
29
+ className: "border-ui-line text-ui-fg-subtle flex shrink-0 flex-wrap items-center gap-x-2 gap-y-1 border-b px-2 py-1.5 text-[10px]",
30
30
  children: [
31
31
  /* @__PURE__ */ _("span", {
32
- className: "font-medium text-zinc-700 dark:text-zinc-200",
32
+ className: "text-ui-fg font-medium",
33
33
  children: ["Commit #", v.commitId]
34
34
  }),
35
35
  x !== "update" && /* @__PURE__ */ g("span", {
@@ -73,7 +73,7 @@ var v = ({ commit: v, model: y, active: b, origin: x, sidebarOpen: S, onSelectEl
73
73
  onKeyDown: j,
74
74
  className: "min-h-0 flex-1 overflow-auto outline-none focus-visible:ring-1 focus-visible:ring-violet-400",
75
75
  children: [O.length === 0 && /* @__PURE__ */ g("div", {
76
- className: "px-2 py-3 text-center text-[10px] text-zinc-400 dark:text-zinc-500",
76
+ className: "text-ui-fg-subtle px-2 py-3 text-center text-[10px]",
77
77
  children: "No element re-rendered in this commit"
78
78
  }), O.map((e) => {
79
79
  let a = i(e, T), o = e.id === b?.id, s = y.totalSelf > 0 ? e.selfDuration / y.totalSelf : 0, c = e.phase !== "mount", l = c && (e.changedProps === void 0 || e.changedProps.length === 0 && e.trigger), u = c && e.changedProps?.length === 0 && !e.trigger, f = !!e.changedProps?.length && e.changedProps.every((e) => e.ref), p = e.changedProps?.map((e) => e.key).join(", "), m = p || (l ? "internal state / hook" : e.type);
@@ -85,13 +85,13 @@ var v = ({ commit: v, model: y, active: b, origin: x, sidebarOpen: S, onSelectEl
85
85
  title: `${e.name} (${e.type})\n${n(e.selfDuration)} self · ${n(e.actualDuration)} total · ${n(e.baseDuration)} base\nphase: ${e.phase ?? "update"} · ${r(s)} of render work${u ? "\nno input changed — re-rendered by an ancestor" : l ? "\nno input changed — internal state/hook/context" : f ? `\nreference-only change (missing memo): ${p}` : p ? `\nchanged: ${p}` : ""}`,
86
86
  className: d("flex w-full items-center gap-2 px-2 py-0.5 text-left", {
87
87
  "bg-violet-500/10": o,
88
- "hover:bg-zinc-50 dark:hover:bg-zinc-800/50": !o
88
+ "hover:bg-ui-hover": !o
89
89
  }),
90
90
  children: [
91
91
  /* @__PURE__ */ _("span", {
92
92
  className: "flex w-40 shrink-0 flex-col",
93
93
  children: [/* @__PURE__ */ _("span", {
94
- className: "flex items-center gap-1 text-zinc-700 dark:text-zinc-200",
94
+ className: "text-ui-fg flex items-center gap-1",
95
95
  children: [
96
96
  e.trigger && /* @__PURE__ */ g("i", {
97
97
  className: "fa-solid fa-bolt shrink-0 text-[9px] text-violet-500",
@@ -111,7 +111,7 @@ var v = ({ commit: v, model: y, active: b, origin: x, sidebarOpen: S, onSelectEl
111
111
  })
112
112
  ]
113
113
  }), /* @__PURE__ */ g("span", {
114
- className: "truncate text-[9px] text-zinc-400 dark:text-zinc-500",
114
+ className: "text-ui-fg-subtle truncate text-[9px]",
115
115
  children: m
116
116
  })]
117
117
  }),
@@ -123,19 +123,19 @@ var v = ({ commit: v, model: y, active: b, origin: x, sidebarOpen: S, onSelectEl
123
123
  children: e.phase === "mount" ? "mount" : "update"
124
124
  }),
125
125
  /* @__PURE__ */ g("div", {
126
- className: "h-2 flex-1 overflow-hidden rounded-sm bg-zinc-100 dark:bg-zinc-800",
126
+ className: "bg-ui-raised h-2 flex-1 overflow-hidden rounded-sm",
127
127
  children: /* @__PURE__ */ g("div", {
128
128
  style: { width: `${Math.max(2, Math.round(a / k * 100))}%` },
129
129
  className: d("h-full rounded-sm", t(a))
130
130
  })
131
131
  }),
132
132
  /* @__PURE__ */ g("span", {
133
- className: "w-10 shrink-0 text-right text-[10px] text-zinc-400 tabular-nums dark:text-zinc-500",
133
+ className: "text-ui-fg-subtle w-10 shrink-0 text-right text-[10px] tabular-nums",
134
134
  title: "Share of this commit's total render work",
135
135
  children: r(s)
136
136
  }),
137
137
  /* @__PURE__ */ g("span", {
138
- className: "w-12 shrink-0 text-right text-zinc-500 tabular-nums dark:text-zinc-400",
138
+ className: "text-ui-fg-subtle w-12 shrink-0 text-right tabular-nums",
139
139
  children: n(a)
140
140
  })
141
141
  ]
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
2
  // src/components/DevToolsPanel/tabs/TracingViewer/components/SidebarShell/SidebarEmpty.tsx
3
3
  var n = () => /* @__PURE__ */ t("div", {
4
- className: "flex h-full flex-col items-center justify-center gap-2 px-2 text-center text-zinc-400 dark:text-zinc-500",
4
+ className: "text-ui-fg-subtle flex h-full flex-col items-center justify-center gap-2 px-2 text-center",
5
5
  children: [/* @__PURE__ */ e("i", { className: "fa-solid fa-arrow-pointer text-xl opacity-30" }), /* @__PURE__ */ e("span", {
6
6
  className: "text-[10px] leading-relaxed",
7
7
  children: "Select an element to inspect its timing and why it rendered"
@@ -5,7 +5,7 @@ var n = ({ open: n, onToggle: r, className: i }) => /* @__PURE__ */ t("button",
5
5
  onClick: r,
6
6
  title: n ? "Hide detail panel" : "Show detail panel",
7
7
  "aria-pressed": n,
8
- className: e("flex h-4 w-4 items-center justify-center rounded text-[10px]", n ? "bg-violet-500/15 text-violet-600 dark:text-violet-300" : "text-zinc-400 hover:bg-zinc-500/10 hover:text-zinc-600 dark:text-zinc-500 dark:hover:text-zinc-300", i),
8
+ className: e("flex h-4 w-4 items-center justify-center rounded text-[10px]", n ? "bg-violet-500/15 text-violet-600 dark:text-violet-300" : "text-ui-fg-subtle hover:bg-ui-hover/10 hover:text-ui-fg", i),
9
9
  children: /* @__PURE__ */ t("i", { className: "fa-solid fa-circle-info" })
10
10
  });
11
11
  export { n as default };
@@ -21,7 +21,7 @@ var i = [
21
21
  ], a = ({ view: a, persist: o, commitCount: s, onClear: c, onViewChange: l, onPersistChange: u }) => {
22
22
  let d = t((e) => () => l(e), [l]), f = t(() => u(!o), [o, u]);
23
23
  return /* @__PURE__ */ r("div", {
24
- className: "flex shrink-0 items-center gap-2 border-b border-zinc-200 bg-zinc-50 px-2 py-1.5 dark:border-zinc-800 dark:bg-zinc-900",
24
+ className: "border-ui-line bg-ui-panel flex shrink-0 items-center gap-2 border-b px-2 py-1.5",
25
25
  children: [/* @__PURE__ */ n("div", {
26
26
  className: "flex items-stretch gap-1",
27
27
  children: i.map((t) => {
@@ -31,7 +31,7 @@ var i = [
31
31
  "aria-pressed": i,
32
32
  className: e("flex h-6 items-center gap-1 rounded px-2 text-xs font-medium transition-colors", {
33
33
  "bg-violet-500 text-white": i,
34
- "text-zinc-600 hover:bg-zinc-200 dark:text-zinc-400 dark:hover:bg-zinc-700": !i
34
+ "text-ui-fg-muted hover:bg-ui-hover": !i
35
35
  }),
36
36
  children: [/* @__PURE__ */ n("i", { className: t.icon }), t.label]
37
37
  }, t.id);
@@ -40,7 +40,7 @@ var i = [
40
40
  className: "ml-auto flex items-center gap-2",
41
41
  children: [
42
42
  /* @__PURE__ */ r("span", {
43
- className: "text-[10px] text-zinc-400 dark:text-zinc-500",
43
+ className: "text-ui-fg-subtle text-[10px]",
44
44
  children: [s, " commits"]
45
45
  }),
46
46
  /* @__PURE__ */ r("button", {
@@ -49,13 +49,13 @@ var i = [
49
49
  title: "Keep the recorded commits when navigating to another page",
50
50
  className: e("flex h-6 items-center gap-1 rounded px-2 text-xs font-medium transition-colors", {
51
51
  "bg-violet-500 text-white": o,
52
- "text-zinc-600 hover:bg-zinc-200 dark:text-zinc-300 dark:hover:bg-zinc-700": !o
52
+ "text-ui-fg-muted hover:bg-ui-hover": !o
53
53
  }),
54
54
  children: [/* @__PURE__ */ n("i", { className: "fa-solid fa-thumbtack" }), "Persist"]
55
55
  }),
56
56
  /* @__PURE__ */ r("button", {
57
57
  onClick: c,
58
- className: "flex h-6 items-center gap-1 rounded px-2 text-xs font-medium text-zinc-600 hover:bg-zinc-200 dark:text-zinc-300 dark:hover:bg-zinc-700",
58
+ className: "text-ui-fg-muted hover:bg-ui-hover flex h-6 items-center gap-1 rounded px-2 text-xs font-medium",
59
59
  children: [/* @__PURE__ */ n("i", { className: "fa-solid fa-trash" }), "Clear"]
60
60
  })
61
61
  ]
@@ -79,7 +79,7 @@ export declare const DURATION_LEGEND: readonly [{
79
79
  readonly color: "bg-red-500";
80
80
  readonly label: "≥50ms";
81
81
  }];
82
- export declare const BUBBLED_COLOR = "bg-zinc-300 dark:bg-zinc-700";
82
+ export declare const BUBBLED_COLOR = "bg-ui-active";
83
83
  export declare const HATCH_STYLE: CSSProperties;
84
84
  export declare const frameColor: (node: FlameNode) => string;
85
85
  export declare const frameTextColor: (node: FlameNode) => string;
@@ -58,7 +58,7 @@ var t = (e) => {
58
58
  color: "bg-red-500",
59
59
  label: "≥50ms"
60
60
  }
61
- ], d = "bg-zinc-300 dark:bg-zinc-700", f = { backgroundImage: "repeating-linear-gradient(45deg, rgba(113,113,122,0.22) 0, rgba(113,113,122,0.22) 2px, transparent 2px, transparent 5px)" }, p = (e) => e.state === "rendered" ? l(e.selfDuration) : e.state === "bubbled" ? d : "bg-transparent", m = (e) => e.state === "bubbled" ? "text-zinc-600 dark:text-zinc-300" : e.state === "hatched" ? "text-zinc-400 dark:text-zinc-600" : l(e.selfDuration) === "bg-amber-500" ? "text-stone-900" : "text-white", h = (e, t) => {
61
+ ], d = "bg-ui-active", f = { backgroundImage: "repeating-linear-gradient(45deg, rgba(113,113,122,0.22) 0, rgba(113,113,122,0.22) 2px, transparent 2px, transparent 5px)" }, p = (e) => e.state === "rendered" ? l(e.selfDuration) : e.state === "bubbled" ? d : "bg-transparent", m = (e) => e.state === "bubbled" ? "text-ui-fg-muted" : e.state === "hatched" ? "text-ui-fg-subtle" : l(e.selfDuration) === "bg-amber-500" ? "text-stone-900" : "text-white", h = (e, t) => {
62
62
  let n = t?.[e];
63
63
  if (!n) return e;
64
64
  let { label: r, type: i } = n.definition;
@@ -5,17 +5,17 @@ var r = ({ className: r, type: i, preffix: a, value: o }) => /* @__PURE__ */ n("
5
5
  className: e("flex items-center gap-1.5", r),
6
6
  children: [
7
7
  a && /* @__PURE__ */ t("span", {
8
- className: "shrink-0 text-[10px] font-medium tracking-wider text-zinc-400 uppercase dark:text-zinc-500",
8
+ className: "text-ui-fg-subtle shrink-0 text-[10px] font-medium tracking-wider uppercase",
9
9
  children: a
10
10
  }),
11
11
  i === "color" && /* @__PURE__ */ t("div", {
12
- className: "h-3.5 w-3.5 shrink-0 rounded-sm border border-zinc-300 dark:border-zinc-600",
12
+ className: "border-ui-line-strong h-3.5 w-3.5 shrink-0 rounded-sm border",
13
13
  title: o,
14
14
  style: { backgroundColor: o }
15
15
  }),
16
16
  /* @__PURE__ */ t("span", {
17
17
  className: e("truncate font-mono", {
18
- "text-zinc-700 dark:text-zinc-300": i === "color",
18
+ "text-ui-fg": i === "color",
19
19
  "text-violet-700 dark:text-violet-300": i !== "color"
20
20
  }),
21
21
  title: o,
@@ -2,12 +2,12 @@ import e from "./VariablesListItem.mjs";
2
2
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
3
  // src/components/DevToolsPanel/tabs/VariablesViewer/VariablesList.tsx
4
4
  var r = ({ variables: r, variablesParsed: i }) => !r || r.length === 0 ? /* @__PURE__ */ t("div", {
5
- className: "py-4 text-center text-xs text-zinc-400 italic dark:text-zinc-600",
5
+ className: "text-ui-fg-subtle py-4 text-center text-xs italic",
6
6
  children: "No variables defined"
7
7
  }) : /* @__PURE__ */ n("div", {
8
- className: "w-full overflow-hidden rounded border border-zinc-200 dark:border-zinc-700",
8
+ className: "border-ui-line w-full overflow-hidden rounded border",
9
9
  children: [/* @__PURE__ */ n("div", {
10
- className: "grid grid-cols-[1fr_1.5fr] border-b border-zinc-200 bg-zinc-50 px-3 py-1 text-zinc-400 dark:border-zinc-700 dark:bg-zinc-800 dark:text-zinc-500",
10
+ className: "border-ui-line bg-ui-raised text-ui-fg-subtle grid grid-cols-[1fr_1.5fr] border-b px-3 py-1",
11
11
  children: [/* @__PURE__ */ t("span", {
12
12
  className: "text-[10px] font-semibold tracking-wider uppercase",
13
13
  children: "Name"
@@ -2,15 +2,15 @@ import e from "./VariableValue.mjs";
2
2
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
3
  // src/components/DevToolsPanel/tabs/VariablesViewer/VariablesListItem.tsx
4
4
  var r = ({ name: r, type: i, value: a = "" }) => /* @__PURE__ */ n("div", {
5
- className: "grid grid-cols-[1fr_1.5fr] items-center border-b border-zinc-100 px-3 py-1.5 transition-colors hover:bg-zinc-50 dark:border-zinc-800 dark:hover:bg-zinc-800/60",
5
+ className: "border-ui-line hover:bg-ui-hover grid grid-cols-[1fr_1.5fr] items-center border-b px-3 py-1.5 transition-colors",
6
6
  children: [/* @__PURE__ */ n("div", {
7
7
  className: "flex min-w-0 flex-col gap-0.5 pr-2",
8
8
  children: [/* @__PURE__ */ t("span", {
9
- className: "truncate font-medium text-zinc-800 dark:text-zinc-200",
9
+ className: "text-ui-fg truncate font-medium",
10
10
  title: r,
11
11
  children: r
12
12
  }), /* @__PURE__ */ t("span", {
13
- className: "text-[10px] tracking-wider text-zinc-400 uppercase dark:text-zinc-600",
13
+ className: "text-ui-fg-subtle text-[10px] tracking-wider uppercase",
14
14
  children: i
15
15
  })]
16
16
  }), /* @__PURE__ */ n("div", {
@@ -11,12 +11,12 @@ var i = ({ variables: i }) => {
11
11
  });
12
12
  }), e), []), [i]);
13
13
  return a.length === 0 ? /* @__PURE__ */ n("div", {
14
- className: "py-4 text-center text-xs text-zinc-400 italic dark:text-zinc-600",
14
+ className: "text-ui-fg-subtle py-4 text-center text-xs italic",
15
15
  children: "No style variables defined"
16
16
  }) : /* @__PURE__ */ r("div", {
17
- className: "w-full overflow-hidden rounded border border-zinc-200 dark:border-zinc-700",
17
+ className: "border-ui-line w-full overflow-hidden rounded border",
18
18
  children: [/* @__PURE__ */ r("div", {
19
- className: "grid grid-cols-[1fr_1.5fr] border-b border-zinc-200 bg-zinc-50 px-3 py-1 text-zinc-400 dark:border-zinc-700 dark:bg-zinc-800 dark:text-zinc-500",
19
+ className: "border-ui-line bg-ui-raised text-ui-fg-subtle grid grid-cols-[1fr_1.5fr] border-b px-3 py-1",
20
20
  children: [/* @__PURE__ */ n("span", {
21
21
  className: "text-[10px] font-semibold tracking-wider uppercase",
22
22
  children: "Name"
@@ -14,7 +14,7 @@ var a = () => {
14
14
  children: [/* @__PURE__ */ i("section", {
15
15
  className: "flex flex-col gap-1.5",
16
16
  children: [/* @__PURE__ */ i("div", {
17
- className: "flex items-center gap-2 text-[10px] font-semibold tracking-wider text-zinc-400 uppercase dark:text-zinc-500",
17
+ className: "text-ui-fg-subtle flex items-center gap-2 text-[10px] font-semibold tracking-wider uppercase",
18
18
  children: [/* @__PURE__ */ r("i", { className: "fa-solid fa-code" }), "Schema Variables"]
19
19
  }), /* @__PURE__ */ r(e, {
20
20
  variables: a,
@@ -23,7 +23,7 @@ var a = () => {
23
23
  }), /* @__PURE__ */ i("section", {
24
24
  className: "flex flex-col gap-1.5",
25
25
  children: [/* @__PURE__ */ i("div", {
26
- className: "flex items-center gap-2 text-[10px] font-semibold tracking-wider text-zinc-400 uppercase dark:text-zinc-500",
26
+ className: "text-ui-fg-subtle flex items-center gap-2 text-[10px] font-semibold tracking-wider uppercase",
27
27
  children: [/* @__PURE__ */ r("i", { className: "fa-solid fa-palette" }), "Style Variables"]
28
28
  }), /* @__PURE__ */ r(t, { variables: o })]
29
29
  })]
@@ -7,7 +7,7 @@ import s from "@plitzi/plitzi-ui/Input";
7
7
  var c = ({ items: c = [], className: l, value: u, onSelect: d }) => {
8
8
  let [f, p] = i(""), m = r(() => c.filter((e) => (e.name ?? "").toLowerCase().includes(f.toLowerCase())), [c, f]), h = r(() => typeof u == "string" ? c.find((e) => e.id === u) : u, [u, c]), g = n((e) => p(e), []), _ = n((e) => d?.(c.find((t) => t.id === e)), [c, d]);
9
9
  return /* @__PURE__ */ o("div", {
10
- className: t("flex h-full flex-col gap-2 border-r border-zinc-200 dark:border-zinc-700", l),
10
+ className: t("border-ui-line flex h-full flex-col gap-2 border-r", l),
11
11
  children: [/* @__PURE__ */ a("div", {
12
12
  className: "px-2 pt-2",
13
13
  children: /* @__PURE__ */ a(s, {
@@ -17,9 +17,9 @@ var c = ({ items: c = [], className: l, value: u, onSelect: d }) => {
17
17
  size: "sm"
18
18
  })
19
19
  }), /* @__PURE__ */ o("div", {
20
- className: "flex flex-col overflow-y-auto text-xs text-zinc-700 dark:text-zinc-300",
20
+ className: "text-ui-fg flex flex-col overflow-y-auto text-xs",
21
21
  children: [!m.length && /* @__PURE__ */ a("div", {
22
- className: "p-4 text-center text-zinc-400 dark:text-zinc-600",
22
+ className: "text-ui-fg-subtle p-4 text-center",
23
23
  children: "No items"
24
24
  }), m.length > 0 && m.map((t, n) => /* @__PURE__ */ a(e, {
25
25
  label: t.label,
@@ -7,7 +7,7 @@ var r = ({ name: r, label: i, id: a, isSelected: o, className: s, onSelect: c })
7
7
  return /* @__PURE__ */ n("div", {
8
8
  className: e("flex w-full cursor-pointer items-center gap-2 border-l-2 px-2 py-1.5 transition-colors", {
9
9
  "border-l-violet-500 bg-violet-50 text-violet-700 dark:border-l-violet-500 dark:bg-violet-500/15 dark:text-violet-300": o,
10
- "border-l-transparent text-zinc-600 hover:bg-zinc-100 hover:text-zinc-900 dark:border-l-transparent dark:text-zinc-300 dark:hover:bg-zinc-800 dark:hover:text-zinc-100": !o
10
+ "text-ui-fg-muted hover:bg-ui-hover hover:text-ui-fg border-l-transparent dark:border-l-transparent": !o
11
11
  }, s),
12
12
  onClick: l,
13
13
  children: /* @__PURE__ */ n("div", {
@@ -12,7 +12,7 @@ var i = {
12
12
  }, a = ({ value: r }) => {
13
13
  let { resolvedTheme: a } = e();
14
14
  return typeof r != "object" || !r ? /* @__PURE__ */ t("pre", {
15
- className: "overflow-auto p-1.5 font-mono text-[11px] break-words whitespace-pre-wrap text-zinc-600 dark:text-zinc-300",
15
+ className: "text-ui-fg-muted overflow-auto p-1.5 font-mono text-[11px] break-words whitespace-pre-wrap",
16
16
  children: JSON.stringify(r)
17
17
  }) : /* @__PURE__ */ t(n, {
18
18
  value: r,
@@ -8,7 +8,7 @@ var i = ({ storageKey: i, minWidth: a, maxWidth: o, defaultWidth: s, children: c
8
8
  Number.isFinite(e) && u(e);
9
9
  }, [u]);
10
10
  return /* @__PURE__ */ n(r, {
11
- className: "shrink-0 border-l border-zinc-200 dark:border-zinc-800",
11
+ className: "border-ui-line shrink-0 border-l",
12
12
  resizeHandles: ["w"],
13
13
  axis: "x",
14
14
  autoGrow: !1,
@@ -17,7 +17,7 @@ var i = ({ storageKey: i, minWidth: a, maxWidth: o, defaultWidth: s, children: c
17
17
  maxConstraintsX: o,
18
18
  onChange: d,
19
19
  children: /* @__PURE__ */ n("aside", {
20
- className: "flex h-full w-full flex-col gap-1.5 overflow-auto bg-zinc-50 px-3 py-2 text-[10px] dark:bg-zinc-900/50",
20
+ className: "bg-ui-panel flex h-full w-full flex-col gap-1.5 overflow-auto px-3 py-2 text-[10px]",
21
21
  children: c
22
22
  })
23
23
  });
@@ -21,7 +21,7 @@ var o = 8, s = ({ element: s }) => {
21
21
  className: "truncate font-semibold text-violet-300",
22
22
  children: c.name
23
23
  }), /* @__PURE__ */ a("span", {
24
- className: "text-zinc-400",
24
+ className: "text-ui-fg-subtle",
25
25
  children: [
26
26
  c.width,
27
27
  " × ",
@@ -30,7 +30,7 @@ var o = 8, s = ({ element: s }) => {
30
30
  })]
31
31
  }),
32
32
  /* @__PURE__ */ a("span", {
33
- className: "text-zinc-300",
33
+ className: "text-ui-fg-subtle",
34
34
  children: [
35
35
  c.font,
36
36
  " / ",
@@ -49,7 +49,7 @@ var o = 8, s = ({ element: s }) => {
49
49
  ]
50
50
  }),
51
51
  /* @__PURE__ */ a("span", {
52
- className: "text-zinc-400",
52
+ className: "text-ui-fg-subtle",
53
53
  children: [
54
54
  "padding ",
55
55
  c.padding,
@@ -17,7 +17,7 @@ var r = ({ box: r }) => {
17
17
  children: n(r.viewportWidth)
18
18
  }),
19
19
  i && /* @__PURE__ */ t("span", {
20
- className: "text-zinc-400",
20
+ className: "text-ui-fg-subtle",
21
21
  children: [" · page ", Math.round(r.width)]
22
22
  })
23
23
  ]