For builders
Tokens, CSS and components for anything handcoded with the brand.
Load the brand
Every handcoded app loads the same three files from this site. Pin a version so an app changes only when you update it. The unversioned paths always point at the latest release.
<link rel="stylesheet" href="https://brand.wellandgood.tech/v/0.2.0-draft/fonts.css">
<link rel="stylesheet" href="https://brand.wellandgood.tech/v/0.2.0-draft/wg-tokens.css">
<link rel="stylesheet" href="https://brand.wellandgood.tech/v/0.2.0-draft/wg.css">
<html lang="en" data-register="interface" data-theme="dark">How it is put together
| Layer | File | What it holds |
|---|---|---|
| Source | tokens.json | Every colour, role, size and step, in DTCG format |
| Tokens | wg-tokens.css | CSS custom properties generated from tokens.json |
| Components | wg.css | Buttons, cards, fields, tables and layout, built only on tokens |
| Fonts | fonts.css | ZT Talk, Pangea Text and Architect Pro Cap |
Roles, not colours
Components ask for a role. The register and the mode decide the value, so one component looks right on the website, in a tool and in a paper.
| Ask for | Not |
|---|---|
var(--wg-link) | #7ca300 |
var(--wg-space-pad) | 2rem |
var(--wg-size-h2) | 2.369rem |