Tibetan Plateau Peacock for shadcn/ui

Tibetan Plateau Peacock is a shadcn/ui theme built around a vivid teal primary color (#81fddc) with neutral gray accents (#dadcdc). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#81fddc) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#010403black
#f6f9f8whitesmoke
Card
#ffffffwhite
#000000black
Card foreground
#010403black
#f6f9f8whitesmoke
Popover
#ffffffwhite
#000000black
Popover foreground
#010403black
#f6f9f8whitesmoke
Primary
#81fddcaquamarine
#81fddcaquamarine
Primary foreground
#014b38darkslategray
#014b38darkslategray
Secondary
#dadcdcgainsboro
#161818black
Secondary foreground
#404443darkslategray
#abb5b2darkgray
Muted
#d8e9e4gainsboro
#162722black
Muted foreground
#606c69dimgray
#939f9cdarkgray
Accent
#dadcdcgainsboro
#161818black
Accent foreground
#404443darkslategray
#abb5b2darkgray
Destructive
#ff0800red
#b30600darkred
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e4e7e6gainsboro
#1b1d1dblack
Input
#e4e7e6gainsboro
#1b1d1dblack
Ring
#81fddcaquamarine
#81fddcaquamarine

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.58:1AAA
Primary button8.25:1AAA
Secondary button7.19:1AAA
Muted text4.33:1AA Large
Accent7.19:1AAA
Destructive3.97:1AA Large
Dark mode
Text on background19.82:1AAA
Text on card19.82:1AAA
Primary button8.25:1AAA
Secondary button8.46:1AAA
Muted text5.70:1AA
Accent8.46:1AAA
Destructive7.16:1AAA

CSS variables

Paste this into your globals.css to use Tibetan Plateau Peacock in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.099 0.012 178.887);
  --muted: oklch(0.919 0.019 178.194);
  --muted-foreground: oklch(0.52 0.016 177.89);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.099 0.012 178.887);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.099 0.012 178.887);
  --border: oklch(0.925 0.003 178.694);
  --input: oklch(0.925 0.003 178.694);
  --primary: oklch(0.914 0.122 173.864);
  --primary-foreground: oklch(0.368 0.074 167.964);
  --secondary: oklch(0.894 0.002 178.705);
  --secondary-foreground: oklch(0.384 0.006 178.361);
  --accent: oklch(0.894 0.002 178.705);
  --accent-foreground: oklch(0.384 0.006 178.361);
  --destructive: oklch(0.629 0.256 29.493);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.914 0.122 173.864);
  --chart-1: oklch(0.914 0.122 173.864);
  --chart-2: oklch(0.894 0.002 178.705);
  --chart-3: oklch(0.894 0.002 178.705);
  --chart-4: oklch(0.917 0.002 178.724);
  --chart-5: oklch(0.918 0.125 173.717);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.979 0.003 178.693);
  --muted: oklch(0.256 0.024 175.717);
  --muted-foreground: oklch(0.692 0.015 178.16);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.979 0.003 178.693);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.979 0.003 178.693);
  --border: oklch(0.229 0.004 178.216);
  --input: oklch(0.229 0.004 178.216);
  --primary: oklch(0.914 0.122 173.864);
  --primary-foreground: oklch(0.368 0.074 167.964);
  --secondary: oklch(0.207 0.004 178.15);
  --secondary-foreground: oklch(0.764 0.011 178.358);
  --accent: oklch(0.207 0.004 178.15);
  --accent-foreground: oklch(0.764 0.011 178.358);
  --destructive: oklch(0.482 0.195 29.639);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.914 0.122 173.864);
  --chart-1: oklch(0.914 0.122 173.864);
  --chart-2: oklch(0.207 0.004 178.15);
  --chart-3: oklch(0.207 0.004 178.15);
  --chart-4: oklch(0.241 0.006 178.085);
  --chart-5: oklch(0.918 0.125 173.717);
}