Earthbound - Cave of the Past is a shadcn/ui theme built around a muted deep green primary color (#293d29) with muted green accents (#80b38c). The light mode uses a green-tinted background (#afcfb7). Dark mode keeps the muted deep green primary (#293d29) on a green-tinted background (#afcfb7).
| Token | Light | Dark |
|---|---|---|
| Background | #afcfb7silver | #afcfb7silver |
| Foreground | #252d24darkslategray | #252d24darkslategray |
| Card | #a9cbb2silver | #a9cbb2silver |
| Card foreground | #1a1f19black | #1a1f19black |
| Popover | #a6c9afsilver | #a6c9afsilver |
| Popover foreground | #0e110eblack | #0e110eblack |
| Primary | #293d29darkslategray | #293d29darkslategray |
| Primary foreground | #c2d6c2silver | #c2d6c2silver |
| Secondary | #b9c6b9silver | #b9c6b9silver |
| Secondary foreground | #222a22darkslategray | #222a22darkslategray |
| Muted | #acbeb1darkgray | #acbeb1darkgray |
| Muted foreground | #2d3930darkslategray | #2d3930darkslategray |
| Accent | #80b38cdarkseagreen | #80b38cdarkseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #ac1602firebrick | #ac1602firebrick |
| Destructive foreground | #ffe4e1mistyrose | #ffe4e1mistyrose |
| Border | #a7beaddarkgray | #a7beaddarkgray |
| Input | #9eb7a5darkgray | #9eb7a5darkgray |
| Ring | #293d29darkslategray | #293d29darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 8.42:1 | AAA |
| Text on card | 9.49:1 | AAA |
| Primary button | 7.61:1 | AAA |
| Secondary button | 8.29:1 | AAA |
| Muted text | 6.17:1 | AA |
| Accent | 8.69:1 | AAA |
| Destructive | 6.09:1 | AA |
| Text on background | 8.42:1 | AAA |
| Text on card | 9.49:1 | AAA |
| Primary button | 7.61:1 | AAA |
| Secondary button | 8.29:1 | AAA |
| Muted text | 6.17:1 | AA |
| Accent | 8.69:1 | AAA |
| Destructive | 6.09:1 | AA |
Paste this into your globals.css to use Earthbound - Cave of the Past in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.825 0.048 152.855);
--foreground: oklch(0.288 0.02 141.878);
--muted: oklch(0.784 0.027 153.279);
--muted-foreground: oklch(0.331 0.023 152.637);
--popover: oklch(0.804 0.053 152.687);
--popover-foreground: oklch(0.173 0.008 141.946);
--card: oklch(0.811 0.051 152.745);
--card-foreground: oklch(0.232 0.014 141.901);
--border: oklch(0.779 0.035 153.093);
--input: oklch(0.756 0.039 152.979);
--primary: oklch(0.337 0.044 144.527);
--primary-foreground: oklch(0.856 0.035 145.257);
--secondary: oklch(0.812 0.022 145.364);
--secondary-foreground: oklch(0.275 0.018 145.078);
--accent: oklch(0.719 0.077 151.865);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.475 0.184 30.922);
--destructive-foreground: oklch(0.94 0.03 26.679);
--ring: oklch(0.337 0.044 144.527);
--chart-1: oklch(0.337 0.044 144.527);
--chart-2: oklch(0.812 0.022 145.364);
--chart-3: oklch(0.719 0.077 151.865);
--chart-4: oklch(0.835 0.02 145.396);
--chart-5: oklch(0.34 0.05 144.379);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.825 0.048 152.855);
--foreground: oklch(0.288 0.02 141.878);
--muted: oklch(0.784 0.027 153.279);
--muted-foreground: oklch(0.331 0.023 152.637);
--popover: oklch(0.804 0.053 152.687);
--popover-foreground: oklch(0.173 0.008 141.946);
--card: oklch(0.811 0.051 152.745);
--card-foreground: oklch(0.232 0.014 141.901);
--border: oklch(0.779 0.035 153.093);
--input: oklch(0.756 0.039 152.979);
--primary: oklch(0.337 0.044 144.527);
--primary-foreground: oklch(0.856 0.035 145.257);
--secondary: oklch(0.812 0.022 145.364);
--secondary-foreground: oklch(0.275 0.018 145.078);
--accent: oklch(0.719 0.077 151.865);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.475 0.184 30.922);
--destructive-foreground: oklch(0.94 0.03 26.679);
--ring: oklch(0.337 0.044 144.527);
--chart-1: oklch(0.337 0.044 144.527);
--chart-2: oklch(0.812 0.022 145.364);
--chart-3: oklch(0.719 0.077 151.865);
--chart-4: oklch(0.835 0.02 145.396);
--chart-5: oklch(0.34 0.05 144.379);
}