@the-portland-company/shell 0.14.1 → 0.14.3

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.
package/dist/chrome.css CHANGED
@@ -251,6 +251,10 @@
251
251
  --muted: var(--topbar-breadcrumb-color);
252
252
  --panel: var(--topbar-bg);
253
253
  --panel-elevated: var(--surface-1);
254
+ /* The left bar's own surface. Separate from --panel-elevated (which also
255
+ backs hover states and dropdowns) so dark can put the bars and the raised
256
+ surfaces on different steps of the neutral ramp. */
257
+ --nav-surface: var(--surface-1);
254
258
  --line: var(--sidebar-border);
255
259
  --shadow-soft: var(--shadow-lg);
256
260
  }
@@ -274,11 +278,21 @@
274
278
  --border: 217.2 32.6% 17.5%;
275
279
  --input: 217.2 32.6% 17.5%;
276
280
  --ring: 212.7 26.8% 83.9%;
277
- --background: hsl(222.2 84% 4.9%);
278
- --foreground: hsl(210 40% 98%);
279
- --muted: hsl(215 20.2% 65.1%);
280
- --panel: hsl(222.2 84% 4.9%);
281
- --panel-elevated: hsl(217.2 32.6% 17.5%);
282
- --line: hsl(217.2 32.6% 17.5%);
281
+ /* Native chrome semantic layer — dark values.
282
+ Global Rules: dark chrome is NEUTRAL BLACK, never blue/navy/slate. These
283
+ were ShadCN slate (hsl(222.2 84% 4.9%) = #020817, hsl(217.2 32.6% 17.5%)
284
+ = #1E293B) — the exact palette the rule names as forbidden — which made
285
+ the top bar and left bar read as navy. The ramp below is the hue-free one
286
+ from Reference/Global-Rules: page #0A0A0A → bars #161616 → raised #1F1F1F
287
+ → hover #2B2B2B → borders #333333, with #A3A3A3 muted / #E8E8E8 body text.
288
+ The ShadCN HSL channel tokens above stay as-is — they are the separate
289
+ darkMode group and are Brand-API-controlled. */
290
+ --background: #0A0A0A;
291
+ --foreground: #E8E8E8;
292
+ --muted: #A3A3A3;
293
+ --panel: #161616;
294
+ --nav-surface: #161616;
295
+ --panel-elevated: #1F1F1F;
296
+ --line: #333333;
283
297
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.5);
284
298
  }
package/dist/index.cjs CHANGED
@@ -2396,18 +2396,18 @@ function CommitCopyButton({
2396
2396
  )
2397
2397
  }
2398
2398
  ) }),
2399
- /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "2xs", color: "gray.300", flexShrink: 0, children: "|" })
2399
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "2xs", color: "var(--sidebar-text-muted, #CBD5E0)", flexShrink: 0, children: "|" })
2400
2400
  ] }) : null,
2401
- shortCommit ? /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "2xs", color: hasCopied ? "green.500" : "gray.400", flexShrink: 0, children: shortCommit }) : null,
2401
+ shortCommit ? /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "2xs", color: hasCopied ? "green.500" : "var(--sidebar-text-muted, #718096)", flexShrink: 0, children: shortCommit }) : null,
2402
2402
  version ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2403
- shortCommit ? /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "2xs", color: "gray.300", flexShrink: 0, children: "|" }) : null,
2404
- /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { fontSize: "2xs", color: "gray.400", flexShrink: 0, children: [
2403
+ shortCommit ? /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "2xs", color: "var(--sidebar-text-muted, #CBD5E0)", flexShrink: 0, children: "|" }) : null,
2404
+ /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { fontSize: "2xs", color: "var(--sidebar-text-muted, #718096)", flexShrink: 0, children: [
2405
2405
  "v",
2406
2406
  version
2407
2407
  ] })
2408
2408
  ] }) : null,
2409
2409
  onDiagnosticsClick ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2410
- /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "2xs", color: "gray.300", flexShrink: 0, children: "|" }),
2410
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "2xs", color: "var(--sidebar-text-muted, #CBD5E0)", flexShrink: 0, children: "|" }),
2411
2411
  /* @__PURE__ */ jsxRuntime.jsx(react.Tooltip, { label: "Diagnostics", hasArrow: true, placement: "top", children: /* @__PURE__ */ jsxRuntime.jsx(
2412
2412
  react.Button,
2413
2413
  {
@@ -2428,11 +2428,7 @@ function CommitCopyButton({
2428
2428
  ) })
2429
2429
  ] }) : null
2430
2430
  ] }),
2431
- metaLine ? /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { fontSize: "2xs", color: "gray.500", textAlign: "center", whiteSpace: "nowrap", children: [
2432
- "| ",
2433
- metaLine,
2434
- " |"
2435
- ] }) : null,
2431
+ metaLine ? /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "2xs", color: "var(--sidebar-text-muted, #718096)", textAlign: "center", whiteSpace: "nowrap", children: metaLine }) : null,
2436
2432
  hasCopied && /* @__PURE__ */ jsxRuntime.jsx(
2437
2433
  react.Box,
2438
2434
  {
@@ -2561,21 +2557,21 @@ function Sidebar({ onClose, id }) {
2561
2557
  px: "1",
2562
2558
  py: "1",
2563
2559
  borderTop: "1px",
2564
- borderColor: "gray.200",
2560
+ borderColor: "var(--sidebar-border, #E2E8F0)",
2565
2561
  flexShrink: 0,
2566
2562
  bg: sidebarBg,
2567
2563
  zIndex: 1,
2568
2564
  children: /* @__PURE__ */ jsxRuntime.jsxs(react.VStack, { align: "stretch", spacing: 2, px: "3", py: "2", textAlign: "center", children: [
2569
2565
  /* @__PURE__ */ jsxRuntime.jsx(react.HStack, { spacing: 1, fontSize: "xs", color: "gray.600", wrap: "wrap", justify: "center", w: "full", children: footer.links.map((l, idx) => /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { display: "inline-flex", alignItems: "center", children: [
2570
- idx > 0 ? /* @__PURE__ */ jsxRuntime.jsx(react.Text, { color: "gray.400", mx: 1, children: "|" }) : null,
2566
+ idx > 0 ? /* @__PURE__ */ jsxRuntime.jsx(react.Text, { color: "var(--sidebar-text-muted, #929599)", mx: 1, children: "|" }) : null,
2571
2567
  l.external ? /* @__PURE__ */ jsxRuntime.jsx(
2572
2568
  react.Link,
2573
2569
  {
2574
2570
  href: l.href,
2575
2571
  isExternal: true,
2576
- color: "var(--color-race-red-500, #E63946)",
2572
+ color: "var(--sidebar-text-muted, #4A5568)",
2577
2573
  _hover: {
2578
- color: "var(--color-race-red-600, #C42E3A)",
2574
+ color: "var(--sidebar-hover-text, #FFFFFF)",
2579
2575
  textDecoration: "underline"
2580
2576
  },
2581
2577
  children: l.label
@@ -2585,9 +2581,9 @@ function Sidebar({ onClose, id }) {
2585
2581
  {
2586
2582
  as: reactRouterDom.NavLink,
2587
2583
  to: l.href,
2588
- color: "var(--color-race-red-500, #E63946)",
2584
+ color: "var(--sidebar-text-muted, #4A5568)",
2589
2585
  _hover: {
2590
- color: "var(--color-race-red-600, #C42E3A)",
2586
+ color: "var(--sidebar-hover-text, #FFFFFF)",
2591
2587
  textDecoration: "underline"
2592
2588
  },
2593
2589
  children: l.label