Quince is a shadcn/ui theme built around an indigo primary color (#a198e7) with green accents (#dee798). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the indigo primary (#a198e7) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #000000black |
| Foreground | #050311black | #f9f8fbghostwhite |
| Card | #fbfbfeghostwhite | #000000black |
| Card foreground | #050311black | #f9f8fbghostwhite |
| Popover | #fbfbfeghostwhite | #000000black |
| Popover foreground | #050311black | #f9f8fbghostwhite |
| Primary | #a198e7mediumpurple | #a198e7mediumpurple |
| Primary foreground | #140f3emidnightblue | #140f3emidnightblue |
| Secondary | #dee798khaki | #dee798khaki |
| Secondary foreground | #383e0fdarkolivegreen | #383e0fdarkolivegreen |
| Muted | #e8ebd6beige | #272914black |
| Muted foreground | #5d5e5adimgray | #a5a5a1darkgray |
| Accent | #dee798khaki | #dee798khaki |
| Accent foreground | #383e0fdarkolivegreen | #383e0fdarkolivegreen |
| Destructive | #6f2606maroon | #f5743dtomato |
| Destructive foreground | #fbc4adlightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a198e7mediumpurple | #a198e7mediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 6.97:1 | AA |
| Secondary button | 8.55:1 | AAA |
| Muted text | 5.37:1 | AA |
| Accent | 8.55:1 | AAA |
| Destructive | 6.95:1 | AA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 6.97:1 | AA |
| Secondary button | 8.55:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 8.55:1 | AAA |
| Destructive | 7.45:1 | AAA |
Paste this into your globals.css to use Quince in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 291.697);
--foreground: oklch(0.117 0.034 287.635);
--muted: oklch(0.932 0.028 112.334);
--muted-foreground: oklch(0.479 0.006 112.007);
--popover: oklch(0.989 0.004 291.697);
--popover-foreground: oklch(0.117 0.034 287.635);
--card: oklch(0.989 0.004 291.697);
--card-foreground: oklch(0.117 0.034 287.635);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.717 0.114 288.529);
--primary-foreground: oklch(0.21 0.086 281.24);
--secondary: oklch(0.902 0.101 113.873);
--secondary-foreground: oklch(0.348 0.068 115.745);
--accent: oklch(0.902 0.101 113.873);
--accent-foreground: oklch(0.348 0.068 115.745);
--destructive: oklch(0.375 0.112 39.954);
--destructive-foreground: oklch(0.863 0.071 44.332);
--ring: oklch(0.717 0.114 288.529);
--chart-1: oklch(0.717 0.114 288.529);
--chart-2: oklch(0.902 0.101 113.873);
--chart-3: oklch(0.902 0.101 113.873);
--chart-4: oklch(0.914 0.09 113.607);
--chart-5: oklch(0.713 0.119 288.331);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.981 0.004 291.704);
--muted: oklch(0.272 0.035 114.218);
--muted-foreground: oklch(0.721 0.005 111.916);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.981 0.004 291.704);
--card: oklch(0 0 0);
--card-foreground: oklch(0.981 0.004 291.704);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.717 0.114 288.529);
--primary-foreground: oklch(0.21 0.086 281.24);
--secondary: oklch(0.902 0.101 113.873);
--secondary-foreground: oklch(0.348 0.068 115.745);
--accent: oklch(0.902 0.101 113.873);
--accent-foreground: oklch(0.348 0.068 115.745);
--destructive: oklch(0.703 0.172 42.19);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.717 0.114 288.529);
--chart-1: oklch(0.717 0.114 288.529);
--chart-2: oklch(0.902 0.101 113.873);
--chart-3: oklch(0.902 0.101 113.873);
--chart-4: oklch(0.914 0.09 113.607);
--chart-5: oklch(0.713 0.119 288.331);
}