Clean Slate: an Astryx theme
Cool slate-white page, white cards, Inter type, indigo accent, JetBrains Mono for code and soft corners.Change it in tweakui's Astryx theme lab to pick new choices, check contrast and export it with a DESIGN.md.MinimalBy tweakui · measured 11 Nov 2026
Preview
The 7 choices
Brand colour
#6265F0
The primary button, links and focusTone
Cool
Greys lean coolContrast
Standard
Body text 14.6:1 on cardsFonts
Inter + JetBrains Mono
Headings and body; JetBrains Mono for codeShape
Soft
4 / 8 / 8 px cornersDensity
Default
4 px spacing step, 32 px controlsMotion
Calm
175 / 410 / 975 msColour tokens
| Token | Light | Dark | Contrast |
|---|---|---|---|
Accent--color-accent | #6265F0 | #818CF8 | AAOn accent: 4.5 / 5.9 :1 |
On accent--color-on-accent | #FFFFFF | #0F172A | – |
Page--color-background-body | #F8FAFC | #0F172A | AAAText on page: 13.9 / 14.4 :1 |
Surface--color-background-surface | #FFFFFF | #1E293B | AAAText on surface: 14.6 / 11.8 :1 |
Muted--color-background-muted | #F3F4F6 | #152032 | AASecondary text on it: 4.5 / 6.4 :1 |
Text--color-text-primary | #1E293B | #E2E8F0 | – |
Text secondary--color-text-secondary | #69707E | #9CA3AF | AAOn surface: 4.9 / 5.7 :1 |
Border--color-border | #D1D5DB | #4B5563 | – |
Success--color-success | #0D8626 | #0D8626 | Fills with their own on-colour |
Warning--color-warning | #E9AF08 | #F2C00B | Fills with their own on-colour |
Error--color-error | #DF3337 | #EF4444 | Fills with their own on-colour |
Info--color-info | #0064E0 | #0064E0 | Fills with their own on-colour |
| Token | Light | Dark |
|---|---|---|
Accent AA4.5 | #6265F0 | #818CF8 |
On accent | #FFFFFF | #0F172A |
Page AAA13.9 | #F8FAFC | #0F172A |
Surface AAA14.6 | #FFFFFF | #1E293B |
Muted AA4.5 | #F3F4F6 | #152032 |
Text | #1E293B | #E2E8F0 |
Text secondary AA4.9 | #69707E | #9CA3AF |
Border | #D1D5DB | #4B5563 |
Success | #0D8626 | #0D8626 |
Warning | #E9AF08 | #F2C00B |
Error | #DF3337 | #EF4444 |
Info | #0064E0 | #0064E0 |
Use it
Start a new app
Terminal
npm create tweakui@latest my-app -- --theme clean-slate
Add it to an existing Astryx app
Terminal
npx create-tweakui theme clean-slate
1. Add the two files next to your stylesheet. 2. Import them in this order.
Fonts
DESIGN.md for your coding agent
Give your agent Clean Slate's taste: the tokens, how to use them and Astryx Do's and Don'ts, in the file it reads. create-tweakui writes it into your app too.Clean Slate
Overview
Clean Slate is crisp and modern: a cool slate-white page, white cards, grey borders, Inter type and an indigo accent, with JetBrains Mono for code. Corners are soft and shadows light. It suits SaaS apps, dashboards and developer products that want a tidy, familiar feel; avoid it when you want warmth or personality.
Do's and Don'ts
- Do keep indigo for the
variant="primary"Button, links and focus. - Do use
Text type="code"for ids and values. - Do build pages from white
Cards with clearHeadings. - Do build every control and layout with @astryxdesign/core components; never write custom CSS, font sizes, spacing or radius; the theme file controls them.
Valid DESIGN.md · spec alpha (@google/design.md 0.4.0)
About this theme
Clean Slate is crisp and modern: a cool slate-white page, white cards, grey borders, Inter type and an indigo accent, with JetBrains Mono for code. Corners are soft and shadows light. It suits SaaS apps, dashboards and developer products that want a tidy, familiar feel; avoid it when you want warmth or personality.