Earthbound - Main is a shadcn/ui theme built around a vivid blue primary color (#70cbff) with vivid violet accents (#5e11a6). The light mode uses a violet-tinted background (#370a61). Dark mode keeps the vivid blue primary (#70cbff) on a violet-tinted background (#370a61).
| Token | Light | Dark |
|---|---|---|
| Background | #370a61midnightblue | #370a61midnightblue |
| Foreground | #ffffffwhite | #ffffffwhite |
| Card | #320958midnightblue | #320958midnightblue |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #2f0953midnightblue | #2f0953midnightblue |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #70cbfflightskyblue | #70cbfflightskyblue |
| Primary foreground | #00273dmidnightblue | #00273dmidnightblue |
| Secondary | #2d4553darkslategray | #2d4553darkslategray |
| Secondary foreground | #cddce4gainsboro | #cddce4gainsboro |
| Muted | #403847darkslategray | #403847darkslategray |
| Muted foreground | #c0b8c7silver | #c0b8c7silver |
| Accent | #5e11a6rebeccapurple | #5e11a6rebeccapurple |
| Accent foreground | #f5edfdwhitesmoke | #f5edfdwhitesmoke |
| Destructive | #f11409red | #f11409red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #441371indigo | #441371indigo |
| Input | #4c157eindigo | #4c157eindigo |
| Ring | #70cbfflightskyblue | #70cbfflightskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 15.22:1 | AAA |
| Text on card | 15.97:1 | AAA |
| Primary button | 8.57:1 | AAA |
| Secondary button | 7.18:1 | AAA |
| Muted text | 5.81:1 | AA |
| Accent | 8.71:1 | AAA |
| Destructive | 4.32:1 | AA Large |
| Text on background | 15.22:1 | AAA |
| Text on card | 15.97:1 | AAA |
| Primary button | 8.57:1 | AAA |
| Secondary button | 7.18:1 | AAA |
| Muted text | 5.81:1 | AA |
| Accent | 8.71:1 | AAA |
| Destructive | 4.32:1 | AA Large |
Paste this into your globals.css to use Earthbound - Main in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.284 0.137 300.703);
--foreground: oklch(1 0 180);
--muted: oklch(0.355 0.028 308.298);
--muted-foreground: oklch(0.792 0.023 308.821);
--popover: oklch(0.258 0.122 301.137);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.267 0.127 300.979);
--card-foreground: oklch(1 0 180);
--border: oklch(0.326 0.148 301.79);
--input: oklch(0.351 0.161 301.586);
--primary: oklch(0.805 0.114 235.978);
--primary-foreground: oklch(0.259 0.059 239.88);
--secondary: oklch(0.376 0.038 234.585);
--secondary-foreground: oklch(0.885 0.02 232.901);
--accent: oklch(0.409 0.206 299.456);
--accent-foreground: oklch(0.956 0.024 308.865);
--destructive: oklch(0.607 0.242 29.508);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.805 0.114 235.978);
--chart-1: oklch(0.805 0.114 235.978);
--chart-2: oklch(0.376 0.038 234.585);
--chart-3: oklch(0.409 0.206 299.456);
--chart-4: oklch(0.406 0.042 234.637);
--chart-5: oklch(0.806 0.117 236.125);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.284 0.137 300.703);
--foreground: oklch(1 0 180);
--muted: oklch(0.355 0.028 308.298);
--muted-foreground: oklch(0.792 0.023 308.821);
--popover: oklch(0.258 0.122 301.137);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.267 0.127 300.979);
--card-foreground: oklch(1 0 180);
--border: oklch(0.326 0.148 301.79);
--input: oklch(0.351 0.161 301.586);
--primary: oklch(0.805 0.114 235.978);
--primary-foreground: oklch(0.259 0.059 239.88);
--secondary: oklch(0.376 0.038 234.585);
--secondary-foreground: oklch(0.885 0.02 232.901);
--accent: oklch(0.409 0.206 299.456);
--accent-foreground: oklch(0.956 0.024 308.865);
--destructive: oklch(0.607 0.242 29.508);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.805 0.114 235.978);
--chart-1: oklch(0.805 0.114 235.978);
--chart-2: oklch(0.376 0.038 234.585);
--chart-3: oklch(0.409 0.206 299.456);
--chart-4: oklch(0.406 0.042 234.637);
--chart-5: oklch(0.806 0.117 236.125);
}