Discord: an Astryx theme

Blurple actions, soft grey surfaces and 8 px corners, measured from discord.com's visual refresh.Change it in tweakui's Astryx theme lab to pick new choices, check contrast and export it with a DESIGN.md.
ColourfulBy tweakui · measured 9 Nov 2026
Inspired by Discord; not affiliated.
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
#5865F2
The primary button, links and focus
Tone
Cool
Greys lean cool
Contrast
Standard
Body text 13.4:1 on cards
Fonts
Noto Sans
Headings and body; Source Code Pro for code
Shape
Soft
4 / 8 / 8 px corners
Density
Default
4 px spacing step, 40 px controls
Motion
Calm
175 / 410 / 975 ms

Colour tokens

Every colour in light and dark, with contrast against the text that sits on it.
TokenLightDarkContrast
Accent--color-accent
#5865F2
#5865F2
AAOn accent: 4.6 / 4.6 :1
On accent--color-on-accent
#FFFFFF
#FFFFFF
–
Page--color-background-body
#FBFBFB
#323339
AAAText on page: 13.0 / 11.3 :1
Surface--color-background-surface
#FFFFFF
#36373E
AAAText on surface: 13.4 / 10.6 :1
Muted--color-background-muted
#F3F3F4
#2C2D32
AASecondary text on it: 4.6 / 6.0 :1
Text--color-text-primary
#2E2E34
#F3F3F4
–
Text secondary--color-text-secondary
#6C6D76
#ABACB2
AAOn surface: 5.1 / 5.2 :1
Border--color-border
#97979F 40 %
#97979F 20 %
–
Success--color-success
#008043
#008043
Fills with their own on-colour
Warning--color-warning
#BB7300
#FDB833
Fills with their own on-colour
Error--color-error
#D6363F
#D6363F
Fills with their own on-colour
Info--color-info
#0064E0
#0064E0
Fills with their own on-colour
TokenLightDark
Accent
AA4.6
#5865F2
#5865F2
On accent
#FFFFFF
#FFFFFF
Page
AAA13.0
#FBFBFB
#323339
Surface
AAA13.4
#FFFFFF
#36373E
Muted
AA4.6
#F3F3F4
#2C2D32
Text
#2E2E34
#F3F3F4
Text secondary
AA5.1
#6C6D76
#ABACB2
Border
#97979F 40 %
#97979F 20 %
Success
#008043
#008043
Warning
#BB7300
#FDB833
Error
#D6363F
#D6363F
Info
#0064E0
#0064E0

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 discord
Add it to an existing Astryx app
Terminal
npx create-tweakui theme discord
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 Discord'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.

Discord

Overview
Discord-inspired, this theme uses blurple for actions on an off-white page with white surfaces and Noto Sans for all text. Dark mode is the familiar deep blue-grey chat look. It suits communities, chat, gaming and social apps; avoid it for formal or corporate products.
Inspired by Discord; not affiliated. Discord is a trademark of its owner, used here only to describe the look.
Do's and Don'ts
  • Do keep blurple for the variant="primary" Button, mentions and links.
  • Do use compact lists and avatars for people; the look is conversational.
  • Do use Badge hues for roles and channels.
  • 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

Discord-inspired, this theme uses blurple for actions on an off-white page with white surfaces and Noto Sans for all text. Dark mode is the familiar deep blue-grey chat look. It suits communities, chat, gaming and social apps; avoid it for formal or corporate products.Inspired by Discord; not affiliated. Discord is a trademark of its owner, used here only to describe the look.

More Colourful themes

All 27 themes
Basecamp
Catppuccin
Northern Lights
Soft Pop

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.