Gobbler is a shadcn/ui theme built around a muted light green primary color (#e7eae6) with muted light pink accents (#eae6e7). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the muted light green primary (#e7eae6) on a green-tinted background (#070a05).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fdf7mintcream | #070a05black |
| Foreground | #020401black | #f9fcf8mintcream |
| Card | #f8fdf7mintcream | #070a05black |
| Card foreground | #020401black | #f9fcf8mintcream |
| Popover | #f8fdf7mintcream | #070a05black |
| Popover foreground | #020401black | #f9fcf8mintcream |
| Primary | #e7eae6linen | #e7eae6linen |
| Primary foreground | #4c5648darkslategray | #4c5648darkslategray |
| Secondary | #e6e7ealavender | #e6e7ealavender |
| Secondary foreground | #484c56darkslategray | #484c56darkslategray |
| Muted | #d5d9e1gainsboro | #1e212ablack |
| Muted foreground | #4f535fdimgray | #a0a5b0darkgray |
| Accent | #eae6e7linen | #eae6e7linen |
| Accent foreground | #56484cdarkslategray | #56484cdarkslategray |
| Destructive | #af3e0efirebrick | #d44c11chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e7eae6linen | #e7eae6linen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.01:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 6.34:1 | AA |
| Secondary button | 6.95:1 | AA |
| Muted text | 5.41:1 | AA |
| Accent | 6.99:1 | AA |
| Destructive | 5.97:1 | AA |
| Text on background | 19.25:1 | AAA |
| Text on card | 19.25:1 | AAA |
| Primary button | 6.34:1 | AA |
| Secondary button | 6.95:1 | AA |
| Muted text | 6.51:1 | AA |
| Accent | 6.99:1 | AA |
| Destructive | 4.33:1 | AA Large |
Paste this into your globals.css to use Gobbler in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.01 136.639);
--foreground: oklch(0.101 0.021 134.533);
--muted: oklch(0.884 0.012 268.688);
--muted-foreground: oklch(0.444 0.019 268.434);
--popover: oklch(0.989 0.01 136.639);
--popover-foreground: oklch(0.101 0.021 134.533);
--card: oklch(0.989 0.01 136.639);
--card-foreground: oklch(0.101 0.021 134.533);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.934 0.006 136.629);
--primary-foreground: oklch(0.44 0.026 136.797);
--secondary: oklch(0.928 0.004 268.76);
--secondary-foreground: oklch(0.417 0.018 268.439);
--accent: oklch(0.928 0.005 357.86);
--accent-foreground: oklch(0.417 0.02 359.067);
--destructive: oklch(0.518 0.156 39.575);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.934 0.006 136.629);
--chart-1: oklch(0.934 0.006 136.629);
--chart-2: oklch(0.928 0.004 268.76);
--chart-3: oklch(0.928 0.005 357.86);
--chart-4: oklch(0.952 0.003 268.771);
--chart-5: oklch(0.935 0.008 136.636);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.014 135.611);
--foreground: oklch(0.988 0.006 136.628);
--muted: oklch(0.248 0.017 268.163);
--muted-foreground: oklch(0.722 0.017 268.612);
--popover: oklch(0.139 0.014 135.611);
--popover-foreground: oklch(0.988 0.006 136.628);
--card: oklch(0.139 0.014 135.611);
--card-foreground: oklch(0.988 0.006 136.628);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.934 0.006 136.629);
--primary-foreground: oklch(0.44 0.026 136.797);
--secondary: oklch(0.928 0.004 268.76);
--secondary-foreground: oklch(0.417 0.018 268.439);
--accent: oklch(0.928 0.005 357.86);
--accent-foreground: oklch(0.417 0.02 359.067);
--destructive: oklch(0.597 0.183 39.284);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.934 0.006 136.629);
--chart-1: oklch(0.934 0.006 136.629);
--chart-2: oklch(0.928 0.004 268.76);
--chart-3: oklch(0.928 0.005 357.86);
--chart-4: oklch(0.952 0.003 268.771);
--chart-5: oklch(0.935 0.008 136.636);
}