Quiver is a shadcn/ui theme built around a muted yellow primary color (#aea289) with muted blue accents (#8995ae). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted yellow primary (#aea289) on a yellow-tinted background (#0a0905).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a0905black |
| Foreground | #000000black | #fdfdfcwhite |
| Card | #ffffffwhite | #0a0905black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #ffffffwhite | #0a0905black |
| Popover foreground | #000000black | #fdfdfcwhite |
| Primary | #aea289rosybrown | #aea289rosybrown |
| Primary foreground | #030302black | #030302black |
| Secondary | #8995aelightslategray | #8995aelightslategray |
| Secondary foreground | #020203black | #020203black |
| Muted | #d3d9e4gainsboro | #1b212cdarkslategray |
| Muted foreground | #494a4bdarkslategray | #b4b5b6silver |
| Accent | #8995aelightslategray | #8995aelightslategray |
| Accent foreground | #020203black | #020203black |
| Destructive | #7f0d0bmaroon | #e61714red |
| Destructive foreground | #fac3c2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #aea289rosybrown | #aea289rosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 6.90:1 | AA |
| Muted text | 6.24:1 | AA |
| Accent | 6.90:1 | AA |
| Destructive | 6.96:1 | AA |
| Text on background | 19.60:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 6.90:1 | AA |
| Muted text | 7.85:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 4.66:1 | AA |
Paste this into your globals.css to use Quiver in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.883 0.016 264.485);
--muted-foreground: oklch(0.408 0.002 264.538);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.716 0.038 84.551);
--primary-foreground: oklch(0.094 0.004 86.746);
--secondary: oklch(0.669 0.04 264.255);
--secondary-foreground: oklch(0.09 0.004 262.135);
--accent: oklch(0.669 0.04 264.255);
--accent-foreground: oklch(0.09 0.004 262.135);
--destructive: oklch(0.381 0.146 28.36);
--destructive-foreground: oklch(0.865 0.063 19.572);
--ring: oklch(0.716 0.038 84.551);
--chart-1: oklch(0.716 0.038 84.551);
--chart-2: oklch(0.669 0.04 264.255);
--chart-3: oklch(0.669 0.04 264.255);
--chart-4: oklch(0.696 0.037 264.302);
--chart-5: oklch(0.72 0.044 84.519);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.01 88.353);
--foreground: oklch(0.993 0.002 84.556);
--muted: oklch(0.247 0.022 264.035);
--muted-foreground: oklch(0.772 0.001 264.545);
--popover: oklch(0.138 0.01 88.353);
--popover-foreground: oklch(0.993 0.002 84.556);
--card: oklch(0.138 0.01 88.353);
--card-foreground: oklch(0.993 0.002 84.556);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.716 0.038 84.551);
--primary-foreground: oklch(0.094 0.004 86.746);
--secondary: oklch(0.669 0.04 264.255);
--secondary-foreground: oklch(0.09 0.004 262.135);
--accent: oklch(0.669 0.04 264.255);
--accent-foreground: oklch(0.09 0.004 262.135);
--destructive: oklch(0.587 0.232 28.781);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.716 0.038 84.551);
--chart-1: oklch(0.716 0.038 84.551);
--chart-2: oklch(0.669 0.04 264.255);
--chart-3: oklch(0.669 0.04 264.255);
--chart-4: oklch(0.696 0.037 264.302);
--chart-5: oklch(0.72 0.044 84.519);
}