Teriyaki is a shadcn/ui theme built around a muted green primary color (#69815a) with muted green accents (#5a815f). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#69815a) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #060e02black | #fcfdfcwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #040901black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #060e02black | #fcfdfcwhite |
| Primary | #69815adimgray | #69815adimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #7d815adimgray | #7d815adimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f3f4f1whitesmoke | #0e0e0bblack |
| Muted foreground | #55564ddarkolivegreen | #b1b2a9darkgray |
| Accent | #5a815fdimgray | #5a815fdimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #890f0bdarkred | #f04842tomato |
| Destructive foreground | #fbcdcbpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #69815adimgray | #69815adimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.59:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 4.27:1 | AA Large |
| Secondary button | 4.05:1 | AA Large |
| Muted text | 6.72:1 | AA |
| Accent | 4.41:1 | AA Large |
| Destructive | 6.88:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 4.27:1 | AA Large |
| Secondary button | 4.05:1 | AA Large |
| Muted text | 9.01:1 | AAA |
| Accent | 4.41:1 | AA Large |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Teriyaki in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.149 0.033 131.358);
--muted: oklch(0.965 0.004 111.859);
--muted-foreground: oklch(0.451 0.016 112.424);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.149 0.033 131.358);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.129 0.028 130.956);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.574 0.065 133.845);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.59 0.057 113.572);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.565 0.069 147.564);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.403 0.155 28.826);
--destructive-foreground: oklch(0.887 0.052 20.504);
--ring: oklch(0.574 0.065 133.845);
--chart-1: oklch(0.574 0.065 133.845);
--chart-2: oklch(0.59 0.057 113.572);
--chart-3: oklch(0.565 0.069 147.564);
--chart-4: oklch(0.62 0.06 113.583);
--chart-5: oklch(0.581 0.075 133.994);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 132.993);
--muted: oklch(0.163 0.006 112.495);
--muted-foreground: oklch(0.761 0.014 112.118);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.001 132.993);
--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.574 0.065 133.845);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.59 0.057 113.572);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.565 0.069 147.564);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.642 0.205 26.711);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.574 0.065 133.845);
--chart-1: oklch(0.574 0.065 133.845);
--chart-2: oklch(0.59 0.057 113.572);
--chart-3: oklch(0.565 0.069 147.564);
--chart-4: oklch(0.62 0.06 113.583);
--chart-5: oklch(0.581 0.075 133.994);
}