Quiet is a shadcn/ui theme built around a vivid violet primary color (#bc7cf4) with vivid teal accents (#7cf4bc). The light mode uses a neutral background (#faf6fd). Dark mode keeps the vivid violet primary (#bc7cf4) on a violet-tinted background (#08030c).
| Token | Light | Dark |
|---|---|---|
| Background | #faf6fdghostwhite | #08030cblack |
| Foreground | #08020eblack | #faf8fcghostwhite |
| Card | #faf6fdghostwhite | #08030cblack |
| Card foreground | #08020eblack | #faf8fcghostwhite |
| Popover | #faf6fdghostwhite | #08030cblack |
| Popover foreground | #08020eblack | #faf8fcghostwhite |
| Primary | #bc7cf4orchid | #bc7cf4orchid |
| Primary foreground | #200538midnightblue | #200538midnightblue |
| Secondary | #f4bc7cburlywood | #f4bc7cburlywood |
| Secondary foreground | #382005black | #382005black |
| Muted | #eeebe7linen | #181511black |
| Muted foreground | #605a52dimgray | #ada69fdarkgray |
| Accent | #7cf4bcaquamarine | #7cf4bcaquamarine |
| Accent foreground | #053820darkgreen | #053820darkgreen |
| Destructive | #b32100firebrick | #ff481forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bc7cf4orchid | #bc7cf4orchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.23:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 6.39:1 | AA |
| Secondary button | 8.91:1 | AAA |
| Muted text | 5.72:1 | AA |
| Accent | 9.70:1 | AAA |
| Destructive | 6.73:1 | AA |
| Text on background | 19.30:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 6.39:1 | AA |
| Secondary button | 8.91:1 | AAA |
| Muted text | 7.58:1 | AAA |
| Accent | 9.70:1 | AAA |
| Destructive | 3.39:1 | AA Large |
Paste this into your globals.css to use Quiet in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.01 309.683);
--foreground: oklch(0.111 0.037 311.649);
--muted: oklch(0.941 0.006 71.395);
--muted-foreground: oklch(0.471 0.015 71.149);
--popover: oklch(0.979 0.01 309.683);
--popover-foreground: oklch(0.111 0.037 311.649);
--card: oklch(0.979 0.01 309.683);
--card-foreground: oklch(0.111 0.037 311.649);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.7 0.179 306.999);
--primary-foreground: oklch(0.204 0.093 303.292);
--secondary: oklch(0.831 0.104 69.327);
--secondary-foreground: oklch(0.271 0.054 65.472);
--accent: oklch(0.881 0.135 161.534);
--accent-foreground: oklch(0.303 0.068 157.183);
--destructive: oklch(0.495 0.184 32.653);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.7 0.179 306.999);
--chart-1: oklch(0.7 0.179 306.999);
--chart-2: oklch(0.831 0.104 69.327);
--chart-3: oklch(0.881 0.135 161.534);
--chart-4: oklch(0.848 0.093 69.779);
--chart-5: oklch(0.698 0.185 306.873);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.118 0.025 311.195);
--foreground: oklch(0.982 0.005 309.738);
--muted: oklch(0.197 0.009 70.985);
--muted-foreground: oklch(0.729 0.013 71.286);
--popover: oklch(0.118 0.025 311.195);
--popover-foreground: oklch(0.982 0.005 309.738);
--card: oklch(0.118 0.025 311.195);
--card-foreground: oklch(0.982 0.005 309.738);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.7 0.179 306.999);
--primary-foreground: oklch(0.204 0.093 303.292);
--secondary: oklch(0.831 0.104 69.327);
--secondary-foreground: oklch(0.271 0.054 65.472);
--accent: oklch(0.881 0.135 161.534);
--accent-foreground: oklch(0.303 0.068 157.183);
--destructive: oklch(0.664 0.225 33.568);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.7 0.179 306.999);
--chart-1: oklch(0.7 0.179 306.999);
--chart-2: oklch(0.831 0.104 69.327);
--chart-3: oklch(0.881 0.135 161.534);
--chart-4: oklch(0.848 0.093 69.779);
--chart-5: oklch(0.698 0.185 306.873);
}