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.
This commit is contained in:
@@ -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. */}
|
||||
<Palette
|
||||
className={`h-[18px] w-[18px] shrink-0 ${calm ? "text-[var(--honey-text)]" : ""}`}
|
||||
className={`h-[18px] w-[18px] shrink-0 ${calm ? "text-[var(--attention)]" : ""}`}
|
||||
strokeWidth={1.7}
|
||||
/>
|
||||
<span className="hidden flex-1 text-[13px] font-medium lg:inline">New design</span>
|
||||
|
||||
Reference in New Issue
Block a user