Pinecone for shadcn/ui

Pinecone is a shadcn/ui theme built around a muted light blue primary color (#c2c5d1) with muted light yellow accents (#d1cec2). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the muted light blue primary (#c2c5d1) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfcfdwhite
#000000black
Foreground
#060914black
#fbfcfdwhite
Card
#f8f9fcghostwhite
#030303black
Card foreground
#050710black
#ffffffwhite
Popover
#f8f9fcghostwhite
#030303black
Popover foreground
#050710black
#ffffffwhite
Primary
#c2c5d1silver
#c2c5d1silver
Primary foreground
#2a2d37darkslategray
#2a2d37darkslategray
Secondary
#d1cec2lightgrey
#d1cec2lightgrey
Secondary foreground
#37342adarkslategray
#37342adarkslategray
Muted
#f5f3eblinen
#14120ablack
Muted foreground
#6b6552dimgray
#ada894darkgray
Accent
#d1cec2lightgrey
#d1cec2lightgrey
Accent foreground
#37342adarkslategray
#37342adarkslategray
Destructive
#bb2f0cfirebrick
#d8360eorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c2c5d1silver
#c2c5d1silver

Contrast

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

Light mode
Text on background19.35:1AAA
Text on card19.07:1AAA
Primary button7.99:1AAA
Secondary button7.87:1AAA
Muted text5.22:1AA
Accent7.87:1AAA
Destructive5.96:1AA
Dark mode
Text on background20.44:1AAA
Text on card20.67:1AAA
Primary button7.99:1AAA
Secondary button7.87:1AAA
Muted text7.84:1AAA
Accent7.87:1AAA
Destructive4.72:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 273.842);
  --foreground: oklch(0.142 0.025 269.154);
  --muted: oklch(0.962 0.011 93.984);
  --muted-foreground: oklch(0.507 0.03 94.377);
  --popover: oklch(0.982 0.004 273.819);
  --popover-foreground: oklch(0.131 0.021 268.091);
  --card: oklch(0.982 0.004 273.819);
  --card-foreground: oklch(0.131 0.021 268.091);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.825 0.017 273.627);
  --primary-foreground: oklch(0.297 0.02 273.004);
  --secondary: oklch(0.85 0.016 94.065);
  --secondary-foreground: oklch(0.326 0.018 94.364);
  --accent: oklch(0.85 0.016 94.065);
  --accent-foreground: oklch(0.326 0.018 94.364);
  --destructive: oklch(0.522 0.181 33.839);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.825 0.017 273.627);
  --chart-1: oklch(0.825 0.017 273.627);
  --chart-2: oklch(0.85 0.016 94.065);
  --chart-3: oklch(0.85 0.016 94.065);
  --chart-4: oklch(0.872 0.014 94.033);
  --chart-5: oklch(0.822 0.02 273.571);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.991 0.002 273.841);
  --muted: oklch(0.183 0.016 94.481);
  --muted-foreground: oklch(0.729 0.028 94.23);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.825 0.017 273.627);
  --primary-foreground: oklch(0.297 0.02 273.004);
  --secondary: oklch(0.85 0.016 94.065);
  --secondary-foreground: oklch(0.326 0.018 94.364);
  --accent: oklch(0.85 0.016 94.065);
  --accent-foreground: oklch(0.326 0.018 94.364);
  --destructive: oklch(0.58 0.203 33.716);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.825 0.017 273.627);
  --chart-1: oklch(0.825 0.017 273.627);
  --chart-2: oklch(0.85 0.016 94.065);
  --chart-3: oklch(0.85 0.016 94.065);
  --chart-4: oklch(0.872 0.014 94.033);
  --chart-5: oklch(0.822 0.02 273.571);
}