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.
288 lines
16 KiB
JSON
288 lines
16 KiB
JSON
{
|
||
"schemaVersion": 2,
|
||
"generatedAt": "2026-11-11T15:32:43Z",
|
||
"title": "Design System: Museion",
|
||
"extensions": {
|
||
"colorMeta": {
|
||
"terracotta-seal": {
|
||
"role": "primary",
|
||
"displayName": "Terracotta Seal",
|
||
"canonical": "#C96442",
|
||
"tonalRamp": [
|
||
"#382018",
|
||
"#683726",
|
||
"#984d34",
|
||
"#c86442",
|
||
"#d3876d",
|
||
"#ddab9a",
|
||
"#e7cfc6",
|
||
"#f2f2f2"
|
||
]
|
||
},
|
||
"pine": {
|
||
"role": "semantic",
|
||
"displayName": "Pine",
|
||
"canonical": "#36664F",
|
||
"tonalRamp": [
|
||
"#143023",
|
||
"#29523e",
|
||
"#45705b",
|
||
"#6a897a",
|
||
"#8fa198",
|
||
"#b4bab7",
|
||
"#d5d5d5",
|
||
"#f2f2f2"
|
||
]
|
||
},
|
||
"field-paper": {
|
||
"role": "neutral",
|
||
"displayName": "Field Paper",
|
||
"canonical": "#FAF9F3",
|
||
"tonalRamp": [
|
||
"#262626",
|
||
"#434343",
|
||
"#616161",
|
||
"#7e7e7e",
|
||
"#9b9b9a",
|
||
"#b9b8b6",
|
||
"#d6d5d1",
|
||
"#f4f3ed"
|
||
]
|
||
},
|
||
"page": {
|
||
"role": "neutral",
|
||
"displayName": "Page",
|
||
"canonical": "#FFFEFB",
|
||
"tonalRamp": [
|
||
"#262626",
|
||
"#434343",
|
||
"#616161",
|
||
"#7e7e7e",
|
||
"#9b9b9a",
|
||
"#b8b8b7",
|
||
"#d6d5d3",
|
||
"#f3f2f0"
|
||
]
|
||
},
|
||
"iron-gall-ink": {
|
||
"role": "neutral",
|
||
"displayName": "Iron-Gall Ink",
|
||
"canonical": "#1A1916",
|
||
"tonalRamp": [
|
||
"#272624",
|
||
"#444342",
|
||
"#61615f",
|
||
"#7e7e7d",
|
||
"#9b9b9b",
|
||
"#b8b8b8",
|
||
"#d5d5d5",
|
||
"#f2f2f2"
|
||
]
|
||
},
|
||
"faded-ink": {
|
||
"role": "neutral",
|
||
"displayName": "Faded Ink",
|
||
"canonical": "#6B6964",
|
||
"tonalRamp": [
|
||
"#272624",
|
||
"#454340",
|
||
"#62615c",
|
||
"#7f7e7a",
|
||
"#9c9b98",
|
||
"#b9b8b6",
|
||
"#d5d5d5",
|
||
"#f2f2f2"
|
||
]
|
||
},
|
||
"hairline": {
|
||
"role": "neutral",
|
||
"displayName": "Hairline",
|
||
"canonical": "#E8E5DF",
|
||
"tonalRamp": [
|
||
"#262626",
|
||
"#434343",
|
||
"#616161",
|
||
"#7e7e7d",
|
||
"#9c9b99",
|
||
"#bab8b4",
|
||
"#d8d5d0",
|
||
"#f5f2ed"
|
||
]
|
||
},
|
||
"substrate": {
|
||
"role": "neutral",
|
||
"displayName": "Substrate",
|
||
"canonical": "#F5F5F7",
|
||
"tonalRamp": [
|
||
"#262626",
|
||
"#434343",
|
||
"#616161",
|
||
"#7e7e7e",
|
||
"#9b9b9b",
|
||
"#b8b8b9",
|
||
"#d5d5d6",
|
||
"#f2f2f4"
|
||
]
|
||
},
|
||
"reading-ink": {
|
||
"role": "neutral",
|
||
"displayName": "Reading Ink",
|
||
"canonical": "#1D1D1F"
|
||
},
|
||
"reading-secondary": {
|
||
"role": "neutral",
|
||
"displayName": "Reading Secondary",
|
||
"canonical": "#48484D"
|
||
},
|
||
"reading-muted": {
|
||
"role": "neutral",
|
||
"displayName": "Reading Muted",
|
||
"canonical": "#6E6E73"
|
||
},
|
||
"reading-hairline": {
|
||
"role": "neutral",
|
||
"displayName": "Reading Hairline",
|
||
"canonical": "#D2D2D7"
|
||
},
|
||
"reading-rule": {
|
||
"role": "neutral",
|
||
"displayName": "Reading Rule",
|
||
"canonical": "#A1A1A6"
|
||
}
|
||
},
|
||
"shadows": [
|
||
{
|
||
"name": "panel-float",
|
||
"value": "0 14px 36px rgba(26,25,22,0.14)",
|
||
"purpose": "Floating palettes and popover cards (Fix Cards palette)."
|
||
},
|
||
{
|
||
"name": "overlay-lift",
|
||
"value": "0 24px 80px rgba(26,25,22,0.18)",
|
||
"purpose": "Modal overlays and large floating surfaces."
|
||
}
|
||
],
|
||
"breakpoints": [
|
||
{
|
||
"name": "collapse-mentor",
|
||
"value": "920px",
|
||
"purpose": "Window width below which the mentor column hides."
|
||
},
|
||
{
|
||
"name": "collapse-library",
|
||
"value": "1100px",
|
||
"purpose": "Window width below which the library column hides."
|
||
}
|
||
]
|
||
},
|
||
"components": [
|
||
{
|
||
"name": "Nav Rail",
|
||
"kind": "nav",
|
||
"refersTo": "nav-rail",
|
||
"description": "The desk's spine: 56px icon rail on Field Paper with the engine-status pill at the foot.",
|
||
"html": "<nav class=\"ds-nav-rail\"><button class=\"ds-nav-item ds-active\" aria-label=\"Posts\"><svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\"><rect x=\"2\" y=\"3\" width=\"14\" height=\"12\" rx=\"2\" stroke=\"currentColor\" stroke-width=\"1.5\"/><path d=\"M5 7h8M5 10h5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"/></svg></button><button class=\"ds-nav-item\" aria-label=\"Sessions\"><svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\"><path d=\"M3 4.5C3 3.7 3.7 3 4.5 3h9C14.3 3 15 3.7 15 4.5v7c0 .8-.7 1.5-1.5 1.5h-9C3.7 13 3 12.3 3 11.5v-7z\" stroke=\"currentColor\" stroke-width=\"1.5\"/><path d=\"M6 15h6\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"/></svg></button><div class=\"ds-nav-spacer\"></div><div class=\"ds-nav-pill\"><span class=\"ds-nav-dot\"></span>ready</div></nav>",
|
||
"css": ".ds-nav-rail { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 56px; padding: 14px 0; background: #FAF9F3; border-right: 1px solid #E8E5DF; } .ds-nav-item { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: none; border-radius: 10px; background: transparent; color: #6B6964; cursor: pointer; } .ds-nav-item:hover { background: rgba(26,25,22,0.05); } .ds-nav-item:focus-visible { outline: 2px solid rgba(201,100,66,0.55); outline-offset: 1px; } .ds-nav-item.ds-active { background: #FFFEFB; color: #1A1916; } .ds-nav-spacer { flex: 1; } .ds-nav-pill { display: flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 12px; background: #FFFEFB; border: 1px solid #E8E5DF; color: #6B6964; font-family: -apple-system, system-ui, sans-serif; font-size: 10px; } .ds-nav-dot { width: 6px; height: 6px; border-radius: 50%; background: #36664F; }"
|
||
},
|
||
{
|
||
"name": "Library Post Row",
|
||
"kind": "custom",
|
||
"refersTo": "library-column",
|
||
"description": "Library row: 2px leading state strip, ink title, faded metadata, hover tint.",
|
||
"html": "<div class=\"ds-library-row\" tabindex=\"0\"><span class=\"ds-row-strip\"></span><div class=\"ds-row-body\"><div class=\"ds-row-title\">The expected value of showing</div><div class=\"ds-row-meta\">Pass-1 Done · 6 min</div></div></div>",
|
||
"css": ".ds-library-row { display: flex; align-items: stretch; gap: 10px; padding: 8px 12px 8px 0; border-radius: 10px; cursor: default; } .ds-library-row:hover { background: rgba(26,25,22,0.04); } .ds-library-row:focus-visible { outline: 2px solid rgba(201,100,66,0.55); outline-offset: -2px; } .ds-row-strip { width: 2px; border-radius: 1px; background: #6B6964; } .ds-row-body { min-width: 0; } .ds-row-title { font-family: -apple-system, system-ui, sans-serif; font-size: 13px; color: #1A1916; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ds-row-meta { font-family: -apple-system, system-ui, sans-serif; font-size: 11px; color: #6B6964; margin-top: 2px; }"
|
||
},
|
||
{
|
||
"name": "Fix Card",
|
||
"kind": "card",
|
||
"refersTo": "fix-card",
|
||
"description": "The critique made visible: problem → diagnostic → fix on the Page color; Apply is ask-before.",
|
||
"html": "<article class=\"ds-fix-card\"><header class=\"ds-card-head\"><span class=\"ds-card-chip\">structure</span><span class=\"ds-card-chip ds-chip-quiet\">engine</span></header><h4 class=\"ds-card-pattern\">Buried thesis</h4><p class=\"ds-card-problem\">The argument arrives in paragraph four; the reader has already guessed a different essay.</p><p class=\"ds-card-diagnostic\">Could a reader state the claim after the first paragraph?</p><p class=\"ds-card-fix\">Move the thesis to the opening; demote its current paragraph to support.</p><div class=\"ds-card-actions\"><button class=\"ds-card-apply\">Apply…</button><button class=\"ds-card-skip\">Skip</button></div></article>",
|
||
"css": ".ds-fix-card { background: #FFFEFB; border: 1px solid #E8E5DF; border-radius: 10px; padding: 16px; box-shadow: 0 14px 36px rgba(26,25,22,0.14); max-width: 340px; } .ds-card-head { display: flex; gap: 6px; margin-bottom: 10px; } .ds-card-chip { font-family: -apple-system, system-ui, sans-serif; font-size: 10px; color: #6B6964; border: 1px solid #E8E5DF; border-radius: 6px; padding: 1px 6px; } .ds-chip-quiet { border-style: dashed; } .ds-card-pattern { font-family: -apple-system, system-ui, sans-serif; font-size: 13px; font-weight: 600; color: #1A1916; margin: 0 0 6px; } .ds-card-problem, .ds-card-diagnostic, .ds-card-fix { font-family: -apple-system, system-ui, sans-serif; font-size: 12px; line-height: 1.5; margin: 0 0 6px; color: #1A1916; } .ds-card-diagnostic { color: #6B6964; font-style: italic; } .ds-card-actions { display: flex; gap: 8px; margin-top: 10px; } .ds-card-apply { font-family: -apple-system, system-ui, sans-serif; font-size: 12px; color: #C96442; background: transparent; border: 1px solid rgba(201,100,66,0.45); border-radius: 8px; padding: 4px 12px; cursor: pointer; } .ds-card-apply:hover { background: rgba(201,100,66,0.08); } .ds-card-apply:focus-visible { outline: 2px solid rgba(201,100,66,0.55); outline-offset: 1px; } .ds-card-skip { font-family: -apple-system, system-ui, sans-serif; font-size: 12px; color: #6B6964; background: transparent; border: none; border-radius: 8px; padding: 4px 8px; cursor: pointer; } .ds-card-skip:hover { color: #1A1916; }"
|
||
},
|
||
{
|
||
"name": "Mentor Header",
|
||
"kind": "custom",
|
||
"refersTo": "mentor-column",
|
||
"description": "Serif mentor title with the Pine ready dot and lowercase status.",
|
||
"html": "<header class=\"ds-mentor-head\"><h3 class=\"ds-mentor-title\">Mentor</h3><span class=\"ds-mentor-status\"><span class=\"ds-mentor-dot\"></span>ready</span></header>",
|
||
"css": ".ds-mentor-head { display: flex; align-items: baseline; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #E8E5DF; } .ds-mentor-title { font-family: Iowan Old Style, Charter, Georgia, serif; font-size: 17px; font-weight: 400; color: #1A1916; margin: 0; } .ds-mentor-status { display: inline-flex; align-items: center; gap: 5px; font-family: -apple-system, system-ui, sans-serif; font-size: 11px; color: #6B6964; } .ds-mentor-dot { width: 7px; height: 7px; border-radius: 50%; background: #36664F; }"
|
||
},
|
||
{
|
||
"name": "Editor Page",
|
||
"kind": "custom",
|
||
"refersTo": "editor-page",
|
||
"description": "The Page-colored writing surface: serif body on the 66ch measure.",
|
||
"html": "<div class=\"ds-editor-page\"><h1 class=\"ds-doc-title\">The expected value of showing</h1><p class=\"ds-doc-body\">The workshop answer is to show the work. The honest answer is that showing is a wager: you pay in attention you could have spent elsewhere, and the payout is a reader who stays.</p><p class=\"ds-doc-body\">What follows is an accounting of that wager.</p></div>",
|
||
"css": ".ds-editor-page { background: #FFFEFB; max-width: 66ch; margin: 0 auto; padding: 24px; } .ds-doc-title { font-family: Iowan Old Style, Charter, Georgia, serif; font-size: 22px; font-weight: 400; color: #1A1916; margin: 0 0 16px; line-height: 1.15; } .ds-doc-body { font-family: Iowan Old Style, Charter, Georgia, serif; font-size: 17px; line-height: 1.8; color: #1A1916; margin: 17px 0 0; }"
|
||
},
|
||
{
|
||
"name": "Code Panel",
|
||
"kind": "custom",
|
||
"refersTo": "code-panel",
|
||
"description": "Recessed well for code: Substrate ground, mono 14/1.5.",
|
||
"html": "<pre class=\"ds-code-panel\"><code>measure = 66ch\npadding = 24px</code></pre>",
|
||
"css": ".ds-code-panel { background: #F5F5F7; border-radius: 8px; padding: 14px 16px; margin: 17px 0 0; font-family: ui-monospace, Menlo, monospace; font-size: 14px; line-height: 1.5; color: #1A1916; white-space: pre-wrap; }"
|
||
}
|
||
],
|
||
"narrative": {
|
||
"northStar": "The Scholar's Desk",
|
||
"overview": "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.\n\nThe 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.\n\nConfirmed 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).",
|
||
"keyCharacteristics": [
|
||
"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"
|
||
],
|
||
"rules": [
|
||
{
|
||
"name": "The Two-Paper Rule",
|
||
"body": "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.",
|
||
"section": "colors"
|
||
},
|
||
{
|
||
"name": "The One Seal Rule",
|
||
"body": "Terracotta Seal is the only accent. If a second hue is needed, the design is wrong.",
|
||
"section": "colors"
|
||
},
|
||
{
|
||
"name": "The Meaning-Green Rule",
|
||
"body": "Pine appears exclusively as the engine-ready dot. Using it as decoration, success styling, or a second accent is a violation of its meaning.",
|
||
"section": "colors"
|
||
},
|
||
{
|
||
"name": "The Document Speaks Serif Rule",
|
||
"body": "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.",
|
||
"section": "typography"
|
||
},
|
||
{
|
||
"name": "The One Measure Rule",
|
||
"body": "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).",
|
||
"section": "typography"
|
||
},
|
||
{
|
||
"name": "The Floating-Panel Rule",
|
||
"body": "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.",
|
||
"section": "elevation"
|
||
}
|
||
],
|
||
"dos": [
|
||
"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×)."
|
||
],
|
||
"donts": [
|
||
"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."
|
||
]
|
||
}
|
||
} |