Quilt Gold Hare is a shadcn/ui theme built around a yellow primary color (#e9c46a) with teal accents (#2a9d8f). The light mode uses a cyan-tinted background (#426b7c). Dark mode keeps the yellow primary (#e9c46a) on a cyan-tinted background (#264653).
| Token | Light | Dark |
|---|---|---|
| Background | #426b7cdimgray | #264653darkslategray |
| Foreground | #f9f7f6whitesmoke | #f9f7f6whitesmoke |
| Card | #255568darkslategray | #1c3743darkslategray |
| Card foreground | #f9f7f6whitesmoke | #f9f7f6whitesmoke |
| Popover | #244858darkslategray | #19323ddarkslategray |
| Popover foreground | #f9f7f6whitesmoke | #f9f7f6whitesmoke |
| Primary | #e9c46aburlywood | #e9c46aburlywood |
| Primary foreground | #212121black | #212121black |
| Secondary | #f4a261sandybrown | #f4a261sandybrown |
| Secondary foreground | #212121black | #212121black |
| Muted | #244858darkslategray | #19323ddarkslategray |
| Muted foreground | #c6c6c6silver | #c6c6c6silver |
| Accent | #2a9d8flightseagreen | #2a9d8flightseagreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #e76f51tomato | #e76f51tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2d596bdarkslategray | #2d4853darkslategray |
| Input | #25414ddarkslategray | #1b2f38darkslategray |
| Ring | #fa903bcoral | #fa903bcoral |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 5.44:1 | AA |
| Text on card | 7.64:1 | AAA |
| Primary button | 9.63:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 5.72:1 | AA |
| Accent | 3.32:1 | AA Large |
| Destructive | 3.09:1 | AA Large |
| Text on background | 9.43:1 | AAA |
| Text on card | 11.67:1 | AAA |
| Primary button | 9.63:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 7.88:1 | AAA |
| Accent | 3.32:1 | AA Large |
| Destructive | 3.09:1 | AA Large |
Paste this into your globals.css to use Quilt Gold Hare in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.504 0.053 225.79);
--foreground: oklch(0.978 0.002 69.626);
--muted: oklch(0.383 0.05 228.931);
--muted-foreground: oklch(0.827 0 172.875);
--popover: oklch(0.382 0.05 228.916);
--popover-foreground: oklch(0.978 0.002 69.626);
--card: oklch(0.424 0.06 227.402);
--card-foreground: oklch(0.978 0.002 69.626);
--border: oklch(0.44 0.057 226.908);
--input: oklch(0.359 0.04 228.493);
--primary: oklch(0.834 0.117 87.428);
--primary-foreground: oklch(0.249 0 180);
--secondary: oklch(0.781 0.127 57.854);
--secondary-foreground: oklch(0.248 0 180);
--accent: oklch(0.63 0.101 183.038);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.678 0.156 35.185);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.753 0.16 55.04);
--chart-1: oklch(0.834 0.117 87.428);
--chart-2: oklch(0.781 0.127 57.854);
--chart-3: oklch(0.63 0.101 183.038);
--chart-4: oklch(0.799 0.116 58.503);
--chart-5: oklch(0.838 0.121 87.316);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.375 0.044 226.195);
--foreground: oklch(0.978 0.002 69.626);
--muted: oklch(0.301 0.037 228.588);
--muted-foreground: oklch(0.827 0 172.875);
--popover: oklch(0.302 0.037 228.319);
--popover-foreground: oklch(0.978 0.002 69.626);
--card: oklch(0.322 0.039 226.387);
--card-foreground: oklch(0.978 0.002 69.626);
--border: oklch(0.384 0.038 227.614);
--input: oklch(0.293 0.03 227.635);
--primary: oklch(0.834 0.117 87.428);
--primary-foreground: oklch(0.249 0 180);
--secondary: oklch(0.781 0.127 57.854);
--secondary-foreground: oklch(0.248 0 180);
--accent: oklch(0.63 0.101 183.038);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.678 0.156 35.185);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.753 0.16 55.04);
--chart-1: oklch(0.834 0.117 87.428);
--chart-2: oklch(0.781 0.127 57.854);
--chart-3: oklch(0.63 0.101 183.038);
--chart-4: oklch(0.799 0.116 58.503);
--chart-5: oklch(0.838 0.121 87.316);
}