Burrito is a shadcn/ui theme built around a light green primary color (#f2f4e1) with muted light green accents (#d2d3ca). The light mode uses a neutral background (#fbfbf8). Dark mode keeps the light green primary (#f2f4e1) on a green-tinted background (#0a0b04).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbf8snow | #0a0b04black |
| Foreground | #080802black | #f9faf5whitesmoke |
| Card | #f9faf5whitesmoke | #0e0f05black |
| Card foreground | #040401black | #fbfcf8snow |
| Popover | #fbfbf8snow | #0a0b04black |
| Popover foreground | #080802black | #f9faf5whitesmoke |
| Primary | #f2f4e1beige | #f2f4e1beige |
| Primary foreground | #292d10black | #292d10black |
| Secondary | #dfdfddgainsboro | #353725darkslategray |
| Secondary foreground | #474842darkslategray | #cfd2bclightgrey |
| Muted | #f2f3edwhitesmoke | #11120cblack |
| Muted foreground | #696d55dimgray | #a7aa92darkgray |
| Accent | #d2d3calightgrey | #4a4f2bdarkolivegreen |
| Accent foreground | #393a31darkslategray | #dfe2cagainsboro |
| Destructive | #a52603firebrick | #e63505orangered |
| Destructive foreground | #fee3dcmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f2f4e1beige | #f2f4e1beige |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 12.73:1 | AAA |
| Secondary button | 6.92:1 | AA |
| Muted text | 4.78:1 | AA |
| Accent | 7.62:1 | AAA |
| Destructive | 5.98:1 | AA |
| Text on background | 18.80:1 | AAA |
| Text on card | 18.69:1 | AAA |
| Primary button | 12.73:1 | AAA |
| Secondary button | 7.88:1 | AAA |
| Muted text | 7.87:1 | AAA |
| Accent | 6.48:1 | AA |
| Destructive | 4.30:1 | AA Large |
Paste this into your globals.css to use Burrito in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.004 112.621);
--foreground: oklch(0.132 0.021 113.763);
--muted: oklch(0.961 0.008 112.695);
--muted-foreground: oklch(0.524 0.035 113.796);
--popover: oklch(0.988 0.004 112.621);
--popover-foreground: oklch(0.132 0.021 113.763);
--card: oklch(0.982 0.006 112.66);
--card-foreground: oklch(0.105 0.017 113.763);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.961 0.025 113.037);
--primary-foreground: oklch(0.286 0.047 115.716);
--secondary: oklch(0.903 0.004 112.618);
--secondary-foreground: oklch(0.398 0.009 112.971);
--accent: oklch(0.863 0.012 112.802);
--accent-foreground: oklch(0.345 0.016 113.425);
--destructive: oklch(0.474 0.167 34.163);
--destructive-foreground: oklch(0.937 0.031 35.945);
--ring: oklch(0.961 0.025 113.037);
--chart-1: oklch(0.961 0.025 113.037);
--chart-2: oklch(0.903 0.004 112.618);
--chart-3: oklch(0.863 0.012 112.802);
--chart-4: oklch(0.926 0.003 112.599);
--chart-5: oklch(0.962 0.027 113.067);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.147 0.018 113.737);
--foreground: oklch(0.983 0.007 112.675);
--muted: oklch(0.18 0.012 113.734);
--muted-foreground: oklch(0.728 0.033 113.382);
--popover: oklch(0.147 0.018 113.737);
--popover-foreground: oklch(0.983 0.007 112.675);
--card: oklch(0.164 0.021 114.447);
--card-foreground: oklch(0.989 0.005 112.631);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.961 0.025 113.037);
--primary-foreground: oklch(0.286 0.047 115.716);
--secondary: oklch(0.329 0.031 114.289);
--secondary-foreground: oklch(0.856 0.03 113.208);
--accent: oklch(0.414 0.054 115.036);
--accent-foreground: oklch(0.904 0.032 113.198);
--destructive: oklch(0.604 0.217 33.624);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.961 0.025 113.037);
--chart-1: oklch(0.961 0.025 113.037);
--chart-2: oklch(0.329 0.031 114.289);
--chart-3: oklch(0.414 0.054 115.036);
--chart-4: oklch(0.363 0.035 114.34);
--chart-5: oklch(0.962 0.027 113.067);
}