Core: an Astryx theme
Cool grey page, white cards with soft 12 px corners, system fonts and a single clear blue accent.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/core 0.7.16
Preview
The 7 choices
Brand colour
#0064E0
The primary button, links and focusTone
Neutral
True greysContrast
Standard
Body text 18.7:1 on cardsFonts
System
Headings and body; System for codeShape
Soft
4 / 8 / 12 px cornersDensity
Default
4 px spacing step, 32 px controlsMotion
Calm
175 / 410 / 975 msColour tokens
| Token | Light | Dark | Contrast |
|---|---|---|---|
Accent--color-accent | #0064E0 | #0171E3 | AAOn accent: 5.3 / 4.6 :1 |
On accent--color-on-accent | #FFFFFF | #FFFFFF | – |
Page--color-background-body | #F1F4F7 | #111112 | AAAText on page: 17.0 / 14.5 :1 |
Surface--color-background-surface | #FFFFFF | #1F1F22 | AAAText on surface: 18.7 / 12.6 :1 |
Muted--color-background-muted | #053659 5 % | #111112 50 % | AA largeSecondary text on it: 1.9 / 8.5 :1 |
Text--color-text-primary | #0A1317 | #DFE2E5 | – |
Text secondary--color-text-secondary | #4E606F | #AAAFB5 | AAOn surface: 6.5 / 7.4 :1 |
Border--color-border | #053659 10 % | #F2F4F6 10 % | – |
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 | #E3193B | #F5394F | Fills with their own on-colour |
Info--color-info | #0064E0 | #0064E0 | Fills with their own on-colour |
| Token | Light | Dark |
|---|---|---|
Accent AA5.3 | #0064E0 | #0171E3 |
On accent | #FFFFFF | #FFFFFF |
Page AAA17.0 | #F1F4F7 | #111112 |
Surface AAA18.7 | #FFFFFF | #1F1F22 |
Muted AA large1.9 | #053659 5 % | #111112 50 % |
Text | #0A1317 | #DFE2E5 |
Text secondary AA6.5 | #4E606F | #AAAFB5 |
Border | #053659 10 % | #F2F4F6 10 % |
Success | #0D8626 | #0D8626 |
Warning | #E9AF08 | #F2C00B |
Error | #E3193B | #F5394F |
Info | #0064E0 | #0064E0 |
Use it
Start a new app
Terminal
npm create tweakui@latest my-app -- --theme core
Add it to an existing Astryx app
Terminal
npx create-tweakui theme core
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 Core'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.Core
Overview
Core is Astryx's default look: a cool grey page, white cards with soft corners and gentle shadows, and the platform's own system font. A bright blue carries actions and links, and nothing else competes with it. It suits almost any product UI, dashboards, settings and internal tools; pick a more characterful preset when the brand needs to show.
Do's and Don'ts
- Do keep blue for actions: one
variant="primary"Button per view,variant="secondary"orvariant="ghost"for the rest. - Do group content on white
Cards over the grey page rather than drawing borders round everything. - Do use
Text type="supporting"for metadata so the body copy stays the darkest text. - 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
Core is Astryx's default look: a cool grey page, white cards with soft corners and gentle shadows, and the platform's own system font. A bright blue carries actions and links, and nothing else competes with it. It suits almost any product UI, dashboards, settings and internal tools; pick a more characterful preset when the brand needs to show.