# SourceLess design kit 2.0.0 The palette, typefaces and component rules the SourceLess chain's own surfaces are drawn in — the explorer, the wallet, the download host — published so that another SourceLess site can look like them without copying colours by eye. Generated from `src/surface/ivaldi.ts`; credited to Alex M Stratulat and the SourceLess team. ## Files | File | What it is | Depends on | |------|-----------|------------| | `tokens.css` | The SourceLess palette as CSS custom properties on `:root`, dark by default, light under `prefers-color-scheme` and `[data-theme=light]` | nothing | | `tokens-ignitehex.css` | The IgniteHeX operator palette, the same token names | nothing | | `fonts.css` | `@font-face` for Archivo and IBM Plex Mono, served from `fonts/` beside it | `fonts/` | | `components.css` | The shared element and component rules: buttons, panels, tables, badges, banners | `tokens.css` | | `tokens-meridian.css`, `tokens-forge.css`, `tokens-daylight.css`, `tokens-aurora.css` | Each appearance's complete token set on `:root`: colour roles and status colours, radii, borders, density, type families, and the shell's sizes | nothing | | `appearances.css` | All four, switched by ``; Meridian when none is set | nothing | | `shell.css` | The application shell: top bar, surface switcher, appearance picker, sidebar and drawer, ticker strip, breadcrumbs — one markup, sized by the appearance tokens | `appearances.css` | | `fonts/` | The eight woff2 faces and `OFL.txt`, the licence that must travel with them | — | | `integrity.json`, `SHA256SUMS` | A digest for every file, as an SRI string and as `sha256sum -c` input | — | ## The four appearances are proprietary **Meridian, Forge, Daylight and Aurora — their token sets, their shell and their names — are the proprietary design of Alexandru Marius Stratulat and the SourceLess team. All rights reserved. No use without written consent; for licensing write to alex@strlabs.io.** They are published here so the SourceLess surfaces can share one copy, not as an open design system. The typefaces are not ours and keep their own licence (SIL OFL 1.1, `fonts/OFL.txt`). `tokens.css` is safe to drop into any page: it defines custom properties and styles nothing. `components.css` is opinionated — it styles bare `body`, `header`, `section` and `button` — so adopt it deliberately, on a page built for it, or not at all. ## Adopting it Pin the **exact version** and its digest. `/design/v1/` follows the newest release and its digests change with each one; `/design/2.0.0/` never changes. ```html ``` The digests above are this release's; `integrity.json` carries one for every file, including `components.css` and the faces. Then draw in the tokens — `background: var(--bg)`, `color: var(--ink)`, `font-family: var(--font-body)` — and never in the hex values behind them, so the next minor release re-themes the page without an edit. **Self-hosting is equally supported** and is what a strict Content-Security-Policy usually wants: download the directory, check it with `sha256sum -c SHA256SUMS`, and serve it from your own origin. Keep `fonts/OFL.txt` beside the faces. ## What the tokens mean - `--accent` is the brand colour and **never** a status. `--ok`, `--warn` and `--bad` mean something about the chain, and `--unknown` (currently the same as `--warn`) marks a value that was not measured — shown as *unknown*, never as zero. - Every foreground token clears WCAG AA against every background it is drawn on, in both themes; `tests/integration/ivaldi.integration.test.ts` recomputes that on every change. ## Versioning Semantic versioning. A **minor** release adds a token or a rule; a **patch** corrects a value without changing what it is for; anything that renames or removes a token is a **major** release under a new path (`/design/v2/`), and `/design/v1/` stays as it was. See `CHANGELOG.md`. The live-status widget, Sirius, is published beside this kit at `https://asgard.xplstr.org/get/widget/v1/`.