Juicy Naval Adventures is a shadcn/ui theme built around an indigo primary color (#1f2784) with teal accents (#45a29e). The light mode uses an indigo-tinted background (#e4e5eb). Dark mode switches to a vivid teal primary (#66fcf1) on a blue-tinted background (#0b0c10).
| Token | Light | Dark |
|---|---|---|
| Background | #e4e5eblavender | #0b0c10black |
| Foreground | #0b0c10black | #f9f9fbghostwhite |
| Card | #dedfebgainsboro | #1d232adarkslategray |
| Card foreground | #1f2833darkslategray | #f9f9fbghostwhite |
| Popover | #e4e5eblavender | #0b0c10black |
| Popover foreground | #0b01c1mediumblue | #f9f9fbghostwhite |
| Primary | #1f2784midnightblue | #66fcf1aquamarine |
| Primary foreground | #c5c6c7silver | #1f2833darkslategray |
| Secondary | #66fcf1aquamarine | #45a29ecadetblue |
| Secondary foreground | #1f2833darkslategray | #0b0c10black |
| Muted | #c5c6c7silver | #656666dimgray |
| Muted foreground | #1f2833darkslategray | #dee5eflavender |
| Accent | #45a29ecadetblue | #45a29ecadetblue |
| Accent foreground | #4e4e56darkslategray | #0b0c10black |
| Destructive | #662c0asaddlebrown | #ea702achocolate |
| Destructive foreground | #f7c7abwheat | #000000black |
| Border | #c5c6c7silver | #38393adarkslategray |
| Input | #c5c6c7silver | #38393adarkslategray |
| Ring | #c5c6c7silver | #66fcf1aquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 15.55:1 | AAA |
| Text on card | 11.27:1 | AAA |
| Primary button | 7.27:1 | AAA |
| Secondary button | 11.88:1 | AAA |
| Muted text | 8.70:1 | AAA |
| Accent | 2.71:1 | Fail |
| Destructive | 7.11:1 | AAA |
| Text on background | 18.59:1 | AAA |
| Text on card | 15.07:1 | AAA |
| Primary button | 11.88:1 | AAA |
| Secondary button | 6.43:1 | AA |
| Muted text | 4.54:1 | AA |
| Accent | 6.43:1 | AA |
| Destructive | 6.84:1 | AA |
Paste this into your globals.css to use Juicy Naval Adventures in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.923 0.008 282.074);
--foreground: oklch(0.155 0.009 274.276);
--muted: oklch(0.826 0.002 247.844);
--muted-foreground: oklch(0.273 0.024 253.693);
--popover: oklch(0.923 0.008 278.631);
--popover-foreground: oklch(0.369 0.252 265.401);
--card: oklch(0.907 0.015 281.927);
--card-foreground: oklch(0.273 0.024 253.693);
--border: oklch(0.826 0.002 247.844);
--input: oklch(0.826 0.002 247.844);
--primary: oklch(0.338 0.153 271.144);
--primary-foreground: oklch(0.826 0.002 247.844);
--secondary: oklch(0.908 0.128 188.419);
--secondary-foreground: oklch(0.273 0.024 253.693);
--accent: oklch(0.656 0.088 191.357);
--accent-foreground: oklch(0.427 0.012 281.721);
--destructive: oklch(0.368 0.094 46.085);
--destructive-foreground: oklch(0.865 0.066 51.609);
--ring: oklch(0.826 0.002 247.844);
--chart-1: oklch(0.338 0.153 271.144);
--chart-2: oklch(0.908 0.128 188.419);
--chart-3: oklch(0.656 0.088 191.357);
--chart-4: oklch(0.914 0.12 188.79);
--chart-5: oklch(0.335 0.159 270.439);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.009 274.276);
--foreground: oklch(0.983 0.003 286.351);
--muted: oklch(0.509 0.001 247.84);
--muted-foreground: oklch(0.92 0.015 253.325);
--popover: oklch(0.155 0.009 274.276);
--popover-foreground: oklch(0.983 0.002 282.181);
--card: oklch(0.253 0.017 253.587);
--card-foreground: oklch(0.983 0.003 286.351);
--border: oklch(0.344 0.002 247.889);
--input: oklch(0.344 0.002 247.891);
--primary: oklch(0.908 0.128 188.419);
--primary-foreground: oklch(0.273 0.024 253.693);
--secondary: oklch(0.656 0.088 191.357);
--secondary-foreground: oklch(0.155 0.009 274.276);
--accent: oklch(0.656 0.088 191.357);
--accent-foreground: oklch(0.155 0.009 274.276);
--destructive: oklch(0.68 0.17 46.496);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.908 0.128 188.419);
--chart-1: oklch(0.908 0.128 188.419);
--chart-2: oklch(0.656 0.088 191.357);
--chart-3: oklch(0.656 0.088 191.357);
--chart-4: oklch(0.687 0.092 191.344);
--chart-5: oklch(0.913 0.131 188.334);
}