@the-portland-company/shell 0.28.0 → 0.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
1
+ ## 0.28.1 — 2026-07-23
2
+
3
+ ### Fixed — the left bar lost its background (regression in 0.25.0)
4
+
5
+ `gen:tokens` regenerated `chrome.css` from Specs but the generator never emitted
6
+ **`--nav-surface`** (the sidebar's own surface, which `NavSidebar` reads
7
+ directly) or the hand-authored neutral-black dark chrome ramp — both had been
8
+ edited into the committed file by hand, so regenerating silently dropped them.
9
+ Live result: the left bar computed `background-color: rgba(0,0,0,0)`.
10
+
11
+ Both are now emitted BY the generator — `--nav-surface` in light, and an
12
+ explicit `#0A0A0A → #161616 → #1F1F1F → #333333` chrome ramp with `#A3A3A3` /
13
+ `#E8E8E8` text in `.dark`, rather than whatever the ShadCN dark triplets happen
14
+ to be. Global-Rules requires dark chrome to be hue-free (R=G=B); deriving it
15
+ from a blue-tinted palette would violate that. Regenerating can no longer lose
16
+ either one.
17
+
1
18
  ## 0.28.0 — 2026-07-23
2
19
 
3
20
  ### 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-portland-company/shell",
3
- "version": "0.28.0",
3
+ "version": "0.28.1",
4
4
  "description": "Shared chrome (header, sidebar, footer, theme, auth) for politogy apps. Drop into any Vite SPA to inherit the politogy look and signed-in user.",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,