Culvert for shadcn/ui

Culvert is a shadcn/ui theme built around a light pink primary color (#efbed5) with light teal accents (#beefd8). The light mode uses a neutral background (#fefbfc). Dark mode keeps the light pink primary (#efbed5) on a pink-tinted background (#0b0407).

Color palette

TokenLightDark
Background
#fefbfcsnow
#0b0407black
Foreground
#000000black
#fdfbfcsnow
Card
#fdf7fasnow
#0f060ablack
Card foreground
#000000black
#ffffffwhite
Popover
#fefbfcsnow
#0b0407black
Popover foreground
#000000black
#fdfbfcsnow
Primary
#efbed5pink
#efbed5pink
Primary foreground
#62183bmaroon
#62183bmaroon
Secondary
#beefd8powderblue
#beefd8powderblue
Secondary foreground
#04100bblack
#04100bblack
Muted
#dfece6gainsboro
#13201ablack
Muted foreground
#575c59dimgray
#a3a8a6darkgray
Accent
#beefd8powderblue
#beefd8powderblue
Accent foreground
#04100bblack
#04100bblack
Destructive
#ac440csaddlebrown
#f06b24chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#efbed5pink
#efbed5pink

Contrast

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

Light mode
Text on background20.41:1AAA
Text on card19.83:1AAA
Primary button7.56:1AAA
Secondary button15.20:1AAA
Muted text5.59:1AA
Accent15.20:1AAA
Destructive5.87:1AA
Dark mode
Text on background19.67:1AAA
Text on card20.03:1AAA
Primary button7.56:1AAA
Secondary button15.20:1AAA
Muted text6.99:1AA
Accent15.20:1AAA
Destructive6.82:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.004 347.009);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.931 0.015 166.46);
  --muted-foreground: oklch(0.469 0.008 166.446);
  --popover: oklch(0.991 0.004 347.009);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.981 0.008 347.113);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.851 0.063 348.815);
  --primary-foreground: oklch(0.344 0.11 356.02);
  --secondary: oklch(0.911 0.059 165.001);
  --secondary-foreground: oklch(0.16 0.023 164.581);
  --accent: oklch(0.911 0.059 165.001);
  --accent-foreground: oklch(0.16 0.023 164.581);
  --destructive: oklch(0.52 0.149 42.804);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.851 0.063 348.815);
  --chart-1: oklch(0.851 0.063 348.815);
  --chart-2: oklch(0.911 0.059 165.001);
  --chart-3: oklch(0.911 0.059 165.001);
  --chart-4: oklch(0.927 0.048 165.408);
  --chart-5: oklch(0.849 0.066 348.911);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.019 346.813);
  --foreground: oklch(0.991 0.002 346.975);
  --muted: oklch(0.228 0.021 164.155);
  --muted-foreground: oklch(0.728 0.007 166.642);
  --popover: oklch(0.124 0.019 346.813);
  --popover-foreground: oklch(0.991 0.002 346.975);
  --card: oklch(0.137 0.021 348.417);
  --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.851 0.063 348.815);
  --primary-foreground: oklch(0.344 0.11 356.02);
  --secondary: oklch(0.911 0.059 165.001);
  --secondary-foreground: oklch(0.16 0.023 164.581);
  --accent: oklch(0.911 0.059 165.001);
  --accent-foreground: oklch(0.16 0.023 164.581);
  --destructive: oklch(0.681 0.181 44.393);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.851 0.063 348.815);
  --chart-1: oklch(0.851 0.063 348.815);
  --chart-2: oklch(0.911 0.059 165.001);
  --chart-3: oklch(0.911 0.059 165.001);
  --chart-4: oklch(0.927 0.048 165.408);
  --chart-5: oklch(0.849 0.066 348.911);
}