Quiet is a shadcn/ui theme built around a vivid red primary color (#f21e02) with vivid cyan accents (#02d6f2). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the vivid red primary (#f21e02) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f8snow | #000000black |
| Foreground | #0c0404black | #fdfcfcsnow |
| Card | #fcf8f8snow | #000000black |
| Card foreground | #0c0404black | #fdfcfcsnow |
| Popover | #fcf8f8snow | #000000black |
| Popover foreground | #0c0404black | #fdfcfcsnow |
| Primary | #f21e02red | #f21e02red |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #02d6f2deepskyblue | #02d6f2deepskyblue |
| Secondary foreground | #002428black | #002428black |
| Muted | #d5e5e7gainsboro | #18282adarkslategray |
| Muted foreground | #616a6bdimgray | #949d9edarkgray |
| Accent | #02d6f2deepskyblue | #02d6f2deepskyblue |
| Accent foreground | #002428black | #002428black |
| Destructive | #6f1d01maroon | #fd6330tomato |
| Destructive foreground | #febba4lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f21e02red | #f21e02red |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.27:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 4.21:1 | AA Large |
| Secondary button | 9.31:1 | AAA |
| Muted text | 4.27:1 | AA Large |
| Accent | 9.31:1 | AAA |
| Destructive | 6.95:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 4.21:1 | AA Large |
| Secondary button | 9.31:1 | AAA |
| Muted text | 5.50:1 | AA |
| Accent | 9.31:1 | AAA |
| Destructive | 7.00:1 | AAA |
Paste this into your globals.css to use Quiet in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 26.47);
--foreground: oklch(0.124 0.017 31.427);
--muted: oklch(0.91 0.017 206.339);
--muted-foreground: oklch(0.517 0.011 206.327);
--popover: oklch(0.983 0.004 26.47);
--popover-foreground: oklch(0.124 0.017 31.427);
--card: oklch(0.983 0.004 26.47);
--card-foreground: oklch(0.124 0.017 31.427);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.612 0.24 30.59);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.805 0.14 211.324);
--secondary-foreground: oklch(0.237 0.04 207.678);
--accent: oklch(0.805 0.14 211.324);
--accent-foreground: oklch(0.237 0.04 207.678);
--destructive: oklch(0.362 0.121 36.748);
--destructive-foreground: oklch(0.848 0.085 39.216);
--ring: oklch(0.612 0.24 30.59);
--chart-1: oklch(0.612 0.24 30.59);
--chart-2: oklch(0.805 0.14 211.324);
--chart-3: oklch(0.805 0.14 211.324);
--chart-4: oklch(0.832 0.144 211.051);
--chart-5: oklch(0.618 0.244 30.551);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 26.447);
--muted: oklch(0.264 0.022 206.324);
--muted-foreground: oklch(0.689 0.011 206.356);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 26.447);
--card: oklch(0 0 0);
--card-foreground: oklch(0.992 0.001 26.447);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.612 0.24 30.59);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.805 0.14 211.324);
--secondary-foreground: oklch(0.237 0.04 207.678);
--accent: oklch(0.805 0.14 211.324);
--accent-foreground: oklch(0.237 0.04 207.678);
--destructive: oklch(0.691 0.198 37.871);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.612 0.24 30.59);
--chart-1: oklch(0.612 0.24 30.59);
--chart-2: oklch(0.805 0.14 211.324);
--chart-3: oklch(0.805 0.14 211.324);
--chart-4: oklch(0.832 0.144 211.051);
--chart-5: oklch(0.618 0.244 30.551);
}