Poor for shadcn/ui

Poor is a shadcn/ui theme built around a vivid deep teal primary color (#032015) with muted light teal accents (#cbe1d9). The light mode uses a neutral background (#fbfefd). Dark mode keeps the vivid deep teal primary (#032015) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefdwhite
#000000black
Foreground
#010906black
#f5faf8mintcream
Card
#f8fcfamintcream
#030303black
Card foreground
#010503black
#f8fbfamintcream
Popover
#f8fcfamintcream
#030303black
Popover foreground
#010503black
#f8fbfamintcream
Primary
#032015black
#032015black
Primary foreground
#17d98fmediumspringgreen
#17d98fmediumspringgreen
Secondary
#dee8e4gainsboro
#131b18black
Secondary foreground
#3d574ddarkslategray
#a3bdb3darkgray
Muted
#e3f2eclavender
#0d1c16black
Muted foreground
#525755dimgray
#a8adabdarkgray
Accent
#cbe1d9lightgrey
#1d3028darkslategray
Accent foreground
#2d4e41darkslategray
#afcfc3silver
Destructive
#953a09saddlebrown
#f06419chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#032015black
#032015black

Contrast

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

Light mode
Text on background19.79:1AAA
Text on card19.82:1AAA
Primary button9.26:1AAA
Secondary button6.27:1AA
Muted text6.38:1AA
Accent6.73:1AA
Destructive7.28:1AAA
Dark mode
Text on background19.91:1AAA
Text on card19.86:1AAA
Primary button9.26:1AAA
Secondary button8.77:1AAA
Muted text7.71:1AAA
Accent8.34:1AAA
Destructive6.56:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 171.515);
  --foreground: oklch(0.127 0.02 171.941);
  --muted: oklch(0.949 0.018 171.03);
  --muted-foreground: oklch(0.45 0.007 171.128);
  --popover: oklch(0.988 0.005 171.438);
  --popover-foreground: oklch(0.101 0.016 171.941);
  --card: oklch(0.988 0.005 171.438);
  --card-foreground: oklch(0.101 0.016 171.941);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.219 0.042 164.4);
  --primary-foreground: oklch(0.782 0.176 159.302);
  --secondary: oklch(0.922 0.011 171.235);
  --secondary-foreground: oklch(0.431 0.034 169.034);
  --accent: oklch(0.892 0.026 170.724);
  --accent-foreground: oklch(0.393 0.045 167.672);
  --destructive: oklch(0.469 0.133 42.953);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.219 0.042 164.4);
  --chart-1: oklch(0.219 0.042 164.4);
  --chart-2: oklch(0.922 0.011 171.235);
  --chart-3: oklch(0.892 0.026 170.724);
  --chart-4: oklch(0.943 0.008 171.34);
  --chart-5: oklch(0.221 0.043 164.217);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.98 0.006 171.428);
  --muted: oklch(0.211 0.024 167.574);
  --muted-foreground: oklch(0.744 0.006 171.345);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.987 0.004 171.483);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.987 0.004 171.483);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.219 0.042 164.4);
  --primary-foreground: oklch(0.782 0.176 159.302);
  --secondary: oklch(0.212 0.012 169.811);
  --secondary-foreground: oklch(0.775 0.031 170.396);
  --accent: oklch(0.289 0.028 168.323);
  --accent-foreground: oklch(0.828 0.038 170.198);
  --destructive: oklch(0.672 0.189 43.207);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.219 0.042 164.4);
  --chart-1: oklch(0.219 0.042 164.4);
  --chart-2: oklch(0.212 0.012 169.811);
  --chart-3: oklch(0.289 0.028 168.323);
  --chart-4: oklch(0.247 0.016 169.625);
  --chart-5: oklch(0.221 0.043 164.217);
}