@the-portland-company/shell 0.28.0 → 0.28.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ ## 0.28.2 — 2026-07-23
2
+
3
+ ### Fixed — the Chakra theme hardcoded the body font
4
+
5
+ `politogyTheme.fonts.heading/body` were pinned to the system stack. Chakra's
6
+ global styles beat app CSS, so VRM rendered in `-apple-system` while every app
7
+ on the native chrome rendered the Brand family — and no Brand-editor font change
8
+ could ever reach it. Both now resolve `var(--font-family, …)` (mono resolves
9
+ `--type-mono-family`), with the old stacks as the pre-tokens fallback only.
10
+
11
+ ## 0.28.1 — 2026-07-23
12
+
13
+ ### Fixed — the left bar lost its background (regression in 0.25.0)
14
+
15
+ `gen:tokens` regenerated `chrome.css` from Specs but the generator never emitted
16
+ **`--nav-surface`** (the sidebar's own surface, which `NavSidebar` reads
17
+ directly) or the hand-authored neutral-black dark chrome ramp — both had been
18
+ edited into the committed file by hand, so regenerating silently dropped them.
19
+ Live result: the left bar computed `background-color: rgba(0,0,0,0)`.
20
+
21
+ Both are now emitted BY the generator — `--nav-surface` in light, and an
22
+ explicit `#0A0A0A → #161616 → #1F1F1F → #333333` chrome ramp with `#A3A3A3` /
23
+ `#E8E8E8` text in `.dark`, rather than whatever the ShadCN dark triplets happen
24
+ to be. Global-Rules requires dark chrome to be hue-free (R=G=B); deriving it
25
+ from a blue-tinted palette would violate that. Regenerating can no longer lose
26
+ either one.
27
+
1
28
  ## 0.28.0 — 2026-07-23
2
29
 
3
30
  ### Fixed — DevNotes "Create Task" did nothing
package/dist/chrome.css CHANGED
@@ -251,6 +251,11 @@
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 is
255
+ also used for raised popovers) so the sidebar can be re-skinned on its
256
+ own. NavSidebar reads it directly — when it is missing the left bar
257
+ renders with NO background at all. */
258
+ --nav-surface: var(--surface-1);
254
259
  --line: var(--sidebar-border);
255
260
  --shadow-soft: var(--shadow-lg);
256
261
 
@@ -298,11 +303,12 @@
298
303
  --input: 217.2 32.6% 17.5%;
299
304
  --ring: 212.7 26.8% 83.9%;
300
305
  --background: hsl(222.2 84% 4.9%);
301
- --foreground: hsl(210 40% 98%);
302
- --muted: hsl(215 20.2% 65.1%);
303
- --panel: hsl(222.2 84% 4.9%);
304
- --panel-elevated: hsl(217.2 32.6% 17.5%);
305
- --line: hsl(217.2 32.6% 17.5%);
306
+ --foreground: #E8E8E8;
307
+ --muted: #A3A3A3;
308
+ --panel: #161616;
309
+ --nav-surface: #161616;
310
+ --panel-elevated: #1F1F1F;
311
+ --line: #333333;
306
312
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.5);
307
313
  --color-bg: #0A0A0A;
308
314
  --color-surface: #161616;
package/dist/index.cjs CHANGED
@@ -727,10 +727,12 @@ var styles = {
727
727
  }
728
728
  })
729
729
  };
730
+ var SYSTEM_SANS = 'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif';
731
+ var SYSTEM_MONO = 'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace';
730
732
  var fonts = {
731
- heading: '-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif',
732
- body: '-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif',
733
- mono: 'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'
733
+ heading: `var(--font-family, ${SYSTEM_SANS})`,
734
+ body: `var(--font-family, ${SYSTEM_SANS})`,
735
+ mono: `var(--type-mono-family, ${SYSTEM_MONO})`
734
736
  };
735
737
  var politogyTheme = react.extendTheme({
736
738
  config,