Earthbound - Fire Spring is a shadcn/ui theme built around a vivid yellow primary color (#dbc500) with violet accents (#4d3267). The light mode uses a violet-tinted background (#261933). Dark mode keeps the vivid yellow primary (#dbc500) on a violet-tinted background (#261933).
| Token | Light | Dark |
|---|---|---|
| Background | #261933darkslategray | #261933darkslategray |
| Foreground | #ffffcclemonchiffon | #ffffcclemonchiffon |
| Card | #21162cblack | #21162cblack |
| Card foreground | #ffffe6lightyellow | #ffffe6lightyellow |
| Popover | #1f1429black | #1f1429black |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #dbc500gold | #dbc500gold |
| Primary foreground | #0f0e00black | #0f0e00black |
| Secondary | #534f2ddarkolivegreen | #534f2ddarkolivegreen |
| Secondary foreground | #e4e2cdgainsboro | #e4e2cdgainsboro |
| Muted | #302b36darkslategray | #302b36darkslategray |
| Muted foreground | #b0a6b9darkgray | #b0a6b9darkgray |
| Accent | #4d3267darkslateblue | #4d3267darkslateblue |
| Accent foreground | #e6ddeelavender | #e6ddeelavender |
| Destructive | #ee2a11orangered | #ee2a11orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #33273fdarkslategray | #33273fdarkslategray |
| Input | #3b2d49darkslategray | #3b2d49darkslategray |
| Ring | #dbc500gold | #dbc500gold |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.04:1 | AAA |
| Text on card | 17.02:1 | AAA |
| Primary button | 11.11:1 | AAA |
| Secondary button | 6.36:1 | AA |
| Muted text | 5.91:1 | AA |
| Accent | 8.09:1 | AAA |
| Destructive | 4.20:1 | AA Large |
| Text on background | 16.04:1 | AAA |
| Text on card | 17.02:1 | AAA |
| Primary button | 11.11:1 | AAA |
| Secondary button | 6.36:1 | AA |
| Muted text | 5.91:1 | AA |
| Accent | 8.09:1 | AAA |
| Destructive | 4.20:1 | AA Large |
Paste this into your globals.css to use Earthbound - Fire Spring in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.244 0.051 306.02);
--foreground: oklch(0.988 0.065 107.54);
--muted: oklch(0.299 0.022 307.638);
--muted-foreground: oklch(0.741 0.029 308.029);
--popover: oklch(0.216 0.042 306.201);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.226 0.045 306.134);
--card-foreground: oklch(0.993 0.033 106.989);
--border: oklch(0.297 0.046 306.695);
--input: oklch(0.324 0.052 306.637);
--primary: oklch(0.818 0.171 101.299);
--primary-foreground: oklch(0.159 0.034 105.339);
--secondary: oklch(0.422 0.052 102.832);
--secondary-foreground: oklch(0.909 0.028 101.753);
--accent: oklch(0.374 0.09 305.553);
--accent-foreground: oklch(0.909 0.025 308.155);
--destructive: oklch(0.612 0.231 30.902);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.818 0.171 101.299);
--chart-1: oklch(0.818 0.171 101.299);
--chart-2: oklch(0.422 0.052 102.832);
--chart-3: oklch(0.374 0.09 305.553);
--chart-4: oklch(0.457 0.057 102.845);
--chart-5: oklch(0.826 0.173 101.177);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.244 0.051 306.02);
--foreground: oklch(0.988 0.065 107.54);
--muted: oklch(0.299 0.022 307.638);
--muted-foreground: oklch(0.741 0.029 308.029);
--popover: oklch(0.216 0.042 306.201);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.226 0.045 306.134);
--card-foreground: oklch(0.993 0.033 106.989);
--border: oklch(0.297 0.046 306.695);
--input: oklch(0.324 0.052 306.637);
--primary: oklch(0.818 0.171 101.299);
--primary-foreground: oklch(0.159 0.034 105.339);
--secondary: oklch(0.422 0.052 102.832);
--secondary-foreground: oklch(0.909 0.028 101.753);
--accent: oklch(0.374 0.09 305.553);
--accent-foreground: oklch(0.909 0.025 308.155);
--destructive: oklch(0.612 0.231 30.902);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.818 0.171 101.299);
--chart-1: oklch(0.818 0.171 101.299);
--chart-2: oklch(0.422 0.052 102.832);
--chart-3: oklch(0.374 0.09 305.553);
--chart-4: oklch(0.457 0.057 102.845);
--chart-5: oklch(0.826 0.173 101.177);
}