Sushi is a shadcn/ui theme built around a light green primary color (#eefaea) with light green accents (#eafaef). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the light green primary (#eefaea) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fdf7mintcream | #000000black |
| Foreground | #071104black | #f9fcf8mintcream |
| Card | #f5fcf3honeydew | #030303black |
| Card foreground | #050c03black | #fcfdfcwhite |
| Popover | #f5fcf3honeydew | #030303black |
| Popover foreground | #050c03black | #fcfdfcwhite |
| Primary | #eefaeahoneydew | #eefaeahoneydew |
| Primary foreground | #193e0edarkgreen | #193e0edarkgreen |
| Secondary | #f6faeaoldlace | #f6faeaoldlace |
| Secondary foreground | #313e0edarkgreen | #313e0edarkgreen |
| Muted | #e7e9e2gainsboro | #1b1d16black |
| Muted foreground | #42453bdarkslategray | #c1c4basilver |
| Accent | #eafaefhoneydew | #eafaefhoneydew |
| Accent foreground | #0e3e1cdarkgreen | #0e3e1cdarkgreen |
| Destructive | #c63f01firebrick | #fe5506orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eefaeahoneydew | #eefaeahoneydew |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.68:1 | AAA |
| Text on card | 18.94:1 | AAA |
| Primary button | 11.24:1 | AAA |
| Secondary button | 10.84:1 | AAA |
| Muted text | 7.96:1 | AAA |
| Accent | 11.28:1 | AAA |
| Destructive | 5.09:1 | AA |
| Text on background | 20.30:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 11.24:1 | AAA |
| Secondary button | 10.84:1 | AAA |
| Muted text | 9.65:1 | AAA |
| Accent | 11.28:1 | AAA |
| Destructive | 3.23:1 | AA Large |
Paste this into your globals.css to use Sushi in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.01 138.894);
--foreground: oklch(0.161 0.033 137.553);
--muted: oklch(0.93 0.008 119.459);
--muted-foreground: oklch(0.384 0.017 120.081);
--popover: oklch(0.983 0.014 138.896);
--popover-foreground: oklch(0.144 0.028 137.08);
--card: oklch(0.983 0.014 138.896);
--card-foreground: oklch(0.144 0.028 137.08);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.972 0.025 138.901);
--primary-foreground: oklch(0.326 0.087 139.62);
--secondary: oklch(0.978 0.022 119.684);
--secondary-foreground: oklch(0.342 0.072 123.886);
--accent: oklch(0.971 0.023 154.756);
--accent-foreground: oklch(0.324 0.079 149.032);
--destructive: oklch(0.558 0.18 38.514);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.972 0.025 138.901);
--chart-1: oklch(0.972 0.025 138.901);
--chart-2: oklch(0.978 0.022 119.684);
--chart-3: oklch(0.971 0.023 154.756);
--chart-4: oklch(0.991 0.009 119.454);
--chart-5: oklch(0.973 0.026 138.901);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.006 138.893);
--muted: oklch(0.225 0.012 120.214);
--muted-foreground: oklch(0.816 0.014 119.607);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.994 0.003 138.892);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.994 0.003 138.892);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.972 0.025 138.901);
--primary-foreground: oklch(0.326 0.087 139.62);
--secondary: oklch(0.978 0.022 119.684);
--secondary-foreground: oklch(0.342 0.072 123.886);
--accent: oklch(0.971 0.023 154.756);
--accent-foreground: oklch(0.324 0.079 149.032);
--destructive: oklch(0.674 0.216 38.497);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.972 0.025 138.901);
--chart-1: oklch(0.972 0.025 138.901);
--chart-2: oklch(0.978 0.022 119.684);
--chart-3: oklch(0.971 0.023 154.756);
--chart-4: oklch(0.991 0.009 119.454);
--chart-5: oklch(0.973 0.026 138.901);
}