Neo Brutalism: an Astryx theme
White page, white cards, thick black borders, square corners, bold red accent, DM Sans and Space Mono.Change it in tweakui's Astryx theme lab to pick new choices, check contrast and export it with a DESIGN.md.Bold & retroBy tweakui · measured 11 Nov 2026
Preview
The 7 choices
Brand colour
#EB1320
The primary button, links and focusTone
Neutral
True greysContrast
Standard
Body text 21.0:1 on cardsFonts
DM Sans + Space Mono
Headings and body; Space Mono for codeShape
Sharp
0 px on every cornerDensity
Default
4 px spacing step, 32 px controlsMotion
Calm
175 / 410 / 975 msColour tokens
| Token | Light | Dark | Contrast |
|---|---|---|---|
Accent--color-accent | #EB1320 | #FF6666 | AAOn accent: 4.5 / 7.3 :1 |
On accent--color-on-accent | #FFFFFF | #000000 | – |
Page--color-background-body | #FFFFFF | #000000 | AAAText on page: 21.0 / 21.0 :1 |
Surface--color-background-surface | #FFFFFF | #333333 | AAAText on surface: 21.0 / 12.6 :1 |
Muted--color-background-muted | #F0F0F0 | #1A1A1A | AAASecondary text on it: 11.0 / 10.8 :1 |
Text--color-text-primary | #000000 | #FFFFFF | – |
Text secondary--color-text-secondary | #333333 | #CCCCCC | AAAOn surface: 12.6 / 7.8 :1 |
Border--color-border | #000000 | #FFFFFF | – |
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 | #EB1320 | #FF6666 | Fills with their own on-colour |
Info--color-info | #0064E0 | #0064E0 | Fills with their own on-colour |
| Token | Light | Dark |
|---|---|---|
Accent AA4.5 | #EB1320 | #FF6666 |
On accent | #FFFFFF | #000000 |
Page AAA21.0 | #FFFFFF | #000000 |
Surface AAA21.0 | #FFFFFF | #333333 |
Muted AAA11.0 | #F0F0F0 | #1A1A1A |
Text | #000000 | #FFFFFF |
Text secondary AAA12.6 | #333333 | #CCCCCC |
Border | #000000 | #FFFFFF |
Success | #0D8626 | #0D8626 |
Warning | #E9AF08 | #F2C00B |
Error | #EB1320 | #FF6666 |
Info | #0064E0 | #0064E0 |
Use it
Start a new app
Terminal
npm create tweakui@latest my-app -- --theme neo-brutalism
Add it to an existing Astryx app
Terminal
npx create-tweakui theme neo-brutalism
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 Neo Brutalism'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.Neo Brutalism
Overview
Neo-Brutalism is loud and graphic: white page and cards, black borders, square corners and hard offset shadows, with a bold red for actions. DM Sans handles text and Space Mono adds a raw, typed feel. It suits portfolios, creative tools and launch pages; avoid it for calm, conservative or data-heavy products.
Do's and Don'ts
- Do keep red for the one
variant="primary"Button. - Do use strong
Badgehues (variant="yellow","blue") as flat colour blocks. - Do keep layouts on a clear grid of bordered
Cards. - 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
Neo-Brutalism is loud and graphic: white page and cards, black borders, square corners and hard offset shadows, with a bold red for actions. DM Sans handles text and Space Mono adds a raw, typed feel. It suits portfolios, creative tools and launch pages; avoid it for calm, conservative or data-heavy products.