Starboard for shadcn/ui

Starboard is a shadcn/ui theme built around a vivid light pink primary color (#f6a2c6) with muted light pink accents (#cdb7c0). The light mode uses a neutral background (#fefbfc). Dark mode keeps the vivid light pink primary (#f6a2c6) on a pink-tinted background (#0b0407).

Color palette

TokenLightDark
Background
#fefbfcsnow
#0b0407black
Foreground
#080205black
#ffffffwhite
Card
#fcf8fasnow
#0f060ablack
Card foreground
#040102black
#ffffffwhite
Popover
#fcf8fasnow
#0f060ablack
Popover foreground
#040102black
#ffffffwhite
Primary
#f6a2c6lightpink
#f6a2c6lightpink
Primary foreground
#5d092dmaroon
#5d092dmaroon
Secondary
#d8cfd3lightgrey
#1c1719black
Secondary foreground
#41353adarkslategray
#b9acb2darkgray
Muted
#eddee4gainsboro
#211218black
Muted foreground
#5a4e53dimgray
#b1a5aadarkgray
Accent
#cdb7c0silver
#31252bdarkslategray
Accent foreground
#302128darkslategray
#cdbcc3silver
Destructive
#a22f02saddlebrown
#ed4502orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f6a2c6lightpink
#f6a2c6lightpink

Contrast

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

Light mode
Text on background20.01:1AAA
Text on card19.69:1AAA
Primary button7.07:1AAA
Secondary button7.69:1AAA
Muted text6.09:1AA
Accent8.08:1AAA
Destructive7.15:1AAA
Dark mode
Text on background20.27:1AAA
Text on card20.02:1AAA
Primary button7.07:1AAA
Secondary button8.09:1AAA
Muted text7.59:1AAA
Accent8.06:1AAA
Destructive3.84:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 348.813);
  --foreground: oklch(0.105 0.022 348.361);
  --muted: oklch(0.914 0.019 349.317);
  --muted-foreground: oklch(0.438 0.018 349.813);
  --popover: oklch(0.982 0.006 348.893);
  --popover-foreground: oklch(0.083 0.017 348.361);
  --card: oklch(0.982 0.006 348.893);
  --card-foreground: oklch(0.083 0.017 348.361);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.805 0.108 352.219);
  --primary-foreground: oklch(0.316 0.117 1.676);
  --secondary: oklch(0.864 0.011 349.079);
  --secondary-foreground: oklch(0.343 0.019 350.187);
  --accent: oklch(0.8 0.028 349.687);
  --accent-foreground: oklch(0.27 0.025 351.154);
  --destructive: oklch(0.476 0.157 37.259);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.805 0.108 352.219);
  --chart-1: oklch(0.805 0.108 352.219);
  --chart-2: oklch(0.864 0.011 349.079);
  --chart-3: oklch(0.8 0.028 349.687);
  --chart-4: oklch(0.888 0.009 349.008);
  --chart-5: oklch(0.804 0.112 352.35);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.017 348.572);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.205 0.029 352.371);
  --muted-foreground: oklch(0.733 0.015 349.306);
  --popover: oklch(0.137 0.02 350.09);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.137 0.02 350.09);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.805 0.108 352.219);
  --primary-foreground: oklch(0.316 0.117 1.676);
  --secondary: oklch(0.212 0.008 349.778);
  --secondary-foreground: oklch(0.757 0.018 349.376);
  --accent: oklch(0.282 0.02 350.641);
  --accent-foreground: oklch(0.811 0.021 349.435);
  --destructive: oklch(0.63 0.213 36.375);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.805 0.108 352.219);
  --chart-1: oklch(0.805 0.108 352.219);
  --chart-2: oklch(0.212 0.008 349.778);
  --chart-3: oklch(0.282 0.02 350.641);
  --chart-4: oklch(0.244 0.01 349.872);
  --chart-5: oklch(0.804 0.112 352.35);
}