Someone for shadcn/ui

Someone is a shadcn/ui theme built around a deep indigo primary color (#07060f) with deep green accents (#0d0f06). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep indigo primary (#07060f) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#080613black
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#080613black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#080613black
#ffffffwhite
Primary
#07060fblack
#07060fblack
Primary foreground
#c9c4e9thistle
#c9c4e9thistle
Secondary
#0d0f06black
#0d0f06black
Secondary foreground
#94a33eyellowgreen
#94a33eyellowgreen
Muted
#eeefe6linen
#181910black
Muted foreground
#484941darkslategray
#bdbeb6silver
Accent
#0d0f06black
#0d0f06black
Accent foreground
#94a33eyellowgreen
#94a33eyellowgreen
Destructive
#a3210afirebrick
#f14627orangered
Destructive foreground
#fde6e2mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#07060fblack
#07060fblack

Contrast

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

Light mode
Text on background20.08:1AAA
Text on card20.08:1AAA
Primary button12.07:1AAA
Secondary button6.95:1AA
Muted text7.86:1AAA
Accent6.95:1AA
Destructive6.32:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button12.07:1AAA
Secondary button6.95:1AA
Muted text9.46:1AAA
Accent6.95:1AA
Destructive3.72:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.136 0.029 290.035);
  --muted: oklch(0.949 0.012 113.542);
  --muted-foreground: oklch(0.401 0.014 113.936);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.136 0.029 290.035);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.136 0.029 290.035);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.128 0.022 291.323);
  --primary-foreground: oklch(0.836 0.051 292.135);
  --secondary: oklch(0.162 0.019 115.048);
  --secondary-foreground: oklch(0.682 0.127 117.098);
  --accent: oklch(0.162 0.019 115.048);
  --accent-foreground: oklch(0.682 0.127 117.098);
  --destructive: oklch(0.466 0.168 32.028);
  --destructive-foreground: oklch(0.943 0.026 29.584);
  --ring: oklch(0.128 0.022 291.323);
  --chart-1: oklch(0.128 0.022 291.323);
  --chart-2: oklch(0.162 0.019 115.048);
  --chart-3: oklch(0.162 0.019 115.048);
  --chart-4: oklch(0.21 0.029 115.961);
  --chart-5: oklch(0.126 0.024 291.14);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.208 0.017 114.831);
  --muted-foreground: oklch(0.799 0.012 113.575);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.128 0.022 291.323);
  --primary-foreground: oklch(0.836 0.051 292.135);
  --secondary: oklch(0.162 0.019 115.048);
  --secondary-foreground: oklch(0.682 0.127 117.098);
  --accent: oklch(0.162 0.019 115.048);
  --accent-foreground: oklch(0.682 0.127 117.098);
  --destructive: oklch(0.639 0.213 32.359);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.128 0.022 291.323);
  --chart-1: oklch(0.128 0.022 291.323);
  --chart-2: oklch(0.162 0.019 115.048);
  --chart-3: oklch(0.162 0.019 115.048);
  --chart-4: oklch(0.21 0.029 115.961);
  --chart-5: oklch(0.126 0.024 291.14);
}