Poor for shadcn/ui

Poor is a shadcn/ui theme built around a light pink primary color (#e0b8c4) with light teal accents (#b8e0d4). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the light pink primary (#e0b8c4) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#fcf8f9snow
#030202black
Foreground
#050102black
#ffffffwhite
Card
#fcf8f9snow
#030202black
Card foreground
#050102black
#ffffffwhite
Popover
#fcf8f9snow
#030202black
Popover foreground
#050102black
#ffffffwhite
Primary
#e0b8c4thistle
#e0b8c4thistle
Primary foreground
#471f2bdarkslategray
#471f2bdarkslategray
Secondary
#b8e0d4powderblue
#b8e0d4powderblue
Secondary foreground
#1f473bdarkslategray
#1f473bdarkslategray
Muted
#dae1dfgainsboro
#1e2523black
Muted foreground
#495552darkslategray
#aab6b2darkgray
Accent
#b8e0d4powderblue
#b8e0d4powderblue
Accent foreground
#1f473bdarkslategray
#1f473bdarkslategray
Destructive
#750e00maroon
#ff270aorangered
Destructive foreground
#ffb2a8lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e0b8c4thistle
#e0b8c4thistle

Contrast

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

Light mode
Text on background19.71:1AAA
Text on card19.71:1AAA
Primary button7.89:1AAA
Secondary button7.23:1AAA
Muted text5.87:1AA
Accent7.23:1AAA
Destructive6.68:1AA
Dark mode
Text on background20.73:1AAA
Text on card20.73:1AAA
Primary button7.89:1AAA
Secondary button7.23:1AAA
Muted text7.49:1AAA
Accent7.23:1AAA
Destructive3.78: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.004 356.773);
  --foreground: oklch(0.079 0.023 356.197);
  --muted: oklch(0.905 0.008 176.387);
  --muted-foreground: oklch(0.439 0.017 175.478);
  --popover: oklch(0.983 0.004 356.773);
  --popover-foreground: oklch(0.079 0.023 356.197);
  --card: oklch(0.983 0.004 356.773);
  --card-foreground: oklch(0.079 0.023 356.197);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.821 0.048 358.293);
  --primary-foreground: oklch(0.3 0.062 2.543);
  --secondary: oklch(0.875 0.045 175.078);
  --secondary-foreground: oklch(0.365 0.05 171.476);
  --accent: oklch(0.875 0.045 175.078);
  --accent-foreground: oklch(0.365 0.05 171.476);
  --destructive: oklch(0.361 0.138 31.661);
  --destructive-foreground: oklch(0.835 0.091 27.548);
  --ring: oklch(0.821 0.048 358.293);
  --chart-1: oklch(0.821 0.048 358.293);
  --chart-2: oklch(0.875 0.045 175.078);
  --chart-3: oklch(0.875 0.045 175.078);
  --chart-4: oklch(0.893 0.038 175.358);
  --chart-5: oklch(0.82 0.052 358.422);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.009 356.504);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.256 0.011 175.317);
  --muted-foreground: oklch(0.766 0.015 176.077);
  --popover: oklch(0.087 0.009 356.504);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.087 0.009 356.504);
  --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.821 0.048 358.293);
  --primary-foreground: oklch(0.3 0.062 2.543);
  --secondary: oklch(0.875 0.045 175.078);
  --secondary-foreground: oklch(0.365 0.05 171.476);
  --accent: oklch(0.875 0.045 175.078);
  --accent-foreground: oklch(0.365 0.05 171.476);
  --destructive: oklch(0.639 0.247 30.709);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.821 0.048 358.293);
  --chart-1: oklch(0.821 0.048 358.293);
  --chart-2: oklch(0.875 0.045 175.078);
  --chart-3: oklch(0.875 0.045 175.078);
  --chart-4: oklch(0.893 0.038 175.358);
  --chart-5: oklch(0.82 0.052 358.422);
}