fix(ui): unify dashboard surfaces and selection

This commit is contained in:
sam committed 2026-11-24 08:33:07 +11:00
1 parent ba077f3779
commit 16f17f702c
8 files changed
+65 -59

No files matched your search

+31 -30
View File
@@ -17,17 +17,17 @@ colors:
graphite-text: "#e8e6e1"
graphite-text-muted: "#a6a39b"
graphite-text-subtle: "#99968f"
paper-canvas: "#e9e7e2"
paper-workspace: "#f5f4f1"
paper-canvas: "#e9eaec"
paper-workspace: "#f3f4f5"
paper-card: "#ffffff"
paper-hover: "#ecebe7"
paper-hairline: "#d6d3cc"
paper-border: "#dcdad4"
paper-border-strong: "#c7c4bd"
paper-input: "#8a877f"
paper-text: "#1f1f1d"
paper-text-muted: "#5c5a55"
paper-text-subtle: "#66635d"
paper-hover: "#e7e9ec"
paper-hairline: "#d2d5da"
paper-border: "#d5d8dc"
paper-border-strong: "#bec3c9"
paper-input: "#838890"
paper-text: "#202327"
paper-text-muted: "#585d64"
paper-text-subtle: "#656a72"
amber-warn: "#d9a45b"
amber-warn-ink: "#8a5a12"
clay-danger: "#d9776b"
@@ -35,7 +35,7 @@ colors:
slate-info: "#8aa4c2"
slate-info-ink: "#3d5f86"
stone-idle: "#9a978f"
stone-idle-ink: "#5f5d58"
stone-idle-ink: "#5b6068"
typography:
title:
fontFamily: "IBM Plex Sans Variable, system-ui, sans-serif"
@@ -174,12 +174,11 @@ operator. The mood is calm, precise and trustworthy: restraint is how the
interface shows it is in control, and nothing raises its voice unless state
demands it.
The palette is Graphite: warm neutral greys with no hue cast and a single accent,
Signal Sage. Hierarchy comes from surface steps, hairlines and type weight, never
from tinted backgrounds. Colour is a signal, not decoration. Sage marks what is
live, healthy or actionable, and the four status hues (amber, clay, slate, stone)
each keep one meaning everywhere they appear. Dark and light themes carry the same
variable set and the same rules; the operator's OS chooses unless they pick one.
Graphite dark and Neutral light share one accent, Signal Sage. Neutral surfaces,
hairlines and type weight set the hierarchy. Solid sage marks the primary action;
a sage line or outline marks selection and focus. Labelled badges carry status.
Both themes use the same tokens, and the operator's OS chooses the theme unless
they pick one.
Density is a first-class setting. The default is already compact, and compact mode
tightens the whole spacing scale without shrinking text or hit targets. Controls
@@ -188,7 +187,7 @@ rather than as permanent chrome. The interface never looks like a toy and never
borrows generic SaaS gloss.
**Key Characteristics:**
- Warm graphite neutrals, one sage accent, four fixed status hues.
- Neutral light and Graphite dark, with one sage accent.
- IBM Plex Sans with Plex Mono for IDs, durations and payloads, on a compact type
scale (11 to 15px).
- Flat tonal layers; shadows only for things that float.
@@ -197,8 +196,8 @@ borrows generic SaaS gloss.
## Colors
Warm graphite greys carry the structure; Signal Sage and four status hues carry
meaning, and each one means the same thing everywhere.
Neutral greys carry the structure. Signal Sage marks actions and selection;
status colours retain their meaning across both themes.
### Primary
- **Signal Sage** (#51a580): the mark, accents, focus rings and links in dark mode,
@@ -209,21 +208,20 @@ meaning, and each one means the same thing everywhere.
the paper canvas.
### Neutral
- **Graphite Canvas** (#0e0f10) / **Paper Canvas** (#e9e7e2): the page behind
- **Graphite Canvas** (#0e0f10) / **Paper Canvas** (#e9eaec): the page behind
everything.
- **Graphite Workspace** (#16171a) / **Paper Workspace** (#f5f4f1): the main
- **Graphite Workspace** (#16171a) / **Paper Workspace** (#f3f4f5): the main
content area inside the sidebar shell.
- **Graphite Card** (#1c1d21) / **Paper Card** (#ffffff): cards, the top bar,
inputs and canvas nodes. **Graphite Popover** (#202226) lifts menus one step
above cards in dark mode.
- **Graphite Hover** (#26282c) / **Paper Hover** (#ecebe7): hover, secondary and
- **Graphite Hover** (#26282c) / **Paper Hover** (#e7e9ec): hover, secondary and
muted surfaces (shadcn's `accent`, `muted` and `secondary` all share it).
- **Hairline, Border, Border Strong** (#2a2c30, #313338, #3c3f45 dark; #d6d3cc,
#dcdad4, #c7c4bd light): dividers, card edges and the top bar's bottom edge.
- **Input stroke** (#70727a dark, #8a877f light): field borders, 3.5:1 or better
against the card.
- **Text, Text Muted, Text Subtle** (#e8e6e1, #a6a39b, #99968f dark; #1f1f1d,
#5c5a55, #66635d light): primary copy, secondary copy, and the dimmest text
- **Hairline, Border, Border Strong** (#2a2c30, #313338, #3c3f45 dark; #d2d5da,
#d5d8dc, #bec3c9 light): dividers, card edges and the top bar's bottom edge.
- **Input stroke** (#70727a dark, #838890 light): field borders.
- **Text, Text Muted, Text Subtle** (#e8e6e1, #a6a39b, #99968f dark; #202327,
#585d64, #656a72 light): primary copy, secondary copy, and the dimmest text
allowed, for hints and captions only.
### Status
@@ -232,7 +230,7 @@ meaning, and each one means the same thing everywhere.
- **Clay Danger** (#d9776b dark, #b3413a light): failures and destructive
actions.
- **Slate Info** (#8aa4c2 dark, #3d5f86 light): an agent that is working.
- **Stone Idle** (#9a978f dark, #5f5d58 light): idle, inactive or unknown.
- **Stone Idle** (#9a978f dark, #5b6068 light): idle, inactive or unknown.
Each status hue has a soft background at 8 to 12% alpha of its own tone. Status
badges put the solid tone on the soft background, never white text on a fill.
@@ -356,6 +354,7 @@ Compact and contextual: small controls that appear where the work is.
- **Shadow Strategy:** none; a 1px foreground ring at 10% (see Elevation).
- **Internal Padding:** 16px, or 12px for the small size. Section wraps a card
with a title; an edited section shows a sage ring.
- **Data tables:** card surface and a quiet border, without card padding or a shadow.
### Inputs / Fields
- **Style:** card background, 1px input stroke, 8px corners, 36px tall, label
@@ -369,6 +368,8 @@ Compact and contextual: small controls that appear where the work is.
Subtle, the hover surface on hover and active. Collapses on phones.
- **Top bar:** card surface, 56px, strong bottom border with the rest shadow,
breadcrumb on the left and a connection pill and account menu on the right.
- **Selection:** the active tab uses a sage underline. Pressed toggles use a
sage outline and a soft fill.
### Status Dot
A 6px circle in one of the five status tones. It pulses (motion-safe only) while