Matcha: an Astryx theme
Soft green-grey page, white cards, deep olive text and buttons, handwritten Playwrite headings over DM Sans, roomy rounded layout.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-matcha 0.7.16
Preview
The 7 choices
Brand colour
#3E481D
The primary button, links and focusTone
Warm
Greys lean warmContrast
Standard
Body text 9.7:1 on cardsFonts
Playwrite US Trad / DM Sans
Playwrite US Trad headings, DM Sans body; JetBrains Mono for codeShape
Soft
6 / 12 / 18 px cornersDensity
Comfortable
6 px spacing step, 40 px controlsMotion
Snappy
125 / 300 / 700 msColour tokens
| Token | Light | Dark | Contrast |
|---|---|---|---|
Accent--color-accent | #3E481D | #C0CBA9 | AAOn accent: 9.7 / 5.7 :1 |
On accent--color-on-accent | #FFFFFF | #3E481D | – |
Page--color-background-body | #F0F0E0 | #12140E | AAAText on page: 8.4 / 10.9 :1 |
Surface--color-background-surface | #FFFFFF | #1A1C14 | AAAText on surface: 9.7 / 10.1 :1 |
Muted--color-background-muted | #F0F0E0 | #30390D | AASecondary text on it: 5.1 / 4.5 :1 |
Text--color-text-primary | #3E481D | #C0CBA9 | – |
Text secondary--color-text-secondary | #5A6B2A | #94A468 | AAOn surface: 5.8 / 6.3 :1 |
Border--color-border | #DCE3CE | #C0CBA9 10 % | – |
Success--color-success | #4D9900 | #6DBF2A | Fills with their own on-colour |
Warning--color-warning | #F2C000 | #F6D066 | Fills with their own on-colour |
Error--color-error | #FD0000 | #FF5C5C | Fills with their own on-colour |
Info--color-info | #3A5E8C | #A7C9E3 | Fills with their own on-colour |
| Token | Light | Dark |
|---|---|---|
Accent AA9.7 | #3E481D | #C0CBA9 |
On accent | #FFFFFF | #3E481D |
Page AAA8.4 | #F0F0E0 | #12140E |
Surface AAA9.7 | #FFFFFF | #1A1C14 |
Muted AA5.1 | #F0F0E0 | #30390D |
Text | #3E481D | #C0CBA9 |
Text secondary AA5.8 | #5A6B2A | #94A468 |
Border | #DCE3CE | #C0CBA9 10 % |
Success | #4D9900 | #6DBF2A |
Warning | #F2C000 | #F6D066 |
Error | #FD0000 | #FF5C5C |
Info | #3A5E8C | #A7C9E3 |
Use it
Start a new app
Terminal
npm create tweakui@latest my-app -- --theme matcha
Add it to an existing Astryx app
Terminal
npx create-tweakui theme matcha
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 Matcha'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.Matcha
Overview
Matcha is calm and organic: a soft sage page, white cards with softly rounded corners, and deep olive for text and actions. Headings use the handwritten Playwrite script over a clean DM Sans body, and spacing is comfortable. It suits wellness, food, lifestyle and personal apps; avoid it for dense data or anything that needs to look strictly technical.
Do's and Don'ts
- Do keep script headings short; use
Headingfor page and section titles only. - Do give content room on white
Cards; the comfortable spacing is part of the calm. - Do use
Badge variant="green"andvariant="teal"for tags so colour stays in the leaf family. - 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
Matcha is calm and organic: a soft sage page, white cards with softly rounded corners, and deep olive for text and actions. Headings use the handwritten Playwrite script over a clean DM Sans body, and spacing is comfortable. It suits wellness, food, lifestyle and personal apps; avoid it for dense data or anything that needs to look strictly technical.