Pheasant is a shadcn/ui theme built around a muted green primary color (#95b7a4) with muted orange accents (#b7a495). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#95b7a4) on a green-tinted background (#060f0a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060f0ablack |
| Foreground | #03110ablack | #f9fafaghostwhite |
| Card | #ffffffwhite | #060f0ablack |
| Card foreground | #03110ablack | #f9fafaghostwhite |
| Popover | #ffffffwhite | #060f0ablack |
| Popover foreground | #03110ablack | #f9fafaghostwhite |
| Primary | #95b7a4darkseagreen | #95b7a4darkseagreen |
| Primary foreground | #0a0f0dblack | #0a0f0dblack |
| Secondary | #a495b7darkgray | #a495b7darkgray |
| Secondary foreground | #0d0a0fblack | #0d0a0fblack |
| Muted | #dbd5e2gainsboro | #231d2ablack |
| Muted foreground | #3f3947darkslategray | #bfb8c6silver |
| Accent | #b7a495rosybrown | #b7a495rosybrown |
| Accent foreground | #0f0d0ablack | #0f0d0ablack |
| Destructive | #d02106firebrick | #df2407orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #95b7a4darkseagreen | #95b7a4darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.29:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 8.79:1 | AAA |
| Secondary button | 7.07:1 | AAA |
| Muted text | 7.73:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 5.38:1 | AA |
| Text on background | 18.63:1 | AAA |
| Text on card | 18.63:1 | AAA |
| Primary button | 8.79:1 | AAA |
| Secondary button | 7.07:1 | AAA |
| Muted text | 8.48:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 4.79:1 | AA |
Paste this into your globals.css to use Pheasant in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.161 0.027 160.389);
--muted: oklch(0.881 0.018 306.16);
--muted-foreground: oklch(0.356 0.025 305.519);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.161 0.027 160.389);
--card: oklch(1 0 180);
--card-foreground: oklch(0.161 0.027 160.389);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.748 0.045 161.019);
--primary-foreground: oklch(0.163 0.01 161.085);
--secondary: oklch(0.694 0.052 305.475);
--secondary-foreground: oklch(0.151 0.011 305.516);
--accent: oklch(0.731 0.031 61.616);
--accent-foreground: oklch(0.159 0.006 61.64);
--destructive: oklch(0.55 0.21 31.165);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.748 0.045 161.019);
--chart-1: oklch(0.748 0.045 161.019);
--chart-2: oklch(0.694 0.052 305.475);
--chart-3: oklch(0.731 0.031 61.616);
--chart-4: oklch(0.721 0.047 305.598);
--chart-5: oklch(0.752 0.052 160.766);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.018 161.141);
--foreground: oklch(0.985 0.001 162.582);
--muted: oklch(0.244 0.025 305.093);
--muted-foreground: oklch(0.793 0.021 306.095);
--popover: oklch(0.155 0.018 161.141);
--popover-foreground: oklch(0.985 0.001 162.582);
--card: oklch(0.155 0.018 161.141);
--card-foreground: oklch(0.985 0.001 162.582);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.748 0.045 161.019);
--primary-foreground: oklch(0.163 0.01 161.085);
--secondary: oklch(0.694 0.052 305.475);
--secondary-foreground: oklch(0.151 0.011 305.516);
--accent: oklch(0.731 0.031 61.616);
--accent-foreground: oklch(0.159 0.006 61.64);
--destructive: oklch(0.579 0.221 31.118);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.748 0.045 161.019);
--chart-1: oklch(0.748 0.045 161.019);
--chart-2: oklch(0.694 0.052 305.475);
--chart-3: oklch(0.731 0.031 61.616);
--chart-4: oklch(0.721 0.047 305.598);
--chart-5: oklch(0.752 0.052 160.766);
}