Zubra UI
Code for
GitHub

Theme studio

Design a theme on real components: every colour for light and dark, the fonts, the corners and the motion. Contrast is checked as you go. When it's right, copy it as a theme file or as CSS, share it as a link, or use it on this site.

Start
Colours

Type, corners and motion

Light

One email on Monday: what changed, what's next, and nothing else.

Subscribe Not now
Every component inside this section reads its colours, corners, fonts and motion.
2 online
PrimarySecondaryOutlineDelete

Dark

One email on Monday: what changed, what's next, and nothing else.

Subscribe Not now
Every component inside this section reads its colours, corners, fonts and motion.
2 online
PrimarySecondaryOutlineDelete

Contrast

Text against what's behind it, for each pair the components use. 4.5:1 is the WCAG AA minimum for body text. Field borders are better at 3:1 or more, so people can find the fields; lighter is common, so it's a warning, not a failure. When you change Primary, Secondary or Hover, the text on it changes too if it would be hard to read (unless you set that text yourself).

Contrast in light and dark
Text onLightDark

Take it with you

themes/sets/my-theme.json
theme.css

The CSS applies wherever data-theme="my-theme" is set. The JSON goes in Zubra UI's themes/sets/, where it compiles with the others.

Theme

Every component reads shadcn/ui's CSS variables, so any shadcn theme works. Pick a look or a colour, or paste a theme's CSS.

Look: colours, fonts, corners and motion

Accent colour