Quirky is a shadcn/ui theme built around a muted orange primary color (#705e48) with muted yellow accents (#6e7048). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the muted orange primary (#705e48) on an orange-tinted background (#100b04).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfaf8snow | #100b04black |
| Foreground | #100b04black | #ffffffwhite |
| Card | #fcfaf8snow | #100b04black |
| Card foreground | #100b04black | #ffffffwhite |
| Popover | #fcfaf8snow | #100b04black |
| Popover foreground | #100b04black | #ffffffwhite |
| Primary | #705e48dimgray | #705e48dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #704a48dimgray | #704a48dimgray |
| Secondary foreground | #f7f3f3whitesmoke | #f7f3f3whitesmoke |
| Muted | #eee2e2mistyrose | #1d1111black |
| Muted foreground | #5d4746darkolivegreen | #b9a3a2darkgray |
| Accent | #6e7048dimgray | #6e7048dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #b7160bfirebrick | #f22f21orangered |
| Destructive foreground | #fef6f5lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #705e48dimgray | #705e48dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.82:1 | AAA |
| Text on card | 18.82:1 | AAA |
| Primary button | 6.22:1 | AA |
| Secondary button | 6.93:1 | AA |
| Muted text | 6.79:1 | AA |
| Accent | 5.15:1 | AA |
| Destructive | 6.28:1 | AA |
| Text on background | 19.61:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 6.22:1 | AA |
| Secondary button | 6.93:1 | AA |
| Muted text | 7.71:1 | AAA |
| Accent | 5.15:1 | AA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Quirky in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.004 73.193);
--foreground: oklch(0.153 0.019 76.907);
--muted: oklch(0.923 0.013 21.069);
--muted-foreground: oklch(0.422 0.03 21.905);
--popover: oklch(0.986 0.004 73.193);
--popover-foreground: oklch(0.153 0.019 76.907);
--card: oklch(0.986 0.004 73.193);
--card-foreground: oklch(0.153 0.019 76.907);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.493 0.041 72.241);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.45 0.053 22.709);
--secondary-foreground: oklch(0.967 0.005 20.949);
--accent: oklch(0.533 0.059 110.665);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.498 0.193 29.739);
--destructive-foreground: oklch(0.979 0.009 22.32);
--ring: oklch(0.493 0.041 72.241);
--chart-1: oklch(0.493 0.041 72.241);
--chart-2: oklch(0.45 0.053 22.709);
--chart-3: oklch(0.533 0.059 110.665);
--chart-4: oklch(0.476 0.057 22.733);
--chart-5: oklch(0.496 0.046 72.037);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.153 0.017 76.608);
--foreground: oklch(1 0 180);
--muted: oklch(0.195 0.02 22.431);
--muted-foreground: oklch(0.734 0.026 21.355);
--popover: oklch(0.153 0.017 76.608);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.153 0.017 76.608);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.493 0.041 72.241);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.45 0.053 22.709);
--secondary-foreground: oklch(0.967 0.005 20.949);
--accent: oklch(0.533 0.059 110.665);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.622 0.23 29.481);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.493 0.041 72.241);
--chart-1: oklch(0.493 0.041 72.241);
--chart-2: oklch(0.45 0.053 22.709);
--chart-3: oklch(0.533 0.059 110.665);
--chart-4: oklch(0.476 0.057 22.733);
--chart-5: oklch(0.496 0.046 72.037);
}