Pond for shadcn/ui

Pond is a shadcn/ui theme built around a vivid deep pink primary color (#330521) with neutral gray accents (#e7e4e6). The light mode uses a neutral background (#fdf7fb). Dark mode keeps the vivid deep pink primary (#330521) on a pink-tinted background (#0b0408).

Color palette

TokenLightDark
Background
#fdf7fbsnow
#0b0408black
Foreground
#040103black
#f9f5f8whitesmoke
Card
#fcf2f8lavenderblush
#0f050bblack
Card foreground
#000000black
#fbf8fasnow
Popover
#fcf2f8lavenderblush
#0f050bblack
Popover foreground
#000000black
#fbf8fasnow
Primary
#330521black
#330521black
Primary foreground
#f278c3hotpink
#f278c3hotpink
Secondary
#e7e4e6gainsboro
#31252ddarkslategray
Secondary foreground
#51484edarkslategray
#cdbcc6silver
Muted
#f2e9eelinen
#160d13black
Muted foreground
#635a5fdimgray
#a59ca2darkgray
Accent
#e7e4e6gainsboro
#31252ddarkslategray
Accent foreground
#51484edarkslategray
#cdbcc6silver
Destructive
#be200efirebrick
#ee2c17orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#330521black
#330521black

Contrast

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

Light mode
Text on background19.61:1AAA
Text on card19.26:1AAA
Primary button6.95:1AA
Secondary button6.96:1AA
Muted text5.57:1AA
Accent6.96:1AA
Destructive6.18:1AA
Dark mode
Text on background18.77:1AAA
Text on card18.98:1AAA
Primary button6.95:1AA
Secondary button8.06:1AAA
Muted text7.13:1AAA
Accent8.06:1AAA
Destructive4.20:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.009 339.664);
  --foreground: oklch(0.082 0.023 339.747);
  --muted: oklch(0.941 0.013 339.761);
  --muted-foreground: oklch(0.477 0.015 340.155);
  --popover: oklch(0.972 0.013 339.765);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.972 0.013 339.765);
  --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.221 0.081 347.706);
  --primary-foreground: oklch(0.736 0.173 344.307);
  --secondary: oklch(0.922 0.004 339.568);
  --secondary-foreground: oklch(0.412 0.015 340.268);
  --accent: oklch(0.922 0.004 339.568);
  --accent-foreground: oklch(0.412 0.015 340.268);
  --destructive: oklch(0.516 0.194 30.511);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.221 0.081 347.706);
  --chart-1: oklch(0.221 0.081 347.706);
  --chart-2: oklch(0.922 0.004 339.568);
  --chart-3: oklch(0.922 0.004 339.568);
  --chart-4: oklch(0.945 0.003 339.536);
  --chart-5: oklch(0.222 0.084 347.945);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.02 339.789);
  --foreground: oklch(0.975 0.006 339.598);
  --muted: oklch(0.175 0.019 341.742);
  --muted-foreground: oklch(0.702 0.014 339.895);
  --popover: oklch(0.138 0.023 341.355);
  --popover-foreground: oklch(0.983 0.004 339.554);
  --card: oklch(0.138 0.023 341.355);
  --card-foreground: oklch(0.983 0.004 339.554);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.221 0.081 347.706);
  --primary-foreground: oklch(0.736 0.173 344.307);
  --secondary: oklch(0.283 0.022 341.127);
  --secondary-foreground: oklch(0.812 0.023 340.085);
  --accent: oklch(0.283 0.022 341.127);
  --accent-foreground: oklch(0.812 0.023 340.085);
  --destructive: oklch(0.611 0.228 30.517);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.221 0.081 347.706);
  --chart-1: oklch(0.221 0.081 347.706);
  --chart-2: oklch(0.283 0.022 341.127);
  --chart-3: oklch(0.283 0.022 341.127);
  --chart-4: oklch(0.312 0.026 341.19);
  --chart-5: oklch(0.222 0.084 347.945);
}