Gothic: an Astryx theme
Dark-only charcoal page and surfaces, pale blue-white accent, Fustat type, faint hairline borders and soft corners.Change it in tweakui's Astryx theme lab to pick new choices, check contrast and export it with a DESIGN.md.AstryxBuilt into Astryx · @astryxdesign/theme-gothic 0.7.16
Preview
The 7 choices
Brand colour
#E8F1F6
The primary button, links and focusTone
Cool
Greys lean coolContrast
Standard
Body text 14.8:1 on cardsFonts
Fustat
Headings and body; JetBrains Mono for codeShape
Soft
4 / 8 / 12 px cornersDensity
Default
4 px spacing step, 32 px controlsMotion
Calm
150 / 350 / 800 msColour tokens
| Token | Light | Dark | Contrast |
|---|---|---|---|
Accent--color-accent | #E8F1F6 | #E8F1F6 | AAAOn accent: 16.3 / 16.3 :1 |
On accent--color-on-accent | #101314 | #101314 | – |
Page--color-background-body | #101314 | #101314 | AAAText on page: 16.3 / 16.3 :1 |
Surface--color-background-surface | #101314 | #101314 | AAAText on surface: 16.3 / 16.3 :1 |
Muted--color-background-muted | #24292D | #24292D | AASecondary text on it: 5.5 / 5.5 :1 |
Text--color-text-primary | #E8F1F6 | #E8F1F6 | – |
Text secondary--color-text-secondary | #96A0AB | #96A0AB | AAAOn surface: 7.0 / 7.0 :1 |
Border--color-border | #E8F1F6 10 % | #E8F1F6 10 % | – |
Success--color-success | #B3C79A | #B3C79A | Fills with their own on-colour |
Warning--color-warning | #D3C490 | #D3C490 | Fills with their own on-colour |
Error--color-error | #C6A6A2 | #C6A6A2 | Fills with their own on-colour |
Info--color-info | #8AA1D8 | #8AA1D8 | Fills with their own on-colour |
| Token | Light | Dark |
|---|---|---|
Accent AAA16.3 | #E8F1F6 | #E8F1F6 |
On accent | #101314 | #101314 |
Page AAA16.3 | #101314 | #101314 |
Surface AAA16.3 | #101314 | #101314 |
Muted AA5.5 | #24292D | #24292D |
Text | #E8F1F6 | #E8F1F6 |
Text secondary AAA7.0 | #96A0AB | #96A0AB |
Border | #E8F1F6 10 % | #E8F1F6 10 % |
Success | #B3C79A | #B3C79A |
Warning | #D3C490 | #D3C490 |
Error | #C6A6A2 | #C6A6A2 |
Info | #8AA1D8 | #8AA1D8 |
Use it
Start a new app
Terminal
npm create tweakui@latest my-app -- --theme gothic
Add it to an existing Astryx app
Terminal
npx create-tweakui theme gothic
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 Gothic'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.Gothic
Overview
Gothic is a dark-only theme: near-black charcoal for page and surfaces, faint pale borders, and a cool blue-white for primary actions and headings. Fustat keeps the type clean and modern, and corners are softly rounded. It suits developer tools, media, gaming and late-night apps; avoid it where users expect a light, paper-like reading surface.
Do's and Don'ts
- Do let the pale
variant="primary"Button be the brightest thing on screen. - Do separate
Cards with hairline borders and spacing, since page and surface share one colour. - Do use
Text type="supporting"for secondary copy to keep contrast layered. - 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
Gothic is a dark-only theme: near-black charcoal for page and surfaces, faint pale borders, and a cool blue-white for primary actions and headings. Fustat keeps the type clean and modern, and corners are softly rounded. It suits developer tools, media, gaming and late-night apps; avoid it where users expect a light, paper-like reading surface.