Psychologist for shadcn/ui

Psychologist is a shadcn/ui theme built around a light orange primary color (#f2e7e3) with light yellow accents (#f2efe3). The light mode uses a neutral background (#fefcfb). Dark mode keeps the light orange primary (#f2e7e3) on an orange-tinted background (#0a0605).

Color palette

TokenLightDark
Background
#fefcfbsnow
#0a0605black
Foreground
#000000black
#ffffffwhite
Card
#fdf8f7snow
#0e0807black
Card foreground
#000000black
#ffffffwhite
Popover
#fefcfbsnow
#0a0605black
Popover foreground
#000000black
#ffffffwhite
Primary
#f2e7e3linen
#f2e7e3linen
Primary foreground
#6f4434saddlebrown
#6f4434saddlebrown
Secondary
#f2e3e7mistyrose
#f2e3e7mistyrose
Secondary foreground
#6f3442saddlebrown
#6f3442saddlebrown
Muted
#e7cbd1thistle
#34181fblack
Muted foreground
#483c3fdarkslategray
#c3b7basilver
Accent
#f2efe3linen
#f2efe3linen
Accent foreground
#2a2414black
#2a2414black
Destructive
#7c2209maroon
#db3b0forangered
Destructive foreground
#facabcpeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f2e7e3linen
#f2e7e3linen

Contrast

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

Light mode
Text on background20.49:1AAA
Text on card20.00:1AAA
Primary button6.79:1AA
Secondary button7.54:1AAA
Muted text6.93:1AA
Accent13.35:1AAA
Destructive6.82:1AA
Dark mode
Text on background20.13:1AAA
Text on card19.84:1AAA
Primary button6.79:1AA
Secondary button7.54:1AAA
Muted text8.31:1AAA
Accent13.35:1AAA
Destructive4.50:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.003 41.284);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.866 0.033 2);
  --muted-foreground: oklch(0.371 0.017 2.226);
  --popover: oklch(0.992 0.003 41.284);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.984 0.005 41.263);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.936 0.013 41.201);
  --primary-foreground: oklch(0.433 0.065 40.701);
  --secondary: oklch(0.929 0.017 1.456);
  --secondary-foreground: oklch(0.408 0.084 6.792);
  --accent: oklch(0.95 0.015 92.81);
  --accent-foreground: oklch(0.263 0.03 93.1);
  --destructive: oklch(0.393 0.129 35.116);
  --destructive-foreground: oklch(0.877 0.059 35.969);
  --ring: oklch(0.936 0.013 41.201);
  --chart-1: oklch(0.936 0.013 41.201);
  --chart-2: oklch(0.929 0.017 1.456);
  --chart-3: oklch(0.95 0.015 92.81);
  --chart-4: oklch(0.956 0.01 1.26);
  --chart-5: oklch(0.936 0.014 41.193);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.13 0.009 45.772);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.252 0.046 6.003);
  --muted-foreground: oklch(0.789 0.014 1.454);
  --popover: oklch(0.13 0.009 45.772);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.144 0.011 44.22);
  --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.936 0.013 41.201);
  --primary-foreground: oklch(0.433 0.065 40.701);
  --secondary: oklch(0.929 0.017 1.456);
  --secondary-foreground: oklch(0.408 0.084 6.792);
  --accent: oklch(0.95 0.015 92.81);
  --accent-foreground: oklch(0.263 0.03 93.1);
  --destructive: oklch(0.591 0.203 34.505);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.936 0.013 41.201);
  --chart-1: oklch(0.936 0.013 41.201);
  --chart-2: oklch(0.929 0.017 1.456);
  --chart-3: oklch(0.95 0.015 92.81);
  --chart-4: oklch(0.956 0.01 1.26);
  --chart-5: oklch(0.936 0.014 41.193);
}