Quarrelsome is a shadcn/ui theme built around a vivid violet primary color (#8a2cfc) with muted light violet accents (#cbc3d5). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the vivid violet primary (#8a2cfc) on a violet-tinted background (#07030c).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #07030cblack |
| Foreground | #0c0514black | #fcfcfdwhite |
| Card | #faf6fdghostwhite | #0a0410black |
| Card foreground | #0a0410black | #ffffffwhite |
| Popover | #faf6fdghostwhite | #0a0410black |
| Popover foreground | #0a0410black | #ffffffwhite |
| Primary | #8a2cfcblueviolet | #8a2cfcblueviolet |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dbd8degainsboro | #171618black |
| Secondary foreground | #423d48darkslategray | #b0acb4darkgray |
| Muted | #ede9f2lavender | #110d16black |
| Muted foreground | #4a4a4adarkslategray | #b5b5b5silver |
| Accent | #cbc3d5thistle | #28232edarkslategray |
| Accent foreground | #322a3cdarkslategray | #c1bacasilver |
| Destructive | #863709saddlebrown | #f06e24chocolate |
| Destructive foreground | #fbd9c6bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8a2cfcblueviolet | #8a2cfcblueviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 5.47:1 | AA |
| Secondary button | 7.49:1 | AAA |
| Muted text | 7.38:1 | AAA |
| Accent | 8.05:1 | AAA |
| Destructive | 6.20:1 | AA |
| Text on background | 19.90:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 5.47:1 | AA |
| Secondary button | 8.09:1 | AAA |
| Muted text | 9.34:1 | AAA |
| Accent | 8.09:1 | AAA |
| Destructive | 6.97:1 | AA |
Paste this into your globals.css to use Quarrelsome in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.005 306.365);
--foreground: oklch(0.139 0.034 304.46);
--muted: oklch(0.939 0.013 306.256);
--muted-foreground: oklch(0.409 0 190.305);
--popover: oklch(0.979 0.01 306.3);
--popover-foreground: oklch(0.128 0.03 306.067);
--card: oklch(0.979 0.01 306.3);
--card-foreground: oklch(0.128 0.03 306.067);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.556 0.273 296.175);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.887 0.008 306.31);
--secondary-foreground: oklch(0.369 0.019 305.772);
--accent: oklch(0.83 0.025 306.039);
--accent-foreground: oklch(0.302 0.032 305.047);
--destructive: oklch(0.439 0.12 44.672);
--destructive-foreground: oklch(0.909 0.046 51.933);
--ring: oklch(0.556 0.273 296.175);
--chart-1: oklch(0.556 0.273 296.175);
--chart-2: oklch(0.887 0.008 306.31);
--chart-3: oklch(0.83 0.025 306.039);
--chart-4: oklch(0.912 0.006 306.339);
--chart-5: oklch(0.557 0.278 295.692);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.116 0.026 307.555);
--foreground: oklch(0.991 0.002 306.398);
--muted: oklch(0.17 0.019 304.971);
--muted-foreground: oklch(0.773 0 180);
--popover: oklch(0.128 0.03 306.067);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.128 0.03 306.067);
--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.556 0.273 296.175);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.201 0.005 306.126);
--secondary-foreground: oklch(0.75 0.012 306.227);
--accent: oklch(0.268 0.021 305.449);
--accent-foreground: oklch(0.799 0.023 306.054);
--destructive: oklch(0.686 0.179 45.767);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.556 0.273 296.175);
--chart-1: oklch(0.556 0.273 296.175);
--chart-2: oklch(0.201 0.005 306.126);
--chart-3: oklch(0.268 0.021 305.449);
--chart-4: oklch(0.234 0.006 306.093);
--chart-5: oklch(0.557 0.278 295.692);
}