Grill is a shadcn/ui theme built around a light yellow primary color (#faf9eb) with light green accents (#f3faeb). The light mode uses a neutral background (#fdfcf7). Dark mode keeps the light yellow primary (#faf9eb) on a neutral background (#070703).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcf7snow | #070703black |
| Foreground | #080802black | #fcfbf8snow |
| Card | #fdfcf7snow | #070703black |
| Card foreground | #080802black | #fcfbf8snow |
| Popover | #fdfcf7snow | #070703black |
| Popover foreground | #080802black | #fcfbf8snow |
| Primary | #faf9eboldlace | #faf9eboldlace |
| Primary foreground | #3c3910darkolivegreen | #3c3910darkolivegreen |
| Secondary | #faf1eblinen | #faf1eblinen |
| Secondary foreground | #3c2310black | #3c2310black |
| Muted | #ebe8e5linen | #1a1614black |
| Muted foreground | #544940darkolivegreen | #bfb4absilver |
| Accent | #f3faebhoneydew | #f3faebhoneydew |
| Accent foreground | #293c10darkgreen | #293c10darkgreen |
| Destructive | #630e03maroon | #f8351borangered |
| Destructive foreground | #fca79clightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #faf9eboldlace | #faf9eboldlace |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.57:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 11.06:1 | AAA |
| Secondary button | 13.09:1 | AAA |
| Muted text | 7.14:1 | AAA |
| Accent | 11.23:1 | AAA |
| Destructive | 6.98:1 | AA |
| Text on background | 19.54:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 11.06:1 | AAA |
| Secondary button | 13.09:1 | AAA |
| Muted text | 8.80:1 | AAA |
| Accent | 11.23:1 | AAA |
| Destructive | 3.80:1 | AA Large |
Paste this into your globals.css to use Grill in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.007 103.223);
--foreground: oklch(0.129 0.017 105.894);
--muted: oklch(0.932 0.006 60.197);
--muted-foreground: oklch(0.413 0.022 59.543);
--popover: oklch(0.991 0.007 103.223);
--popover-foreground: oklch(0.129 0.017 105.894);
--card: oklch(0.991 0.007 103.223);
--card-foreground: oklch(0.129 0.017 105.894);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.978 0.018 103.414);
--primary-foreground: oklch(0.34 0.06 105.228);
--secondary: oklch(0.964 0.012 60.106);
--secondary-foreground: oklch(0.285 0.049 56.526);
--accent: oklch(0.975 0.021 126.023);
--accent-foreground: oklch(0.33 0.072 129.599);
--destructive: oklch(0.324 0.119 31.586);
--destructive-foreground: oklch(0.809 0.102 27.778);
--ring: oklch(0.978 0.018 103.414);
--chart-1: oklch(0.978 0.018 103.414);
--chart-2: oklch(0.964 0.012 60.106);
--chart-3: oklch(0.975 0.021 126.023);
--chart-4: oklch(0.985 0.005 60.215);
--chart-5: oklch(0.979 0.019 103.429);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.01 104.894);
--foreground: oklch(0.988 0.004 103.177);
--muted: oklch(0.206 0.009 59.704);
--muted-foreground: oklch(0.776 0.018 59.957);
--popover: oklch(0.124 0.01 104.894);
--popover-foreground: oklch(0.988 0.004 103.177);
--card: oklch(0.124 0.01 104.894);
--card-foreground: oklch(0.988 0.004 103.177);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.978 0.018 103.414);
--primary-foreground: oklch(0.34 0.06 105.228);
--secondary: oklch(0.964 0.012 60.106);
--secondary-foreground: oklch(0.285 0.049 56.526);
--accent: oklch(0.975 0.021 126.023);
--accent-foreground: oklch(0.33 0.072 129.599);
--destructive: oklch(0.636 0.232 31.024);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.978 0.018 103.414);
--chart-1: oklch(0.978 0.018 103.414);
--chart-2: oklch(0.964 0.012 60.106);
--chart-3: oklch(0.975 0.021 126.023);
--chart-4: oklch(0.985 0.005 60.215);
--chart-5: oklch(0.979 0.019 103.429);
}