Chicory Flower Yak is a shadcn/ui theme built around a muted blue primary color (#687ba1) with muted indigo accents (#7268a1). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the muted blue primary (#687ba1) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #000000black |
| Foreground | #000000black | #fcfcfdwhite |
| Card | #f7f9fdghostwhite | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7f9fdghostwhite | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #687ba1slategray | #687ba1slategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #6897a1cadetblue | #6897a1cadetblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #d0e3e7gainsboro | #182b2fdarkslategray |
| Muted foreground | #3b4c4fdarkslategray | #b0c1c4silver |
| Accent | #7268a1slategray | #7268a1slategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d32009firebrick | #e6230aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #687ba1slategray | #687ba1slategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.44:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 4.24:1 | AA Large |
| Secondary button | 6.55:1 | AA |
| Muted text | 6.77:1 | AA |
| Accent | 4.97:1 | AA |
| Destructive | 5.29:1 | AA |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 4.24:1 | AA Large |
| Secondary button | 6.55:1 | AA |
| Muted text | 7.87:1 | AAA |
| Accent | 4.97:1 | AA |
| Destructive | 4.54:1 | AA |
Paste this into your globals.css to use Chicory Flower Yak in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 264.542);
--foreground: oklch(0 0 0);
--muted: oklch(0.903 0.021 211.047);
--muted-foreground: oklch(0.402 0.022 211.181);
--popover: oklch(0.981 0.006 264.532);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.006 264.532);
--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.583 0.062 263.911);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.647 0.052 211.432);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.551 0.087 290.912);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.555 0.212 30.793);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.583 0.062 263.911);
--chart-1: oklch(0.583 0.062 263.911);
--chart-2: oklch(0.647 0.052 211.432);
--chart-3: oklch(0.551 0.087 290.912);
--chart-4: oklch(0.67 0.049 211.341);
--chart-5: oklch(0.58 0.07 263.789);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.002 264.546);
--muted: oklch(0.276 0.026 211.626);
--muted-foreground: oklch(0.799 0.02 211.049);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.583 0.062 263.911);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.647 0.052 211.432);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.551 0.087 290.912);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.592 0.228 30.757);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.583 0.062 263.911);
--chart-1: oklch(0.583 0.062 263.911);
--chart-2: oklch(0.647 0.052 211.432);
--chart-3: oklch(0.551 0.087 290.912);
--chart-4: oklch(0.67 0.049 211.341);
--chart-5: oklch(0.58 0.07 263.789);
}