Midnight theme shadcn/ui theme
Colours, radius and type for light and dark. Preview every component on Infinity UI in it.
shadcn/ui themeMIT
From Ballmac UI by Ballmac, MIT license.
Colours
primary
secondary
accent
muted
destructive
border
card
background
Typography
Heading
Subtitle text
Body copy and captions
Radius
--radius: 0.625rem
Components
BadgeSecondaryOutlineError
Controls
About
Midnight theme re-skins a shadcn/ui app: every colour token for light and dark, a 0.625rem radius.
Install
Writes the variables into your project's CSS with the shadcn CLI. Or use Copy CSS and paste it into your globals.css.
Tokens
| Token | Light | Dark |
|---|---|---|
| --card | oklch(1 0 0) | oklch(0.2 0.044 250) |
| --ring | oklch(0.62 0.118 225) | oklch(0.66 0.125 225) |
| --input | oklch(0.668 0.012 250) | oklch(0.5 0.035 250) |
| --muted |