From ac12b61de28f605568450ad1028a836dcc725a44 Mon Sep 17 00:00:00 2001 From: Till JS Date: Sat, 25 Apr 2026 14:05:26 +0200 Subject: [PATCH] fix(writing): replace emojis with Phosphor icons in workbench empty-state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Visual cleanup for the workbench-card hero. Emojis were dropping the design fidelity vs the rest of the Mana UI, which uses Phosphor icons exclusively in chrome surfaces. - Action bar 🎨 → in a 2x2-rem ghost button (square, no text label) so the visual weight matches the primary "+ Neuer Draft" button instead of competing with it. - Hero icon 📝 → in a 3rem rounded tinted-sky pill — gives the empty-state a consistent on-brand centerpiece without the multi-color emoji look. - Hero meta line restructured: was a single ✨-prefixed sentence that wrapped awkwardly on narrow workbench cards. Now a centered
    of short uppercase chips ("12 TEXTARTEN · 9 STILE · 7 QUELLEN · E2E- VERSCHLÜSSELT") with a Sparkle icon only on the first item. - Quick-start tiles 📝/📄/✉️/💬/💌/🎤 → kind-specific Phosphor icons via a QUICK_ICON map (blog→Newspaper, essay→Notebook, email→Envelope, social→ChatCircle, letter→Envelope, speech→Microphone). Icons inherit the muted text colour, switch to sky on hover. - Hero spacing tightened: padding/margins reduced so the layout breathes on a 280–320px-wide workbench card instead of cramming. Quick-grid caps at 360px max-width and falls back to 2 cols below 360px. KIND_LABELS still carries `.emoji` for the populated-state KindTabs and DraftCard — those stay emoji-flavoured for now since they're inline text. Icon migration there is a separate sweep when the time comes. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../lib/modules/writing/views/ListView.svelte | 148 +++++++++++++----- 1 file changed, 109 insertions(+), 39 deletions(-) diff --git a/apps/mana/apps/web/src/lib/modules/writing/views/ListView.svelte b/apps/mana/apps/web/src/lib/modules/writing/views/ListView.svelte index 7b7dcfc82..d2e360d0a 100644 --- a/apps/mana/apps/web/src/lib/modules/writing/views/ListView.svelte +++ b/apps/mana/apps/web/src/lib/modules/writing/views/ListView.svelte @@ -10,8 +10,19 @@ unstarted draft. -->