Seaplane for shadcn/ui

Seaplane is a shadcn/ui theme built around a green primary color (#5b8d49) with pink accents (#8d495b). The light mode uses a neutral background (#f9fdf7). Dark mode keeps the green primary (#5b8d49) on a green-tinted background (#060c03).

Color palette

TokenLightDark
Background
#f9fdf7mintcream
#060c03black
Foreground
#030902black
#f6f9f6whitesmoke
Card
#f9fdf7mintcream
#060c03black
Card foreground
#030902black
#f6f9f6whitesmoke
Popover
#f9fdf7mintcream
#060c03black
Popover foreground
#030902black
#f6f9f6whitesmoke
Primary
#5b8d49olivedrab
#5b8d49olivedrab
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#495b8ddarkslateblue
#495b8ddarkslateblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e3e7f3lavender
#0c111cblack
Muted foreground
#626364dimgray
#9b9b9ddarkgray
Accent
#8d495bdimgray
#8d495bdimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#892f0bsaddlebrown
#d44811chocolate
Destructive foreground
#fbd9cbbisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5b8d49olivedrab
#5b8d49olivedrab

Contrast

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

Light mode
Text on background19.51:1AAA
Text on card19.51:1AAA
Primary button3.90:1AA Large
Secondary button6.62:1AA
Muted text4.86:1AA
Accent6.48:1AA
Destructive6.43:1AA
Dark mode
Text on background18.65:1AAA
Text on card18.65:1AAA
Primary button3.90:1AA Large
Secondary button6.62:1AA
Muted text6.80:1AA
Accent6.48:1AA
Destructive4.41:1AA Large

CSS variables

Paste this into your globals.css to use Seaplane in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.008 137.209);
  --foreground: oklch(0.126 0.026 135.172);
  --muted: oklch(0.928 0.016 269.969);
  --muted-foreground: oklch(0.5 0.002 270.082);
  --popover: oklch(0.988 0.008 137.209);
  --popover-foreground: oklch(0.126 0.026 135.172);
  --card: oklch(0.988 0.008 137.209);
  --card-foreground: oklch(0.126 0.026 135.172);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.592 0.113 137.874);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.479 0.085 267.962);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.494 0.095 4.149);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.433 0.13 38.902);
  --destructive-foreground: oklch(0.909 0.042 42.78);
  --ring: oklch(0.592 0.113 137.874);
  --chart-1: oklch(0.592 0.113 137.874);
  --chart-2: oklch(0.479 0.085 267.962);
  --chart-3: oklch(0.494 0.095 4.149);
  --chart-4: oklch(0.503 0.089 267.94);
  --chart-5: oklch(0.599 0.122 137.964);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.025 135.569);
  --foreground: oklch(0.98 0.006 137.203);
  --muted: oklch(0.178 0.025 268.47);
  --muted-foreground: oklch(0.69 0.002 270.095);
  --popover: oklch(0.143 0.025 135.569);
  --popover-foreground: oklch(0.98 0.006 137.203);
  --card: oklch(0.143 0.025 135.569);
  --card-foreground: oklch(0.98 0.006 137.203);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.592 0.113 137.874);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.479 0.085 267.962);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.494 0.095 4.149);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.593 0.185 38.254);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.592 0.113 137.874);
  --chart-1: oklch(0.592 0.113 137.874);
  --chart-2: oklch(0.479 0.085 267.962);
  --chart-3: oklch(0.494 0.095 4.149);
  --chart-4: oklch(0.503 0.089 267.94);
  --chart-5: oklch(0.599 0.122 137.964);
}