Cyberpunk: an Astryx theme
Pale grey page, white cards, hot magenta accent, Outfit headings, Fira Code 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.Bold & retroBy tweakui · measured 11 Nov 2026
Preview
The 7 choices
Brand colour
#DC00AD
The primary button, links and focusTone
Cool
Greys lean coolContrast
Standard
Body text 19.3:1 on cardsFonts
Outfit + Fira Code
Headings and body; Fira Code 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 | #DC00AD | #DC00AD | AAOn accent: 4.5 / 4.5 :1 |
On accent--color-on-accent | #FFFFFF | #FFFFFF | – |
Page--color-background-body | #F8F9FA | #0C0C1D | AAAText on page: 18.3 / 16.7 :1 |
Surface--color-background-surface | #FFFFFF | #1E1E3F | AAAText on surface: 19.3 / 13.8 :1 |
Muted--color-background-muted | #F0F0FF | #151530 | AASecondary text on it: 17.1 / 4.9 :1 |
Text--color-text-primary | #0C0C1D | #ECEFF4 | – |
Text secondary--color-text-secondary | #0C0C1D | #8186A8 | AAOn surface: 19.3 / 4.5 :1 |
Border--color-border | #DFE6E9 | #2E2E5E | – |
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 | #E03400 | #E03400 | Fills with their own on-colour |
Info--color-info | #0064E0 | #0064E0 | Fills with their own on-colour |
| Token | Light | Dark |
|---|---|---|
Accent AA4.5 | #DC00AD | #DC00AD |
On accent | #FFFFFF | #FFFFFF |
Page AAA18.3 | #F8F9FA | #0C0C1D |
Surface AAA19.3 | #FFFFFF | #1E1E3F |
Muted AA17.1 | #F0F0FF | #151530 |
Text | #0C0C1D | #ECEFF4 |
Text secondary AA19.3 | #0C0C1D | #8186A8 |
Border | #DFE6E9 | #2E2E5E |
Success | #0D8626 | #0D8626 |
Warning | #E9AF08 | #F2C00B |
Error | #E03400 | #E03400 |
Info | #0064E0 | #0064E0 |
Use it
Start a new app
Terminal
npm create tweakui@latest my-app -- --theme cyberpunk
Add it to an existing Astryx app
Terminal
npx create-tweakui theme cyberpunk
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 Cyberpunk'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.Cyberpunk
Overview
Cyberpunk is a light, clean base with a jolt of hot magenta: pale grey page, white cards, Outfit type and Fira Code for code. The magenta stays the same in dark mode, where it glows against the deep background. It suits gaming, music, creative tools and launch pages; avoid it for calm, clinical or financial products.
Do's and Don'ts
- Do keep magenta for the one
variant="primary"Button and key highlights. - Do pair it with
Badge variant="cyan"orvariant="purple"for a neon contrast, sparingly. - Do show technical detail with
Text type="code". - 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
Cyberpunk is a light, clean base with a jolt of hot magenta: pale grey page, white cards, Outfit type and Fira Code for code. The magenta stays the same in dark mode, where it glows against the deep background. It suits gaming, music, creative tools and launch pages; avoid it for calm, clinical or financial products.