CI / ci (push) Canceled after 0s
Record durable product truth in PRODUCT.md (platform, users, the Mentor Loop, hard rules, brand commitments) and the incumbent visual system in DESIGN.md (the Scholar's Desk two-paper world with normative tokens and named rules), plus the impeccable config and renderable-component sidecar. Gives the design tooling an authority to check future UI work against.
229 lines
12 KiB
Markdown
229 lines
12 KiB
Markdown
---
|
||
name: Museion
|
||
description: The Scholar's Desk — warm paper, iron-gall ink, one enameled accent
|
||
colors:
|
||
terracotta-seal: "#C96442"
|
||
pine: "#36664F"
|
||
field-paper: "#FAF9F3"
|
||
page: "#FFFEFB"
|
||
iron-gall-ink: "#1A1916"
|
||
faded-ink: "#6B6964"
|
||
hairline: "#E8E5DF"
|
||
substrate: "#F5F5F7"
|
||
reading-ink: "#1D1D1F"
|
||
reading-secondary: "#48484D"
|
||
reading-muted: "#6E6E73"
|
||
reading-hairline: "#D2D2D7"
|
||
reading-rule: "#A1A1A6"
|
||
typography:
|
||
display:
|
||
fontFamily: "Valkyrie OT B, Iowan Old Style, Charter, Georgia, serif"
|
||
fontSize: "22px"
|
||
fontWeight: 400
|
||
headline:
|
||
fontFamily: "Concourse OT Semibold, Georgia, serif"
|
||
fontSize: "30px"
|
||
fontWeight: 600
|
||
lineHeight: 1.15
|
||
title:
|
||
fontFamily: "Concourse OT Semibold, Georgia, serif"
|
||
fontSize: "22px"
|
||
fontWeight: 600
|
||
lineHeight: 1.15
|
||
subheading:
|
||
fontFamily: "Valkyrie OT B, Georgia, serif"
|
||
fontSize: "19px"
|
||
fontWeight: 700
|
||
body:
|
||
fontFamily: "Valkyrie OT B, Iowan Old Style, Charter, Georgia, serif"
|
||
fontSize: "17px"
|
||
fontWeight: 400
|
||
lineHeight: 1.8
|
||
code:
|
||
fontFamily: "UbuntuMono NFM, ui-monospace, monospace"
|
||
fontSize: "14px"
|
||
lineHeight: 1.5
|
||
label:
|
||
fontFamily: "-apple-system, system-ui, sans-serif"
|
||
rounded:
|
||
sm: "8px"
|
||
md: "10px"
|
||
lg: "12px"
|
||
spacing:
|
||
list-item: "5px"
|
||
branch: "10px"
|
||
paragraph: "17px"
|
||
page-padding: "24px"
|
||
heading-after: "30px"
|
||
heading-before: "90px"
|
||
components:
|
||
nav-rail:
|
||
backgroundColor: "{colors.field-paper}"
|
||
width: "56px"
|
||
library-column:
|
||
width: "232px"
|
||
mentor-column:
|
||
width: "356px"
|
||
editor-page:
|
||
backgroundColor: "{colors.page}"
|
||
width: "66ch"
|
||
fix-card:
|
||
backgroundColor: "{colors.page}"
|
||
textColor: "{colors.iron-gall-ink}"
|
||
rounded: "{rounded.md}"
|
||
padding: "16px"
|
||
code-panel:
|
||
backgroundColor: "{colors.substrate}"
|
||
rounded: "{rounded.sm}"
|
||
padding: "14px 16px"
|
||
typography: "{typography.code}"
|
||
---
|
||
|
||
# Design System: Museion
|
||
|
||
## Overview
|
||
|
||
**Creative North Star: "The Scholar's Desk"**
|
||
|
||
Museion is one writer's private study rendered in software: warm paper, iron-gall ink, a single enameled accent. The world is two papers — Field Paper for the desk's chrome (rails, pane grounds, the focus field) and Page for everything that *is* the document (the editor's ground, reading, cards, transcript bubbles). They differ by three points of warmth; that difference is the whole depth system at rest. Hairlines structure, ink speaks, and the Terracotta Seal appears the way a wax seal does on a letter — rarely, and meaningfully.
|
||
|
||
The document's voice is serif (Valkyrie OT B for prose, Concourse OT for headings, UbuntuMono for code); the chrome's voice is the platform's system sans, quiet and small. Nothing else gets a personality. The mentor is present but paper-toned — critique arrives as Fix Cards on the same Page color as the writing, never as toasts or chrome-noise. Light-only by design: one palette, live-calibrated with the owner, deliberately departed from the flatter single-surface export palette (#89). Motion is the platform default — nothing is authored, nothing performs.
|
||
|
||
Confirmed visual anti-references: the sans heading face titling the document (rejected — chrome disconnected from the serif document; the title speaks the document's own voice), and dark mode (the world is one light palette).
|
||
|
||
**Key Characteristics:**
|
||
|
||
- Two warm papers, never more: Field Paper chrome, Page content
|
||
- Serif document voice on a 66-character measure; system sans chrome
|
||
- One accent (Terracotta Seal) used sparingly; one semantic green with a fixed meaning
|
||
- Flat at rest — hairlines, not shadows; shadows only for floating panels
|
||
- Critique is first-class: cards are content, on the Page color
|
||
- Radius 10 world, light-only, macOS-native controls
|
||
|
||
## Colors
|
||
|
||
A warm paper-and-ink palette: every neutral leans warm, and exactly one accent carries meaning.
|
||
|
||
### Primary
|
||
|
||
- **Terracotta Seal** (#C96442): the single accent — enameled copper-terracotta. Interactive emphasis, key actions, focus rings (reading mode's `:focus-visible` outline rides it at 55% opacity). Rare by design.
|
||
|
||
### Semantic
|
||
|
||
- **Pine** (#36664F): the mentor's ready dot and nothing else. It means "engine healthy" — a status, never a style color.
|
||
|
||
### Neutral
|
||
|
||
- **Field Paper** (#FAF9F3): the desk — workspace root, nav rail, pane chrome grounds, the focus-mode editor ground.
|
||
- **Page** (#FFFEFB): the document — editor ground at rest, reading surface, fix cards, transcript bubbles, selected sidebar items.
|
||
- **Iron-Gall Ink** (#1A1916): primary text on both papers.
|
||
- **Faded Ink** (#6B6964): secondary text, metadata, quiet labels.
|
||
- **Hairline** (#E8E5DF): 1px structure — pane separators, card outlines, dividers.
|
||
- **Substrate** (#F5F5F7): code panels and recessed wells (reading surface; cooler on purpose — the reading surface has its own cooler ink family below).
|
||
- **Reading inks** — Reading Ink #1D1D1F, Reading Secondary #48484D, Reading Muted #6E6E73, Reading Hairline #D2D2D7, Reading Rule #A1A1A6: the reading mode's own slightly cooler micro-palette (reading.css `:root`), used inside the rendered document only.
|
||
|
||
### Named Rules
|
||
|
||
**The Two-Paper Rule.** Exactly two papers exist: Field Paper for chrome, Page for content. Editing, reading, and cards share the Page — a third surface color may never be introduced.
|
||
|
||
**The One Seal Rule.** Terracotta Seal is the only accent. If a second hue is needed, the design is wrong.
|
||
|
||
**The Meaning-Green Rule.** Pine appears exclusively as the engine-ready dot. Using it as decoration, success styling, or a second accent is a violation of its meaning.
|
||
|
||
## Typography
|
||
|
||
**Display Font:** Valkyrie OT B (fallback: Iowan Old Style / Charter / Georgia serif)
|
||
**Heading Font:** Concourse OT Semibold (fallback: Georgia serif)
|
||
**Body Font:** Valkyrie OT B (fallback: same as display)
|
||
**Code Font:** UbuntuMono NFM (fallback: system monospace)
|
||
**Chrome/Label Font:** system sans (`-apple-system`)
|
||
|
||
**Character:** A bookish serif carries everything the writer wrote or the mentor said; a quiet humanist sans carries only the furniture. The pairing is deliberate: the document speaks serif, the desk speaks sans.
|
||
|
||
### Hierarchy
|
||
|
||
- **Display** (400, 22px): the open document's title — the serif body face at the h2 rung. Never the sans face.
|
||
- **Headline** (600, 30px, 1.15): H1 — Concourse OT Semibold; 90px space before closes the prior section, 30px after.
|
||
- **Title** (600, 22px, 1.15): H2 — Concourse OT Semibold.
|
||
- **Subheading** (700, 19px): H3 — the serif body face, bold.
|
||
- **Body** (400, 17px, 1.8): prose on a 66ch measure; paragraph space 17px; list items 5px apart, branches 10px; blank separators render half-height (9px).
|
||
- **Code** (400, 14px, 1.5): inline and fenced, on Substrate panels.
|
||
- **Label** (system sans): chrome labels, sentence case; the mentor header's `ready` reads lowercase.
|
||
|
||
### Named Rules
|
||
|
||
**The Document Speaks Serif Rule.** Anything that is content — the piece, the transcript's agent turns, the document title — wears the serif voice. The sans face titles nothing the writer wrote.
|
||
|
||
**The One Measure Rule.** Prose sets on the 66-character measure (24px side padding). The editor and reading mode agree on it; editing sizes mirror reading.css exactly (px → pt 1:1).
|
||
|
||
## Layout
|
||
|
||
A fixed four-column workspace: nav rail (56px) | library column (232px) | editor (flexible, 420px min) | mentor column (356px). Columns collapse rather than squeeze — the library hides below 1100px window width, the mentor below 920px — mirroring the export's media queries as pane collapse. Settings runs its own two-column shape: 190px sidebar, detail forms left-anchored with a 480px max width. Reading mode centers the 66ch measure with 24px page padding. The conversation surface wears the editor's typography: Valkyrie for agent turns, Concourse OT Book for the user capsule and composer, UbuntuMono as the quiet mono voice.
|
||
|
||
## Elevation & Depth
|
||
|
||
Paper-flat at rest: resting chrome conveys structure with hairlines and the two-paper tonal step, never shadows. Depth is reserved for transient surfaces — the Fix Cards palette (a floating window), overlays, and sheets — which cast the export's two large soft shadows, tinted with ink rather than black.
|
||
|
||
### Shadow Vocabulary
|
||
|
||
- **Panel float** (`0 14px 36px rgba(26,25,22,0.14)`): floating palettes and popover cards.
|
||
- **Overlay lift** (`0 24px 80px rgba(26,25,22,0.18)`): modal overlays and large floating surfaces.
|
||
|
||
### Named Rules
|
||
|
||
**The Floating-Panel Rule.** Shadows belong only to surfaces that float above the desk (palettes, overlays, sheets). Resting chrome never casts one; focus chrome hovers over the measure without pushing it.
|
||
|
||
## Shapes
|
||
|
||
A radius-10 world: cards, panels, and interactive containers round at 10px; small controls and reading-surface code/images at 8px; the engine-status pill at 12px. Status dots are full circles. Library rows carry a 2px leading state strip. Borders are 1px hairlines; blockquotes get a 3px rule edge (1.5px for nesting).
|
||
|
||
## Components
|
||
|
||
### Navigation Rail
|
||
|
||
The desk's spine: 56px wide on Field Paper, icon destinations (Posts / Sessions / Learnings / Trends / Archive), the engine-status pill, and Settings at the foot. Icons quiet; the active destination reads by tone, not by a colored block.
|
||
|
||
### Library Column
|
||
|
||
232px; project section heads over Pass-State groups, per-view collapse toggle. **Library Post Row**: Page-colored row with a 2px leading strip encoding pass state, `✳` marking outline pieces, title in ink, metadata in Faded Ink; row menu (Rename / Convert / Move / Trash) in the system style. Selected rows fill with Page against the Field Paper ground.
|
||
|
||
### Editor Page
|
||
|
||
The Page-colored writing surface: 66ch measure, Valkyrie 17/1.8, autosave. Focus mode repaints the editor's ground to Field Paper — the two papers merge; overlays hover without pushing the measure. Reading mode (⌘R) renders the same Page via the reading pipeline with its own cooler inks.
|
||
|
||
### Mentor Column
|
||
|
||
356px; serif header with the engine chip (Pine dot + lowercase `ready`), the shared transcript, and the composer. Agent turns in Valkyrie, user capsule and composer in Concourse OT Book. **PassBar**: Pass 1/2 tabs, token estimate, Cancel ↔ Blind Read ↔ Run Pass — disabled states carry their reason inline, the missing-key line links to Settings.
|
||
|
||
### Fix Cards (signature)
|
||
|
||
The critique made visible: Page-colored cards, radius 10, hairline border, problem → diagnostic question → fix, with lane and emitter chips and anchored quote. They live in a floating palette window (open cards first) and Apply is ask-before — a blocking sheet shows the exact edit. Never a toast, never auto-applied, never batch.
|
||
|
||
### Code Panel
|
||
|
||
Substrate ground, radius 8, 14px/1.5 UbuntuMono, 14px 16px padding. Fenced blocks in the document and code anywhere it appears.
|
||
|
||
### Sheets
|
||
|
||
The house ask sheets (Origin ask, Outline guard, Convert, New Project) ride the platform sheet with Page grounds and left-anchored forms — one decision per sheet, refusal keeps buttons visible.
|
||
|
||
## Do's and Don'ts
|
||
|
||
### Do:
|
||
|
||
- **Do** keep editing, reading, and cards on the same Page color — the Two-Paper Rule is the depth system.
|
||
- **Do** set anything the writer wrote or the mentor said in the serif voice.
|
||
- **Do** hold prose to the 66ch measure with 24px side padding.
|
||
- **Do** keep critique first-class: Fix Cards are content surfaces, rendered and interacted with like the document itself.
|
||
- **Do** structure with 1px hairlines at rest; reserve the two float shadows for floating surfaces only.
|
||
- **Do** mirror reading.css values exactly when touching editing typography (px → pt 1:1 at 1×).
|
||
|
||
### Don't:
|
||
|
||
- **Don't** add a dark mode or theme variants — the world is one light palette, live-calibrated.
|
||
- **Don't** use Pine anywhere but the engine-ready dot — it is a meaning, not a style.
|
||
- **Don't** introduce a second accent color, gradients, or colored washes; Terracotta Seal is the only hue that isn't paper or ink.
|
||
- **Don't** put shadows on resting chrome.
|
||
- **Don't** set a document title or content in the sans face — that was tried and rejected as chrome disconnected from the document.
|
||
- **Don't** flatten domain modules into generic cards or framework-default styling; the export's geometry and states are the contract.
|