Poor for shadcn/ui

Poor is a shadcn/ui theme built around a blue primary color (#92abc4) with orange accents (#c4ab92). The light mode uses a neutral background (#f7fafd). Dark mode keeps the blue primary (#92abc4) on a neutral background (#030507).

Color palette

TokenLightDark
Background
#f7fafdghostwhite
#030507black
Foreground
#04080cblack
#fcfcfdwhite
Card
#f3f7fcaliceblue
#05080bblack
Card foreground
#020508black
#ffffffwhite
Popover
#f3f7fcaliceblue
#05080bblack
Popover foreground
#020508black
#ffffffwhite
Primary
#92abc4darkgray
#92abc4darkgray
Primary foreground
#0c1217black
#0c1217black
Secondary
#c4ab92tan
#c4ab92tan
Secondary foreground
#17120cblack
#17120cblack
Muted
#f6f0ealinen
#150f09black
Muted foreground
#736659dimgray
#a6998crosybrown
Accent
#c4ab92tan
#c4ab92tan
Accent foreground
#17120cblack
#17120cblack
Destructive
#9b310dsaddlebrown
#ec5827chocolate
Destructive foreground
#fce6demistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#92abc4darkgray
#92abc4darkgray

Contrast

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

Light mode
Text on background19.16:1AAA
Text on card19.03:1AAA
Primary button7.91:1AAA
Secondary button8.48:1AAA
Muted text4.90:1AA
Accent8.48:1AAA
Destructive6.18:1AA
Dark mode
Text on background19.90:1AAA
Text on card20.11:1AAA
Primary button7.91:1AAA
Secondary button8.48:1AAA
Muted text6.82:1AA
Accent8.48:1AAA
Destructive3.49:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.005 247.873);
  --foreground: oklch(0.129 0.013 241.022);
  --muted: oklch(0.957 0.01 67.704);
  --muted-foreground: oklch(0.519 0.026 67.189);
  --popover: oklch(0.975 0.007 247.899);
  --popover-foreground: oklch(0.112 0.011 240.608);
  --card: oklch(0.975 0.007 247.899);
  --card-foreground: oklch(0.112 0.011 240.608);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.73 0.046 248.461);
  --primary-foreground: oklch(0.179 0.014 248.613);
  --secondary: oklch(0.756 0.046 67.043);
  --secondary-foreground: oklch(0.186 0.014 66.819);
  --accent: oklch(0.756 0.046 67.043);
  --accent-foreground: oklch(0.186 0.014 66.819);
  --destructive: oklch(0.467 0.147 36.841);
  --destructive-foreground: oklch(0.94 0.027 39.355);
  --ring: oklch(0.73 0.046 248.461);
  --chart-1: oklch(0.73 0.046 248.461);
  --chart-2: oklch(0.756 0.046 67.043);
  --chart-3: oklch(0.756 0.046 67.043);
  --chart-4: oklch(0.779 0.041 67.158);
  --chart-5: oklch(0.729 0.051 248.526);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.113 0.009 242.173);
  --foreground: oklch(0.992 0.001 247.827);
  --muted: oklch(0.175 0.015 66.591);
  --muted-foreground: oklch(0.691 0.025 67.401);
  --popover: oklch(0.129 0.01 242.267);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.129 0.01 242.267);
  --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.73 0.046 248.461);
  --primary-foreground: oklch(0.179 0.014 248.613);
  --secondary: oklch(0.756 0.046 67.043);
  --secondary-foreground: oklch(0.186 0.014 66.819);
  --accent: oklch(0.756 0.046 67.043);
  --accent-foreground: oklch(0.186 0.014 66.819);
  --destructive: oklch(0.651 0.192 37.62);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.73 0.046 248.461);
  --chart-1: oklch(0.73 0.046 248.461);
  --chart-2: oklch(0.756 0.046 67.043);
  --chart-3: oklch(0.756 0.046 67.043);
  --chart-4: oklch(0.779 0.041 67.158);
  --chart-5: oklch(0.729 0.051 248.526);
}