Pinkie for shadcn/ui

Pinkie is a shadcn/ui theme built around a muted light green primary color (#dfe2d5) with neutral gray accents (#d4d5d2). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the muted light green primary (#dfe2d5) on a neutral background (#030401).

Color palette

TokenLightDark
Background
#fdfdfcwhite
#030401black
Foreground
#070902black
#ffffffwhite
Card
#fdfdfcwhite
#030401black
Card foreground
#070902black
#ffffffwhite
Popover
#fdfdfcwhite
#030401black
Popover foreground
#070902black
#ffffffwhite
Primary
#dfe2d5gainsboro
#dfe2d5gainsboro
Primary foreground
#494f36darkolivegreen
#494f36darkolivegreen
Secondary
#d4d5d2lightgrey
#272725darkslategray
Secondary foreground
#3c3c39darkslategray
#c0c1bdsilver
Muted
#e6ead7gainsboro
#242815black
Muted foreground
#676765dimgray
#9a9a98darkgray
Accent
#d4d5d2lightgrey
#272725darkslategray
Accent foreground
#3c3c39darkslategray
#c0c1bdsilver
Destructive
#a0340dsaddlebrown
#ed541dchocolate
Destructive foreground
#fdeae3mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dfe2d5gainsboro
#dfe2d5gainsboro

Contrast

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

Light mode
Text on background19.70:1AAA
Text on card19.70:1AAA
Primary button6.51:1AA
Secondary button7.51:1AAA
Muted text4.60:1AA
Accent7.51:1AAA
Destructive6.00:1AA
Dark mode
Text on background20.57:1AAA
Text on card20.57:1AAA
Primary button6.51:1AA
Secondary button8.24:1AAA
Muted text5.37:1AA
Accent8.24:1AAA
Destructive3.57:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 116.376);
  --foreground: oklch(0.132 0.022 116.84);
  --muted: oklch(0.928 0.025 116.815);
  --muted-foreground: oklch(0.513 0.003 116.444);
  --popover: oklch(0.994 0.003 116.376);
  --popover-foreground: oklch(0.132 0.022 116.84);
  --card: oklch(0.994 0.003 116.376);
  --card-foreground: oklch(0.132 0.022 116.84);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.907 0.018 116.7);
  --primary-foreground: oklch(0.415 0.04 118.13);
  --secondary: oklch(0.872 0.004 116.405);
  --secondary-foreground: oklch(0.356 0.006 116.639);
  --accent: oklch(0.872 0.004 116.405);
  --accent-foreground: oklch(0.356 0.006 116.639);
  --destructive: oklch(0.481 0.15 37.645);
  --destructive-foreground: oklch(0.949 0.023 41.135);
  --ring: oklch(0.907 0.018 116.7);
  --chart-1: oklch(0.907 0.018 116.7);
  --chart-2: oklch(0.872 0.004 116.405);
  --chart-3: oklch(0.872 0.004 116.405);
  --chart-4: oklch(0.895 0.003 116.39);
  --chart-5: oklch(0.909 0.021 116.756);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.1 0.011 116.671);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.266 0.032 118.614);
  --muted-foreground: oklch(0.685 0.003 116.41);
  --popover: oklch(0.1 0.011 116.671);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.1 0.011 116.671);
  --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.907 0.018 116.7);
  --primary-foreground: oklch(0.415 0.04 118.13);
  --secondary: oklch(0.273 0.004 116.611);
  --secondary-foreground: oklch(0.81 0.005 116.451);
  --accent: oklch(0.273 0.004 116.611);
  --accent-foreground: oklch(0.81 0.005 116.451);
  --destructive: oklch(0.646 0.198 37.941);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.907 0.018 116.7);
  --chart-1: oklch(0.907 0.018 116.7);
  --chart-2: oklch(0.273 0.004 116.611);
  --chart-3: oklch(0.273 0.004 116.611);
  --chart-4: oklch(0.305 0.005 116.624);
  --chart-5: oklch(0.909 0.021 116.756);
}