Saer · Create
Build a design system your agents keep to
Colour in OKLCH, type, shape and density, with every text pair checked to WCAG AA. Then take it into your code: Saer gives it to your coding agents and checks every pull request against it.
Colour scales
- #3b82f6
- #737373
Type, shape and density
Contrast ratios
| Step | vs white | vs black |
|---|---|---|
50 | 1.1✕ | 19.3AAA |
100 | 1.2✕ | 17.1AAA |
200 | 1.5✕ | 14.2AAA |
300 | 2.0✕ | 10.4AAA |
400 | 2.9✕ | 7.2AAA |
500 | 5.0AA | 4.2✕ |
600 | 6.7AA | 3.1✕ |
700 | 9.5AAA | 2.2✕ |
800 | 12.9AAA | 1.6✕ |
900 | 16.7AAA | 1.3✕ |
950 | 19.5AAA | 1.1✕ |
Palette
primaryPreview
Page
Typography
Heading
Body text with standard contrast for readability.
Secondary text for less prominent information.
Buttons
Tabs
Inputs
Select
Cards
Analytics
12 new insights
Settings
3 pending changes
Take it into your code
One file carries the whole system, and Saer writes it into your project for Tailwind v4, shadcn/ui or plain CSS.
Download saer-system.json
Colours, type, shape and density, with the theme, the design tokens and the components generated from them.
In your project, run
saer create --from saer-system.jsonIt finds your stack, writes the theme and tokens, offers the components, and asks before it changes a file you already have.
Then connect your agents
saer initConnects Claude Code, Cursor or Codex, and switches on the pull request check.
Agents keep to it
Saer gives your coding agents these components and tokens, so they reuse them instead of rebuilding a button.
Pull requests stay on it
saer ci flags new raw colours and hand-built UI on the lines a change adds.
Figma gets the same tokens
saer.tokens.json is the same system as W3C design tokens, light and dark, for a Figma variables importer.
Export
saer-theme.css · Import after tailwindcss. Utilities like bg-primary, text-fg, rounded-md, px-ctrl-x.
/* my-system: generated by Saer Create.
Tailwind CSS v4. In your main CSS: @import "tailwindcss"; then @import "./saer-theme.css";
Light values sit on :root, dark values on .dark (add class="dark" to <html>).
Utilities: bg-background, bg-surface, text-fg, text-fg-muted, border-border, bg-primary text-primary-fg,
text-primary-ink, rounded-md, shadow-md, font-heading, px-ctrl-x py-ctrl-y, and every scale step such as bg-primary-500.
*/
@theme {
/* colour scales */
--color-primary-50: oklch(0.97 0.0143 259.81);
--color-primary-100: oklch(0.93 0.0337 259.81);
--color-primary-200: oklch(0.87 0.064 259.81);
--color-primary-300: oklch(0.78 0.1121 259.81);
--color-primary-400: oklch(0.68 0.1692 259.81);
--color-primary-500: oklch(0.55 0.188 259.81);
--color-primary-600: oklch(0.48 0.1786 259.81);
--color-primary-700: oklch(0.4 0.1598 259.81);
--color-primary-800: oklch(0.32 0.1316 259.81);
--color-primary-900: oklch(0.24 0.1034 259.81);
--color-primary-950: oklch(0.16 0.0752 259.81);
--color-neutral-50: oklch(0.97 0 0);
--color-neutral-100: oklch(0.93 0 0);
--color-neutral-200: oklch(0.87 0 0);
--color-neutral-300: oklch(0.78 0 0);
--color-neutral-400: oklch(0.68 0 0);
--color-neutral-500: oklch(0.55 0 0);
--color-neutral-600: oklch(0.48 0 0);
--color-neutral-700: oklch(0.4 0 0);
--color-neutral-800: oklch(0.32 0 0);
--color-neutral-900: oklch(0.24 0 0);
--color-neutral-950: oklch(0.16 0 0);
/* type */
--font-heading: 'Inter', system-ui, sans-serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-xs: 0.7155rem;
--text-sm: 0.8554rem;
--text-base: 1rem;
--text-lg: 1.25rem;
--text-xl: 1.5625rem;
--text-2xl: 1.9531rem;
--text-3xl: 2.5528rem;
--leading-tight: 1.15;
--leading-normal: 1.55;
/* shape */
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 16px;
--radius-pill: 999px;
--shadow-sm: 0 1px 2px rgba(17,15,40,0.06);
--shadow-md: 0 8px 20px -8px rgba(17,15,40,0.16);
--shadow-lg: 0 24px 48px -18px rgba(17,15,40,0.24);
/* density */
--spacing-ctrl-y: 11px;
--spacing-ctrl-x: 18px;
--spacing-gap: 16px;
--spacing-card: 20px;
}
:root {
--ds-background: oklch(0.97 0 0);
--ds-surface: oklch(0.97 0 0);
--ds-surface-raised: oklch(0.93 0 0);
--ds-fg: oklch(0.24 0 0);
--ds-fg-secondary: oklch(0.4 0 0);
--ds-fg-muted: oklch(0.48 0 0);
--ds-border: oklch(0.87 0 0);
--ds-border-strong: oklch(0.78 0 0);
--ds-primary: oklch(0.55 0.188 259.81);
--ds-primary-fg: oklch(0.97 0.0143 259.81);
--ds-primary-subtle: oklch(0.93 0.0337 259.81);
--ds-primary-ink: oklch(0.48 0.1786 259.81);
--ds-secondary: oklch(0.55 0.188 259.81);
--ds-accent: oklch(0.55 0.188 259.81);
--ds-accent-fg: oklch(0.97 0.0143 259.81);
}
.dark {
--ds-background: oklch(0.16 0 0);
--ds-surface: oklch(0.24 0 0);
--ds-surface-raised: oklch(0.32 0 0);
--ds-fg: oklch(0.97 0 0);
--ds-fg-secondary: oklch(0.78 0 0);
--ds-fg-muted: oklch(0.68 0 0);
--ds-border: oklch(0.32 0 0);
--ds-border-strong: oklch(0.4 0 0);
--ds-primary: oklch(0.55 0.188 259.81);
--ds-primary-fg: oklch(0.97 0.0143 259.81);
--ds-primary-subtle: oklch(0.24 0.1034 259.81);
--ds-primary-ink: oklch(0.78 0.1121 259.81);
--ds-secondary: oklch(0.68 0.1692 259.81);
--ds-accent: oklch(0.68 0.1692 259.81);
--ds-accent-fg: oklch(0.16 0.0752 259.81);
}
@theme inline {
--color-background: var(--ds-background);
--color-surface: var(--ds-surface);
--color-surface-raised: var(--ds-surface-raised);
--color-fg: var(--ds-fg);
--color-fg-secondary: var(--ds-fg-secondary);
--color-fg-muted: var(--ds-fg-muted);
--color-border: var(--ds-border);
--color-border-strong: var(--ds-border-strong);
--color-primary: var(--ds-primary);
--color-primary-fg: var(--ds-primary-fg);
--color-primary-subtle: var(--ds-primary-subtle);
--color-primary-ink: var(--ds-primary-ink);
--color-secondary: var(--ds-secondary);
--color-accent: var(--ds-accent);
--color-accent-fg: var(--ds-accent-fg);
}