README.md
# supram A design system for web and app things, built progressively. So far: a leadlight grid, a typography system set in Atkinson Hyperlegible, four palettes on one white foundation (Risograph on white by default), and buttons and icons. Plain CSS, no build step. Open `demo/index.html` to see everything. ## Use in a project Every project keeps its own copy of supram. Nothing loads from a CDN. **With a bundler** (Vite, Next, Astro, and so on): ``` npm install @supramundane/supram ``` ```js import "@supramundane/supram"; ``` **Without a bundler**, copy the CSS and fonts somewhere the page can reach and link them: ``` npx supram copy public/supram ``` ```html <link rel="stylesheet" href="/supram/css/supram.css"> ``` Keep `css/` and `fonts/` side by side; the fonts are found relative to the CSS. **Another palette:** `supram.css` carries Risograph on white. For one of the others, import `@supramundane/supram/neon` (or `mono`, `duotone`), or link `css/supram-neon.css` instead of `css/supram.css`; the entry files are identical except for the palette they import. A vendored copy can also swap the `palettes/riso.css` import in `supram.css`. `supram.css` imports the layers in order: `tokens`, `base`, `type`, `grid`, `components`, `utilities`. Anything you write in an unlayered stylesheet wins over all of them, so overriding is just writing CSS. ## Use with an agent The skill in `skills/supram/SKILL.md` is the same material as this README, written for an agent: setup, the vocabulary, the colour rules, and page recipes. Three ways to give it to a project: - As a Claude Code plugin, once for every project: `claude plugin marketplace add https://tangled.org/robin.berjon.com/supram` then `claude plugin install supram@supramundane`. - Into one project's skills folder: `npx supram skill`. - Any agent that reads `node_modules` finds it at `node_modules/@supramundane/supram/skills/supram/SKILL.md`, and `llms.txt` at the package root points to it. `npm run check` verifies that every token and class the ski…