Juicy Naval Adventures for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background15.55:1AAA
Text on card11.27:1AAA
Primary button7.27:1AAA
Secondary button11.88:1AAA
Muted text8.70:1AAA
Accent2.71:1Fail
Destructive7.11:1AAA
Dark mode
Text on background18.59:1AAA
Text on card15.07:1AAA
Primary button11.88:1AAA
Secondary button6.43:1AA
Muted text4.54:1AA
Accent6.43:1AA
Destructive6.84:1AA

CSS variables

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);
}