Sorrel Leaf Stork is a shadcn/ui theme built around a muted yellow primary color (#887e63) with muted blue accents (#636d88). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted yellow primary (#887e63) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #080602black | #faf9f5whitesmoke |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #040301black | #fcfbf8snow |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #040301black | #fcfbf8snow |
| Primary | #887e63gray | #887e63gray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #636d88slategray | #636d88slategray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dee1e8gainsboro | #171a21black |
| Muted foreground | #51545cdimgray | #a3a6aedarkgray |
| Accent | #636d88slategray | #636d88slategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a01d08firebrick | #df280corangered |
| Destructive foreground | #fde1ddmistyrose | #ffffffwhite |
| Border | #e9e7e2gainsboro | #28261fblack |
| Input | #e9e7e2gainsboro | #28261fblack |
| Ring | #887e63gray | #887e63gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 4.02:1 | AA Large |
| Secondary button | 5.18:1 | AA |
| Muted text | 5.77:1 | AA |
| Accent | 5.18:1 | AA |
| Destructive | 6.36:1 | AA |
| Text on background | 19.93:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 4.02:1 | AA Large |
| Secondary button | 5.18:1 | AA |
| Muted text | 7.15:1 | AAA |
| Accent | 5.18:1 | AA |
| Destructive | 4.72:1 | AA |
Paste this into your globals.css to use Sorrel Leaf Stork in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.125 0.014 95.078);
--muted: oklch(0.909 0.01 270.03);
--muted-foreground: oklch(0.447 0.013 269.862);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.099 0.011 95.078);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.099 0.011 95.078);
--border: oklch(0.928 0.007 90.176);
--input: oklch(0.928 0.007 90.176);
--primary: oklch(0.595 0.042 90.431);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.535 0.045 269.239);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.535 0.045 269.239);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.457 0.169 31.435);
--destructive-foreground: oklch(0.932 0.031 28.139);
--ring: oklch(0.595 0.042 90.431);
--chart-1: oklch(0.595 0.042 90.431);
--chart-2: oklch(0.535 0.045 269.239);
--chart-3: oklch(0.535 0.045 269.239);
--chart-4: oklch(0.56 0.047 269.231);
--chart-5: oklch(0.601 0.049 90.418);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.981 0.006 90.165);
--muted: oklch(0.218 0.014 269.462);
--muted-foreground: oklch(0.725 0.011 269.986);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.987 0.004 90.15);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.987 0.004 90.15);
--border: oklch(0.268 0.013 90.394);
--input: oklch(0.268 0.013 90.394);
--primary: oklch(0.595 0.042 90.431);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.535 0.045 269.239);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.535 0.045 269.239);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.582 0.219 31.278);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.595 0.042 90.431);
--chart-1: oklch(0.595 0.042 90.431);
--chart-2: oklch(0.535 0.045 269.239);
--chart-3: oklch(0.535 0.045 269.239);
--chart-4: oklch(0.56 0.047 269.231);
--chart-5: oklch(0.601 0.049 90.418);
}