Somebody for shadcn/ui

Somebody is a shadcn/ui theme built around a neutral gray primary color (#252827) with neutral gray accents (#282725). The light mode uses a neutral background (#fbfefd). Dark mode keeps the neutral gray primary (#252827) on a neutral background (#030807).

Color palette

TokenLightDark
Background
#fbfefdwhite
#030807black
Foreground
#010404black
#fcfdfdwhite
Card
#fbfefdwhite
#030807black
Card foreground
#010404black
#fcfdfdwhite
Popover
#fbfefdwhite
#030807black
Popover foreground
#010404black
#fcfdfdwhite
Primary
#252827darkslategray
#252827darkslategray
Primary foreground
#bdc2c1silver
#bdc2c1silver
Secondary
#272528darkslategray
#272528darkslategray
Secondary foreground
#c1bdc2silver
#c1bdc2silver
Muted
#efe5f0lavender
#180f1ablack
Muted foreground
#4a494bdarkslategray
#b6b4b6silver
Accent
#282725darkslategray
#282725darkslategray
Accent foreground
#c2c1bdsilver
#c2c1bdsilver
Destructive
#8e1b01darkred
#fe4820orangered
Destructive foreground
#ffcdc2peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#252827darkslategray
#252827darkslategray

Contrast

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

Light mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button8.27:1AAA
Secondary button8.21:1AAA
Muted text7.29:1AAA
Accent8.26:1AAA
Destructive6.40:1AA
Dark mode
Text on background19.82:1AAA
Text on card19.82:1AAA
Primary button8.27:1AAA
Secondary button8.21:1AAA
Muted text9.08:1AAA
Accent8.26:1AAA
Destructive3.40:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 186.532);
  --foreground: oklch(0.099 0.011 186.162);
  --muted: oklch(0.932 0.018 321.108);
  --muted-foreground: oklch(0.408 0.003 321.081);
  --popover: oklch(0.994 0.002 186.532);
  --popover-foreground: oklch(0.099 0.011 186.162);
  --card: oklch(0.994 0.002 186.532);
  --card-foreground: oklch(0.099 0.011 186.162);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.273 0.004 186.173);
  --primary-foreground: oklch(0.809 0.006 186.414);
  --secondary: oklch(0.267 0.007 321.12);
  --secondary-foreground: oklch(0.802 0.009 321.088);
  --accent: oklch(0.274 0.005 98.557);
  --accent-foreground: oklch(0.81 0.006 98.423);
  --destructive: oklch(0.42 0.154 33.149);
  --destructive-foreground: oklch(0.889 0.058 32.83);
  --ring: oklch(0.273 0.004 186.173);
  --chart-1: oklch(0.273 0.004 186.173);
  --chart-2: oklch(0.267 0.007 321.12);
  --chart-3: oklch(0.274 0.005 98.557);
  --chart-4: oklch(0.298 0.008 321.122);
  --chart-5: oklch(0.275 0.008 185.866);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.012 186.215);
  --foreground: oklch(0.993 0.001 186.573);
  --muted: oklch(0.186 0.027 321.347);
  --muted-foreground: oklch(0.772 0.002 321.072);
  --popover: oklch(0.124 0.012 186.215);
  --popover-foreground: oklch(0.993 0.001 186.573);
  --card: oklch(0.124 0.012 186.215);
  --card-foreground: oklch(0.993 0.001 186.573);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.273 0.004 186.173);
  --primary-foreground: oklch(0.809 0.006 186.414);
  --secondary: oklch(0.267 0.007 321.12);
  --secondary-foreground: oklch(0.802 0.009 321.088);
  --accent: oklch(0.274 0.005 98.557);
  --accent-foreground: oklch(0.81 0.006 98.423);
  --destructive: oklch(0.662 0.223 33.613);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.273 0.004 186.173);
  --chart-1: oklch(0.273 0.004 186.173);
  --chart-2: oklch(0.267 0.007 321.12);
  --chart-3: oklch(0.274 0.005 98.557);
  --chart-4: oklch(0.298 0.008 321.122);
  --chart-5: oklch(0.275 0.008 185.866);
}