From da574a5a7e2acb01cfdd02b819427bd02e95bae9 Mon Sep 17 00:00:00 2001 From: "shumeiko.it" Date: Tue, 27 Oct 2026 12:55:02 +0100 Subject: [PATCH] feat(web): tighten the calm design after its anti-slop audit Fixes items 3-11 of anti-slop/audit-002, all scoped to data-design=calm: - no colored edges on Model Pilot rows, a connected extension or the active file workspace; - section labels and eyebrows in the text face, mono for data only; - one accent: honey text, washes and hover lines turn neutral, honey stays on primary buttons, the switch, focus and attention counts; - dots with no state behind them are hidden and live dots no longer pulse; - no card shadow or hover lift, including the --shadow token; - inline-style gradients go solid or flat, glows go; - no entrance motion: framer-motion animations finish instantly and the inline card-enter and scroll reveals are off; - stock Tailwind hues map onto Hive status tokens, mixed toward --text so small status text keeps 4.5:1 in light; - radii follow the 6 / 10 / 14 scale, text pills become chips. The classic design is unchanged. --- apps/web/src/components/os/ModelPilotCard.tsx | 4 +- apps/web/src/components/os/Sidebar.tsx | 5 +- apps/web/src/components/os/StatusBar.tsx | 2 +- apps/web/src/components/os/apps/ChatApp.tsx | 2 +- .../src/components/os/apps/HomeCockpit.tsx | 2 +- apps/web/src/components/os/warm/ModelPill.tsx | 2 +- .../src/components/os/warm/OvernightHero.tsx | 2 +- apps/web/src/lib/design-mode.ts | 10 + apps/web/src/styles/calm.css | 320 +++++++++++++++++- apps/web/src/test/design-mode.test.tsx | 10 + 10 files changed, 348 insertions(+), 11 deletions(-) diff --git a/apps/web/src/components/os/ModelPilotCard.tsx b/apps/web/src/components/os/ModelPilotCard.tsx index 91fce20..4e91559 100644 --- a/apps/web/src/components/os/ModelPilotCard.tsx +++ b/apps/web/src/components/os/ModelPilotCard.tsx @@ -348,14 +348,14 @@ const ModelPilotCard = ({ the LaneDropdown below overhangs the row). */}
-

+

{lane.label}

{lane.description}

diff --git a/apps/web/src/components/os/Sidebar.tsx b/apps/web/src/components/os/Sidebar.tsx index 57f8383..91e8333 100644 --- a/apps/web/src/components/os/Sidebar.tsx +++ b/apps/web/src/components/os/Sidebar.tsx @@ -211,9 +211,10 @@ const Sidebar = ({ onClick={() => setDesign(calm ? "classic" : "calm")} className="flex items-center justify-center gap-3 rounded-[10px] px-2.5 py-2 text-left text-[var(--text-2)] transition-colors hover:bg-[var(--surface-2)] hover:text-[var(--text)] lg:justify-start" > - {/* Honey when on, so the icon-only rail shows the state too. */} + {/* Honey when on, so the icon-only rail shows the state too. --attention, + not --honey-text: calm turns honey text neutral. */} New design diff --git a/apps/web/src/components/os/StatusBar.tsx b/apps/web/src/components/os/StatusBar.tsx index c77eef2..9a883be 100644 --- a/apps/web/src/components/os/StatusBar.tsx +++ b/apps/web/src/components/os/StatusBar.tsx @@ -216,7 +216,7 @@ const StatusBar = ({ workspaceName, focusedWindowLabel, model, tokensUsed, costU