Handsome for shadcn/ui

Handsome is a shadcn/ui theme built around a vivid deep teal primary color (#013231) with muted light teal accents (#c8dfdf). The light mode uses a neutral background (#f7fdfd). Dark mode keeps the vivid deep teal primary (#013231) on a teal-tinted background (#070d0d).

Color palette

TokenLightDark
Background
#f7fdfdmintcream
#070d0dblack
Foreground
#010404black
#fbfdfdwhite
Card
#f3fcfcmintcream
#091110black
Card foreground
#000000black
#ffffffwhite
Popover
#f7fdfdmintcream
#070d0dblack
Popover foreground
#010404black
#fbfdfdwhite
Primary
#013231darkslategray
#013231darkslategray
Primary foreground
#06f9f5aqua
#06f9f5aqua
Secondary
#e1eae9lavender
#1b1d1dblack
Secondary foreground
#405958darkslategray
#b1b9b9silver
Muted
#e7eeeelavender
#111818black
Muted foreground
#4c6766dimgray
#98b3b3darkgray
Accent
#c8dfdflightgrey
#2c3a3adarkslategray
Accent foreground
#2b4a49darkslategray
#c5d3d3lightgrey
Destructive
#b01b07firebrick
#f52a0forangered
Destructive foreground
#feeeeblinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#013231darkslategray
#013231darkslategray

Contrast

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

Light mode
Text on background20.00:1AAA
Text on card20.12:1AAA
Primary button10.60:1AAA
Secondary button6.14:1AA
Muted text5.19:1AA
Accent6.91:1AA
Destructive6.18:1AA
Dark mode
Text on background19.15:1AAA
Text on card19.14:1AAA
Primary button10.60:1AAA
Secondary button8.44:1AAA
Muted text8.09:1AAA
Accent7.67:1AAA
Destructive4.02:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.007 195.858);
  --foreground: oklch(0.099 0.01 194.621);
  --muted: oklch(0.944 0.007 195.845);
  --muted-foreground: oklch(0.491 0.032 194.887);
  --popover: oklch(0.989 0.007 195.858);
  --popover-foreground: oklch(0.099 0.01 194.621);
  --card: oklch(0.984 0.01 195.8);
  --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.286 0.048 193.043);
  --primary-foreground: oklch(0.887 0.152 192.665);
  --secondary: oklch(0.93 0.009 195.81);
  --secondary-foreground: oklch(0.443 0.03 194.849);
  --accent: oklch(0.887 0.024 195.507);
  --accent-foreground: oklch(0.385 0.036 194.393);
  --destructive: oklch(0.487 0.185 30.88);
  --destructive-foreground: oklch(0.96 0.018 26.576);
  --ring: oklch(0.286 0.048 193.043);
  --chart-1: oklch(0.286 0.048 193.043);
  --chart-2: oklch(0.93 0.009 195.81);
  --chart-3: oklch(0.887 0.024 195.507);
  --chart-4: oklch(0.951 0.006 195.862);
  --chart-5: oklch(0.289 0.049 193.004);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.153 0.01 194.921);
  --foreground: oklch(0.994 0.002 195.937);
  --muted: oklch(0.201 0.01 195.141);
  --muted-foreground: oklch(0.747 0.029 195.301);
  --popover: oklch(0.153 0.01 194.921);
  --popover-foreground: oklch(0.994 0.002 195.937);
  --card: oklch(0.168 0.012 194.798);
  --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.286 0.048 193.043);
  --primary-foreground: oklch(0.887 0.152 192.665);
  --secondary: oklch(0.23 0.004 195.655);
  --secondary-foreground: oklch(0.779 0.008 195.789);
  --accent: oklch(0.336 0.019 195.028);
  --accent-foreground: oklch(0.856 0.015 195.661);
  --destructive: oklch(0.623 0.237 30.856);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.286 0.048 193.043);
  --chart-1: oklch(0.286 0.048 193.043);
  --chart-2: oklch(0.23 0.004 195.655);
  --chart-3: oklch(0.336 0.019 195.028);
  --chart-4: oklch(0.263 0.005 195.632);
  --chart-5: oklch(0.289 0.049 193.004);
}