/gist:design-systemfrom gist
Digital Stoic visual system v0.5 "Tablette" for Claude artifacts and HTML pages: design tokens, typography, CSS classes, inline-SVG charts, and an assembler that injects base CSS and base64 fonts. Overrides artifact defaults. Use when building artifacts, HTML pages, dashboards, mini-apps, charts, or data visualizations.
Ships in gist. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
version: 0.6.1 | palette: tablette | updated: 2026-11-08
Entry point. Read this first, then open ONLY the files the routing table sends you to. Paths are relative to this skill's directory.
This file duplicates the hard facts of reference.md on purpose. Their version: lines must match — if they differ, this index is stale and reference.md wins.
| task | read | then |
|---|---|---|
| build any artifact / HTML page | reference.md | mandatory, full |
| pick a class before inventing one | templates/gallery.html | living spec, grep it |
| start a document-shaped page | templates/identity.html | copy as skeleton |
| see a full screen of a given type | demo/0N-<type>.html, simple to complex: 01-document 02-landing 03-charts · tool mode 04-dashboard 05-decision 06-mini-app | copy the closest one, grep it |
| consume the system on a static site or another page (fonts as files, base.css copy, theme-color, reserved class names, landing CTA, Greek) | §Consumers of reference.md | |
| any chart, plot, dashboard tile | load skill dataviz FIRST, then §Data viz of reference.md | skill owns form, system owns params |
Never read fonts/*.css (base64 blobs) or built output. The assembler injects them; they must not pass through context.
bun <skill-dir>/artifact-build.mjs [--standalone] <src.html> <out.html>
Runs from any cwd; src/out are cwd-relative. Static site without a build: bun <skill-dir>/export-fonts.mjs <outdir> writes the faces as woff2 + fonts.css. Default = fragment (artifact engine supplies head). --standalone = complete self-hostable document, zero outbound request.
Source markers: /* @base */ · /* @font: <slug> */ · <!-- @title: ... --> · <!-- @body: mode-outil --> (standalone <body> class; also set it on the outer wrapper for fragments)
Font slugs: ebgaramond-400 ebgaramond-400i hanken-400 hanken-600 jetbrains-400
Output goes to the calling project's build/ folder — never /tmp/.
data-theme beats the media query both ways.--accent (blueprint blue, machine) = actionable · --voice (terracotta, human) = first-person conviction ONLY · --ok/--warn/--no (+ their -weak grounds) = state only, --no = refusal, never the voice · --cat-* = series identity only.validate_palette.js (dataviz skill) in both modes.fit() in demo/03-charts.html), so chart text stays 12 px. Mermaid for flows/schemas only, never quantitative data. Chart marks use .mk, never .bar.:focus-visible is global in the base, do not override per component.font-size-adjust:.5 on body; Hanken operates and compares (buttons, chips, table headers and cells, inputs, hints, errors, KPI figures, legends, chart text, dashboard rail); JetBrains Mono only for what gets copied verbatim (hex, ids, sources, code, document rail values). Tool pages: <body class="mode-outil"> (marker @body) also switches editorial labels to Hanken. Editorial labels use --label-* tokens, never a hardcoded family. Sizes are tokens, never a raw rem or px: reading --t-sm --t-body --t-lede --t-h2 --t-h1 --t-h1-sm, interface --u-xs (12 px floor) --u-sm --u-md; spacing --s0…--s6.artifact-build.mjs + export-fonts.mjs + artifact-base.css + fonts/ move as one block or not at all. Never reuse a base class name for another meaning in a consumer.artifact-base.css, fonts/ or the version: line → run bun <skill-dir>/check-demos.mjs (rebuilds into demo/build/) and fix every FAIL before calling the change done. Demos must stay a true picture of the system.Identity v0.2 Tablette (parchment, terracotta voice #9A3B1A/#E28D65, blueprint accent #1F3F8F/#94B0F0) · dark versant "Ardoise" (slate #161A1F/#1E232A), 2026-11-07 · type by role (Garamond reads, Hanken operates/compares, mono copied), 2026-11-07 · font-size-adjust:.5 on the serif · .reg-conv keeps its full --voice-weak background · series palette · emoji as meaningful markers, 2026-11-08 · inline-SVG chart engine. Rationale in §Settled of reference.md.
artifact-base.css (opens in a new tab)artifact-build.mjs (opens in a new tab)check-demos.mjs (opens in a new tab)demo/01-document.html (opens in a new tab)demo/02-landing.html (opens in a new tab)demo/03-charts.html (opens in a new tab)demo/04-dashboard.html (opens in a new tab)demo/05-decision.html (opens in a new tab)demo/06-mini-app.html (opens in a new tab)export-fonts.mjs (opens in a new tab)fonts/OFL-ebgaramond.txt (opens in a new tab)fonts/OFL-hanken.txt (opens in a new tab)fonts/OFL-jetbrainsmono.txt (opens in a new tab)fonts/ebgaramond-400.css (opens in a new tab)fonts/ebgaramond-400i.css (opens in a new tab)fonts/hanken-400.css (opens in a new tab)fonts/hanken-600.css (opens in a new tab)fonts/jetbrains-400.css (opens in a new tab)reference.md (opens in a new tab)templates/gallery.html (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
npx claudepluginhub digital-stoic-org/agent-skills --plugin gistOther plugins' skills for the same job