Violet shadcn/ui theme
The official shadcn/ui Violet theme. Preview every component on Infinity UI in it.
shadcn/ui themeMIT
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
Violet 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 | hsl(0 0% 100%) | hsl(224 71.4% 4.1%) |
| --ring | hsl(262.1 83.3% 57.8%) | hsl(263.4 70% 50.4%) |
| --input | hsl(220 13% 91%) | hsl(215 27.9% 16.9%) |
| --muted |