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
Open in editor

Preview

The theme on real Astryx templates. Switch light and dark to see both modes.

The 7 choices

What tweakui's simple controls are set to. Open in editor to change any of them.
Brand colour
#E8F1F6
The primary button, links and focus
Tone
Cool
Greys lean cool
Contrast
Standard
Body text 14.8:1 on cards
Fonts
Fustat
Headings and body; JetBrains Mono for code
Shape
Soft
4 / 8 / 12 px corners
Density
Default
4 px spacing step, 32 px controls
Motion
Calm
150 / 350 / 800 ms

Colour tokens

Every colour in light and dark, with contrast against the text that sits on it.
TokenLightDarkContrast
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
TokenLightDark
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 with this theme, add it to an app you have, or copy the code.
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.
… 33 more lines: Colors, Typography, Layout, Elevation, Shapes, Components.
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.

More Astryx themes

All 27 themes
Core
Neutral
Butter
Chocolate
Matcha
Stone

Get more with Pro

300 AI generations a month and prompts with an image.
What you getFreePro
AI generations3 a month300 a month
Prompt with an image—
Design-library exports—Coming soon
Saved themesUnlimitedUnlimited
$11 a month, tax included
Checkout opens on Polar. Cancel any time.

Install Tweakui

Add Tweakui to your Home Screen to open it like an app.
1. Tap Share in Safari's toolbar.
2. Choose Add to Home Screen.
3. Tap Add.