Goggles is a shadcn/ui theme built around a muted light yellow primary color (#d6d7c1) with muted light purple accents (#d7c1d6). The light mode uses a neutral background (#fdfdf7). Dark mode keeps the muted light yellow primary (#d6d7c1) on a yellow-tinted background (#0e0f06).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdf7snow | #0e0f06black |
| Foreground | #121202black | #fbfbf9snow |
| Card | #fcfcf2floralwhite | #121207black |
| Card foreground | #0d0e02black | #fdfdfcwhite |
| Popover | #fdfdf7snow | #0e0f06black |
| Popover foreground | #121202black | #fbfbf9snow |
| Primary | #d6d7c1lightgrey | #d6d7c1lightgrey |
| Primary foreground | #3d3e28darkslategray | #3d3e28darkslategray |
| Secondary | #c1d6d7lightgrey | #c1d6d7lightgrey |
| Secondary foreground | #283d3edarkslategray | #283d3edarkslategray |
| Muted | #d3dedfgainsboro | #202c2cdarkslategray |
| Muted foreground | #636363dimgray | #9c9c9cdarkgray |
| Accent | #d7c1d6thistle | #d7c1d6thistle |
| Accent foreground | #3e283ddarkslategray | #3e283ddarkslategray |
| Destructive | #a61b03firebrick | #fb310eorangered |
| Destructive foreground | #fee1dcmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d6d7c1lightgrey | #d6d7c1lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.49:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 7.49:1 | AAA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 4.38:1 | AA Large |
| Accent | 7.92:1 | AAA |
| Destructive | 6.13:1 | AA |
| Text on background | 18.61:1 | AAA |
| Text on card | 18.44:1 | AAA |
| Primary button | 7.49:1 | AAA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 5.24:1 | AA |
| Accent | 7.92:1 | AAA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Goggles in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.009 108.101);
--foreground: oklch(0.177 0.033 110.843);
--muted: oklch(0.893 0.013 199.414);
--muted-foreground: oklch(0.501 0 180);
--popover: oklch(0.993 0.009 108.101);
--popover-foreground: oklch(0.177 0.033 110.843);
--card: oklch(0.989 0.013 108.181);
--card-foreground: oklch(0.157 0.029 110.634);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.873 0.03 108.564);
--primary-foreground: oklch(0.357 0.036 109.714);
--secondary: oklch(0.862 0.023 199.251);
--secondary-foreground: oklch(0.344 0.027 198.681);
--accent: oklch(0.836 0.039 326.933);
--accent-foreground: oklch(0.312 0.049 327.796);
--destructive: oklch(0.467 0.176 31.809);
--destructive-foreground: oklch(0.933 0.033 29.633);
--ring: oklch(0.873 0.03 108.564);
--chart-1: oklch(0.873 0.03 108.564);
--chart-2: oklch(0.862 0.023 199.251);
--chart-3: oklch(0.836 0.039 326.933);
--chart-4: oklch(0.883 0.02 199.309);
--chart-5: oklch(0.877 0.034 108.642);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.164 0.019 109.858);
--foreground: oklch(0.988 0.003 108.002);
--muted: oklch(0.282 0.016 198.899);
--muted-foreground: oklch(0.691 0 180);
--popover: oklch(0.164 0.019 109.858);
--popover-foreground: oklch(0.988 0.003 108.002);
--card: oklch(0.18 0.022 110.031);
--card-foreground: oklch(0.994 0.002 107.971);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.873 0.03 108.564);
--primary-foreground: oklch(0.357 0.036 109.714);
--secondary: oklch(0.862 0.023 199.251);
--secondary-foreground: oklch(0.344 0.027 198.681);
--accent: oklch(0.836 0.039 326.933);
--accent-foreground: oklch(0.312 0.049 327.796);
--destructive: oklch(0.639 0.238 31.729);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.873 0.03 108.564);
--chart-1: oklch(0.873 0.03 108.564);
--chart-2: oklch(0.862 0.023 199.251);
--chart-3: oklch(0.836 0.039 326.933);
--chart-4: oklch(0.883 0.02 199.309);
--chart-5: oklch(0.877 0.034 108.642);
}