Perpetuity: an Astryx theme
Pale teal-grey page, tinted surfaces, deep teal accent, Source Code Pro everywhere and near-square 2 px 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
#01838C
The primary button, links and focusTone
Cool
Greys lean coolContrast
Standard
Body text 9.1:1 on cardsFonts
Source Code Pro
Headings and body; Source Code Pro for codeShape
Sharp
0 / 2 / 2 px cornersDensity
Default
4 px spacing step, 32 px controlsMotion
Calm
175 / 410 / 975 msColour tokens
| Token | Light | Dark | Contrast |
|---|---|---|---|
Accent--color-accent | #01838C | #4DE8E8 | AAOn accent: 4.5 / 11.8 :1 |
On accent--color-on-accent | #FFFFFF | #0A1A20 | – |
Page--color-background-body | #E8F0F0 | #0A1A20 | AAAText on page: 8.5 / 11.8 :1 |
Surface--color-background-surface | #F2F7F7 | #0C2025 | AAAText on surface: 9.1 / 11.2 :1 |
Muted--color-background-muted | #E0EAEA | #0F3039 | AASecondary text on it: 4.5 / 4.7 :1 |
Text--color-text-primary | #0A4A55 | #4DE8E8 | – |
Text secondary--color-text-secondary | #397175 | #36A5A5 | AAOn surface: 5.1 / 5.6 :1 |
Border--color-border | #CDE0E2 | #164955 | – |
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 | #D13838 | #D5262C | Fills with their own on-colour |
Info--color-info | #0064E0 | #0064E0 | Fills with their own on-colour |
| Token | Light | Dark |
|---|---|---|
Accent AA4.5 | #01838C | #4DE8E8 |
On accent | #FFFFFF | #0A1A20 |
Page AAA8.5 | #E8F0F0 | #0A1A20 |
Surface AAA9.1 | #F2F7F7 | #0C2025 |
Muted AA4.5 | #E0EAEA | #0F3039 |
Text | #0A4A55 | #4DE8E8 |
Text secondary AA5.1 | #397175 | #36A5A5 |
Border | #CDE0E2 | #164955 |
Success | #0D8626 | #0D8626 |
Warning | #E9AF08 | #F2C00B |
Error | #D13838 | #D5262C |
Info | #0064E0 | #0064E0 |
Use it
Start a new app
Terminal
npm create tweakui@latest my-app -- --theme perpetuity
Add it to an existing Astryx app
Terminal
npx create-tweakui theme perpetuity
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 Perpetuity'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.Perpetuity
Overview
Perpetuity is a calm terminal look: pale teal-grey page and surfaces, deep teal for actions, near-square corners and Source Code Pro for every word. Dark mode uses a bright cyan on deep teal. It suits developer tools, logs, monitoring and technical docs; avoid it for long-form reading or consumer brands.
Do's and Don'ts
- Do keep teal for the
variant="primary"Button and links. - Do use concise labels; monospaced text gets long quickly.
- Do use
Badge variant="teal"and"cyan"for categories. - 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
Perpetuity is a calm terminal look: pale teal-grey page and surfaces, deep teal for actions, near-square corners and Source Code Pro for every word. Dark mode uses a bright cyan on deep teal. It suits developer tools, logs, monitoring and technical docs; avoid it for long-form reading or consumer brands.