White Edgar Shrimp for shadcn/ui

White Edgar Shrimp is a shadcn/ui theme built around a near-white primary color (#ededed) with neutral gray accents (#4d4d4d). The light mode uses a neutral background (#262626). Dark mode keeps the near-white primary (#ededed) on a neutral background (#262626).

Color palette

TokenLightDark
Background
#262626darkslategray
#262626darkslategray
Foreground
#f5f5f5whitesmoke
#f5f5f5whitesmoke
Card
#212121black
#212121black
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#1f1f1fblack
#1f1f1fblack
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#edededwhitesmoke
#edededwhitesmoke
Primary foreground
#545454dimgray
#545454dimgray
Secondary
#404040darkslategray
#404040darkslategray
Secondary foreground
#d9d9d9gainsboro
#d9d9d9gainsboro
Muted
#362b2bdarkslategray
#362b2bdarkslategray
Muted foreground
#b9a6a6darkgray
#b9a6a6darkgray
Accent
#4d4d4ddarkslategray
#4d4d4ddarkslategray
Accent foreground
#e6e6e6gainsboro
#e6e6e6gainsboro
Destructive
#e6201acrimson
#e6201acrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#333333darkslategray
#333333darkslategray
Input
#3b3b3bdarkslategray
#3b3b3bdarkslategray
Ring
#edededwhitesmoke
#edededwhitesmoke

Contrast

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

Light mode
Text on background13.83:1AAA
Text on card16.07:1AAA
Primary button6.47:1AA
Secondary button7.37:1AAA
Muted text5.91:1AA
Accent6.82:1AA
Destructive4.59:1AA
Dark mode
Text on background13.83:1AAA
Text on card16.07:1AAA
Primary button6.47:1AA
Secondary button7.37:1AAA
Muted text5.91:1AA
Accent6.82:1AA
Destructive4.59:1AA

CSS variables

Paste this into your globals.css to use White Edgar Shrimp in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.27 0 180);
  --foreground: oklch(0.97 0 180);
  --muted: oklch(0.301 0.017 18.156);
  --muted-foreground: oklch(0.743 0.022 17.661);
  --popover: oklch(0.238 0 161.565);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.248 0 173.29);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.321 0 180);
  --input: oklch(0.351 0 167.471);
  --primary: oklch(0.947 0 180);
  --primary-foreground: oklch(0.446 0 180);
  --secondary: oklch(0.371 0 168.69);
  --secondary-foreground: oklch(0.885 0 180);
  --accent: oklch(0.418 0 173.29);
  --accent-foreground: oklch(0.923 0 153.435);
  --destructive: oklch(0.59 0.227 28.866);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.947 0 180);
  --chart-1: oklch(0.947 0 180);
  --chart-2: oklch(0.371 0 168.69);
  --chart-3: oklch(0.418 0 173.29);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(0.946 0.001 17.178);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.27 0 180);
  --foreground: oklch(0.97 0 180);
  --muted: oklch(0.301 0.017 18.156);
  --muted-foreground: oklch(0.743 0.022 17.661);
  --popover: oklch(0.238 0 161.565);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.248 0 173.29);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.321 0 180);
  --input: oklch(0.351 0 167.471);
  --primary: oklch(0.947 0 180);
  --primary-foreground: oklch(0.446 0 180);
  --secondary: oklch(0.371 0 168.69);
  --secondary-foreground: oklch(0.885 0 180);
  --accent: oklch(0.418 0 173.29);
  --accent-foreground: oklch(0.923 0 153.435);
  --destructive: oklch(0.59 0.227 28.866);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.947 0 180);
  --chart-1: oklch(0.947 0 180);
  --chart-2: oklch(0.371 0 168.69);
  --chart-3: oklch(0.418 0 173.29);
  --chart-4: oklch(0.399 0 180);
  --chart-5: oklch(0.946 0.001 17.178);
}