Individual for shadcn/ui

Individual is a shadcn/ui theme built around a muted light green primary color (#cfdccb) with muted light red accents (#dccbcf). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#cfdccb) on a neutral background (#040703).

Color palette

TokenLightDark
Background
#ffffffwhite
#040703black
Foreground
#061103black
#f6f9f5whitesmoke
Card
#ffffffwhite
#040703black
Card foreground
#061103black
#f6f9f5whitesmoke
Popover
#ffffffwhite
#040703black
Popover foreground
#061103black
#f6f9f5whitesmoke
Primary
#cfdccblightgrey
#cfdccblightgrey
Primary foreground
#344630darkslategray
#344630darkslategray
Secondary
#cbcfdclightgrey
#cbcfdclightgrey
Secondary foreground
#303446darkslategray
#303446darkslategray
Muted
#ecedeewhitesmoke
#111113black
Muted foreground
#5c5c5cdimgray
#a3a3a3darkgray
Accent
#dccbcflightgrey
#dccbcflightgrey
Accent foreground
#463034darkslategray
#463034darkslategray
Destructive
#641007maroon
#ea2610orangered
Destructive foreground
#f9ada4lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cfdccblightgrey
#cfdccblightgrey

Contrast

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

Light mode
Text on background19.27:1AAA
Text on card19.27:1AAA
Primary button7.13:1AAA
Secondary button7.90:1AAA
Muted text5.68:1AA
Accent7.80:1AAA
Destructive7.11:1AAA
Dark mode
Text on background19.08:1AAA
Text on card19.08:1AAA
Primary button7.13:1AAA
Secondary button7.90:1AAA
Muted text7.47:1AAA
Accent7.80:1AAA
Destructive4.40:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.162 0.036 137.91);
  --muted: oklch(0.945 0.002 275.004);
  --muted-foreground: oklch(0.474 0 198.435);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.162 0.036 137.91);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.162 0.036 137.91);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.88 0.026 139.437);
  --primary-foreground: oklch(0.371 0.044 139.445);
  --secondary: oklch(0.855 0.019 274.76);
  --secondary-foreground: oklch(0.328 0.032 273.609);
  --accent: oklch(0.858 0.019 3.774);
  --accent-foreground: oklch(0.335 0.033 5.806);
  --destructive: oklch(0.328 0.118 30.589);
  --destructive-foreground: oklch(0.817 0.091 26.271);
  --ring: oklch(0.88 0.026 139.437);
  --chart-1: oklch(0.88 0.026 139.437);
  --chart-2: oklch(0.855 0.019 274.76);
  --chart-3: oklch(0.858 0.019 3.774);
  --chart-4: oklch(0.881 0.015 274.819);
  --chart-5: oklch(0.881 0.031 139.436);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.015 138.266);
  --foreground: oklch(0.98 0.006 139.443);
  --muted: oklch(0.179 0.004 274.783);
  --muted-foreground: oklch(0.716 0 165.964);
  --popover: oklch(0.121 0.015 138.266);
  --popover-foreground: oklch(0.98 0.006 139.443);
  --card: oklch(0.121 0.015 138.266);
  --card-foreground: oklch(0.98 0.006 139.443);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.88 0.026 139.437);
  --primary-foreground: oklch(0.371 0.044 139.445);
  --secondary: oklch(0.855 0.019 274.76);
  --secondary-foreground: oklch(0.328 0.032 273.609);
  --accent: oklch(0.858 0.019 3.774);
  --accent-foreground: oklch(0.335 0.033 5.806);
  --destructive: oklch(0.601 0.229 30.478);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.88 0.026 139.437);
  --chart-1: oklch(0.88 0.026 139.437);
  --chart-2: oklch(0.855 0.019 274.76);
  --chart-3: oklch(0.858 0.019 3.774);
  --chart-4: oklch(0.881 0.015 274.819);
  --chart-5: oklch(0.881 0.031 139.436);
}