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