Files
archie/DESIGN.md
T
sam 21d1d2e8bf docs: add design system and product specs
- Add DESIGN.md and .impeccable tokens/config for the Archie design system
- Add PRODUCT.md capturing platform, users and positioning
2026-11-24 04:52:58 +11:00

16 KiB

name, description, colors, typography, rounded, spacing, components
name description colors typography rounded spacing components
Archie Event-driven Agentic Automation
signal-sage signal-sage-deep signal-sage-ink graphite-canvas graphite-workspace graphite-card graphite-popover graphite-hover graphite-hairline graphite-border graphite-border-strong graphite-input graphite-text graphite-text-muted graphite-text-subtle paper-canvas paper-workspace paper-card paper-hover paper-hairline paper-border paper-border-strong paper-input paper-text paper-text-muted paper-text-subtle amber-warn amber-warn-ink clay-danger clay-danger-ink slate-info slate-info-ink stone-idle stone-idle-ink
#51a580 #2e795a #0c6f4d #0e0f10 #16171a #1c1d21 #202226 #26282c #2a2c30 #313338 #3c3f45 #70727a #e8e6e1 #a6a39b #99968f #e9e7e2 #f5f4f1 #ffffff #ecebe7 #d6d3cc #dcdad4 #c7c4bd #8a877f #1f1f1d #5c5a55 #66635d #d9a45b #8a5a12 #d9776b #b3413a #8aa4c2 #3d5f86 #9a978f #5f5d58
title page-title label caption section-label micro mono
fontFamily fontSize fontWeight lineHeight
IBM Plex Sans Variable, system-ui, sans-serif 0.9375rem 500 1.375
fontFamily fontSize fontWeight lineHeight letterSpacing
IBM Plex Sans Variable, system-ui, sans-serif 0.9375rem 600 1.25 -0.025em
fontFamily fontSize fontWeight
IBM Plex Sans Variable, system-ui, sans-serif 0.8125rem 400
fontFamily fontSize fontWeight
IBM Plex Sans Variable, system-ui, sans-serif 0.6875rem 500
fontFamily fontSize fontWeight letterSpacing
IBM Plex Sans Variable, system-ui, sans-serif 0.6875rem 500 0.06em
fontFamily fontSize
IBM Plex Sans Variable, system-ui, sans-serif 0.625rem
fontFamily fontSize fontWeight
IBM Plex Mono, ui-monospace, monospace 0.6875rem 400
sm md lg xl full
4px 6px 8px 12px 9999px
unit unit-compact control-gap card-x card-y page-x page-y
0.25rem 0.225rem 0.375rem 1rem 1rem 1.5rem 1.25rem
button-primary button-ghost button-ghost-hover button-attention button-destructive input card badge-ok badge-warn badge-danger status-dot top-bar step-node step-node-expanded
backgroundColor textColor typography rounded padding height
{colors.signal-sage-deep} #ffffff {typography.label} {rounded.lg} 0 10px 36px
backgroundColor textColor typography rounded padding height
transparent {colors.graphite-text} {typography.label} {rounded.lg} 0 10px 36px
backgroundColor
{colors.graphite-hover}
backgroundColor textColor typography rounded padding height
rgba(217, 164, 91, 0.08) {colors.amber-warn} {typography.label} {rounded.lg} 0 10px 36px
backgroundColor textColor typography rounded padding height
rgba(217, 119, 107, 0.2) {colors.clay-danger} {typography.label} {rounded.lg} 0 10px 36px
backgroundColor textColor typography rounded padding height
{colors.graphite-card} {colors.graphite-text} {typography.label} {rounded.lg} 4px 10px 36px
backgroundColor textColor rounded padding
{colors.graphite-card} {colors.graphite-text} {rounded.xl} 16px
backgroundColor textColor typography rounded padding height
rgba(81, 165, 128, 0.12) {colors.signal-sage} {typography.caption} {rounded.sm} 2px 8px 20px
backgroundColor textColor typography rounded padding height
rgba(217, 164, 91, 0.08) {colors.amber-warn} {typography.caption} {rounded.sm} 2px 8px 20px
backgroundColor textColor typography rounded padding height
rgba(217, 119, 107, 0.08) {colors.clay-danger} {typography.caption} {rounded.sm} 2px 8px 20px
rounded size
{rounded.full} 6px
backgroundColor height padding
{colors.graphite-card} 56px 0 16px
backgroundColor rounded padding width
{colors.graphite-card} {rounded.lg} 10px 12px 240px
width
416px

Design System: Archie

Overview

Creative North Star: "The Operations Console"

Archie's dashboard is a calm instrument panel for someone responsible for a live estate. It is dense and legible, and it stays quiet until something needs the 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.

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 are compact and contextual: they appear where the work is, on hover or focus, 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.
  • 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.
  • Compact density by default, with a tighter compact mode.
  • Both themes, reduced motion and keyboard focus are invariants, not options.

Colors

Warm graphite greys carry the structure; Signal Sage and four status hues carry meaning, and each one means the same thing everywhere.

Primary

  • Signal Sage (#51a580): the mark, accents, focus rings and links in dark mode, and the ok state there. On a dark card it is 5.7:1 as text.
  • Signal Sage Deep (#2e795a): the primary button fill in both themes (white on it is 5.3:1) and the focus ring on paper, where bright sage falls under 3:1.
  • Signal Sage Ink (#0c6f4d): links and ok text in the light theme, 5.0:1 on the paper canvas.

Neutral

  • Graphite Canvas (#0e0f10) / Paper Canvas (#e9e7e2): the page behind everything.
  • Graphite Workspace (#16171a) / Paper Workspace (#f5f4f1): 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 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 allowed, for hints and captions only.

Status

  • Amber Warn (#d9a45b dark, #8a5a12 light): waiting, needs attention, the attention button.
  • 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.

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.

Named Rules

The Semantic Names Rule. Components reference --primary, --ok, --warn and the rest, never a raw hex or a hue name such as --violet. A palette change is one file.

The One Meaning Rule. A status colour means the same thing wherever it appears: a task state, a gate result, a log level and a trend all draw from the same five tones.

The Measured Contrast Rule. Every foreground is checked against every surface it lands on, hover states included, at 4.5:1. Nothing dimmer than Text Subtle is allowed as text.

Typography

Body Font: IBM Plex Sans Variable (with system-ui, sans-serif) Label/Mono Font: IBM Plex Mono (with ui-monospace, monospace)

Character: A sober, engineered grotesque paired with its own monospace, so identifiers, durations and payloads read as data without changing voice.

Hierarchy

  • Page title (600, 0.9375rem, 1.25, -0.025em): one per page, in PageHeader beside the page's actions.
  • Title (500, 0.9375rem, 1.375): card and panel titles.
  • Label (400 to 500, 0.8125rem): body copy, rows, navigation, buttons and fields. The default text size of the dashboard.
  • Caption (500, 0.6875rem): metadata, column labels, step-type labels and badges.
  • Section label (500, 0.6875rem, 0.06em, uppercase): group headings in sidebars and settings navigation only.
  • Micro (0.625rem): the smallest annotations, used sparingly.
  • Mono (400, caption size): IDs, short hashes, durations, log fields and code.

Named Rules

The Type Scale Rule. Use the named steps (text-micro, text-caption, text-label, text-title), never pixel sizes. Headings are separated by weight and placement, not by size jumps.

The Data Is Mono Rule. Anything the operator might copy or compare (an ID, a version, a duration, a payload) is set in Plex Mono.

Layout

The app shell is a collapsible sidebar plus a sticky 56px top bar holding the breadcrumb and account controls. Page content sits in the workspace surface with 1.5rem by 1.25rem padding, dropping to 1rem below the large breakpoint, and a bottom clearance for the docked chat composer. The chat can pin to either side, and the workspace shifts to make room for it.

Spacing is Tailwind's 0.25rem scale; compact density sets the unit to 0.225rem, so every gap and padding tightens together and components keep their relative rhythm. Pages use container queries (@container) so panels respond to the space they actually have, not the viewport.

Phone width is a real target. Desktop layouts collapse to dropdowns instead of side lists and to stacked panes, and nothing overlaps the canvas. Controls keep their desktop size on touch screens; a touch-hit utility widens the tap area to 44px invisibly, and only rows in floating menus grow to 2.75rem.

The workflow canvas is the one full-bleed surface: on phones it takes the full viewport height, and steps expand in place rather than opening side panels.

Elevation & Depth

The system is flat, with tonal layers. Depth comes from surface steps (canvas, workspace, card, popover) and from hairlines and 1px rings. Shadows are reserved for things that float above the page: menus, popovers, dialogs and an expanded canvas node.

Shadow Vocabulary

  • Rest (box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) dark, 0 1px 2px rgba(31, 31, 29, 0.06) light): the top bar and canvas nodes at rest; barely there.
  • Float (box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4) dark, 0 8px 28px rgba(31, 31, 29, 0.1) light): popovers, menus, dialogs and the expanded step node.

Named Rules

The Flat By Default Rule. Cards sit on the page with a 1px ring, not a shadow. A larger shadow means the element floats above the page.

Shapes

Gently rounded and consistent. Controls, inputs and canvas nodes use 8px corners (rounded.lg); cards use 12px (rounded.xl); badges use 4px (rounded.sm), and small buttons step down to 6px. Status dots and avatars are the only full circles. Borders are 1px and quiet; a strong border marks structural edges such as the top bar. Focus is always a visible 2px ring offset by 2px, in sage.

Components

Compact and contextual: small controls that appear where the work is.

Buttons

  • Shape: gently rounded (8px), 36px tall by default, with 32px and 24px sizes and square icon variants.
  • Primary: Signal Sage Deep fill with white label text. At most one per view.
  • Ghost / Outline / Secondary: transparent or hover-surface fills that pick up the hover surface on hover; the default for everything that is not the main action.
  • Attention: amber stroke and soft amber fill, for an action that exists because something is waiting. Not destructive.
  • Destructive: soft clay fill with clay text, never a solid red block.
  • Hover / Focus: 140ms colour transitions, a 3px sage focus ring, and a 1px downward press on active.

Chips (Badges)

  • Style: 20px tall, 4px corners, caption type. Status badges (ok, warn, danger, info, idle) set the solid tone on its soft background.
  • State: the badge and the StatusDot are the only places status colour is decided.

Cards / Containers

  • Corner Style: 12px.
  • Background: the card surface on the workspace.
  • 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.

Inputs / Fields

  • Style: card background, 1px input stroke, 8px corners, 36px tall, label size (title size on touch screens so phones do not zoom).
  • Focus: the border turns sage with a 3px sage ring.
  • Error / Disabled: a clay border and ring; disabled fields drop to 50% opacity.

Navigation

  • Sidebar: card surface, label-size rows, uppercase section labels in Text 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.

Status Dot

A 6px circle in one of the five status tones. It pulses (motion-safe only) while the thing it marks is live.

Step Node (Signature Component)

The workflow canvas card. 240px wide at rest, with an 8px corner, the rest shadow and a caption row naming the step type with a sage icon. The run duration sits on the right in mono, beside a status icon. The title below is label size and medium weight. Selecting it expands it in place to 416px with the float shadow and a 2px sage ring, main field first. The same card shows the step's live run state: editor and observer are one surface. Added, removed and changed steps are marked in the sage, clay and amber tones.

Do's and Don'ts

Do:

  • Do use semantic tokens (bg-card, text-fg-muted, bg-ok-soft) and the named type steps, so both themes and compact density work without extra code.
  • Do keep one filled primary button per view; everything else is ghost, outline or secondary.
  • Do set IDs, versions, durations and payloads in Plex Mono.
  • Do show actions on hover or focus where the work is, and make every hover action reachable by keyboard.
  • Do honour reduced motion: nothing animates when the operator asks it not to.

Don't:

  • Don't use generic SaaS gloss: no purple or multicolour gradients, no glow shadows, no glassmorphism cards, no gradient text.
  • Don't make it toy-like on phones: no blanket 44px minimum sizes on buttons, links and fields. Widen the tap area invisibly with touch-hit instead.
  • Don't tint backgrounds for hierarchy; use surface steps and borders.
  • Don't introduce a new hue or reuse a status colour for decoration.
  • Don't put white text on a status fill; use the soft background and the solid tone.
  • Don't add a shadow to a resting card.