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.Preview
The 7 choices
Brand colour
#5865F2
The primary button, links and focusTone
Cool
Greys lean coolContrast
Standard
Body text 13.4:1 on cardsFonts
Noto Sans
Headings and body; Source Code Pro for codeShape
Soft
4 / 8 / 8 px cornersDensity
Default
4 px spacing step, 40 px controlsMotion
Calm
175 / 410 / 975 msColour tokens
| Token | Light | Dark | Contrast |
|---|---|---|---|
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 |
| Token | Light | Dark |
|---|---|---|
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
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
Badgehues 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.
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.