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
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
#3E481D
The primary button, links and focus
Tone
Warm
Greys lean warm
Contrast
Standard
Body text 9.7:1 on cards
Fonts
Playwrite US Trad / DM Sans
Playwrite US Trad headings, DM Sans body; JetBrains Mono for code
Shape
Soft
6 / 12 / 18 px corners
Density
Comfortable
6 px spacing step, 40 px controls
Motion
Snappy
125 / 300 / 700 ms

Colour tokens

Every colour in light and dark, with contrast against the text that sits on it.
TokenLightDarkContrast
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
TokenLightDark
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 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 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 Heading for 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" and variant="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.
… 33 more lines: Colors, Typography, Layout, Elevation, Shapes, Components.
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.

More Astryx themes

All 27 themes
Core
Neutral
Butter
Chocolate
Gothic
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.