From 7a0959e51960439ce138b1ae50d3393d9a7b795a Mon Sep 17 00:00:00 2001 From: Till JS Date: Thu, 9 Apr 2026 11:53:35 +0200 Subject: [PATCH] refactor(mana/web): migrate PageShell to theme tokens (P5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The workbench paper card containing every app — was hardcoded cream (#fffef5) light + dark brown (#252220) dark via :global(.dark). Now uses hsl(var(--color-card)) so it follows the active theme variant. The drag-handle bar, move buttons, window buttons, resize handle and title all switch from hand-rolled gray scale to color-foreground / color-muted-foreground / color-surface-hover. The close button hover becomes color-error. The resize purple glow becomes color-primary. This is the foundational shell — every app rendered in the workbench inherits its background from this file, so the migration here unblocks visual consistency across the whole app surface. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../components/page-carousel/PageShell.svelte | 100 +++++------------- 1 file changed, 24 insertions(+), 76 deletions(-) diff --git a/apps/mana/apps/web/src/lib/components/page-carousel/PageShell.svelte b/apps/mana/apps/web/src/lib/components/page-carousel/PageShell.svelte index 2dcdbc3b8..a66e85c3a 100644 --- a/apps/mana/apps/web/src/lib/components/page-carousel/PageShell.svelte +++ b/apps/mana/apps/web/src/lib/components/page-carousel/PageShell.svelte @@ -242,36 +242,27 @@