Added The New Black for shadcn/ui

Added The New Black is a shadcn/ui theme built around a vivid orange primary color (#ff8400) with muted light orange accents (#d7ccc1). The light mode uses a neutral background (#fefcfb). Dark mode keeps the vivid orange primary (#ff8400) on a neutral background (#040301).

Color palette

TokenLightDark
Background
#fefcfbsnow
#040301black
Foreground
#000000black
#f9f7f6whitesmoke
Card
#fefcfbsnow
#040301black
Card foreground
#000000black
#f9f7f6whitesmoke
Popover
#fefcfbsnow
#040301black
Popover foreground
#000000black
#f9f7f6whitesmoke
Primary
#ff8400darkorange
#ff8400darkorange
Primary foreground
#331a00black
#331a00black
Secondary
#e2dedagainsboro
#312c25darkslategray
Secondary foreground
#4d453ddarkslategray
#cdc5bcsilver
Muted
#eee8e2linen
#1d1711black
Muted foreground
#5c544ddimgray
#b2aba3darkgray
Accent
#d7ccc1lightgrey
#4e4031darkolivegreen
Accent foreground
#3e3328darkslategray
#e2d9d0gainsboro
Destructive
#dc4109orangered
#f54c0forangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#efedeclinen
#24211eblack
Input
#efedeclinen
#24211eblack
Ring
#ff8400darkorange
#ff8400darkorange

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.58:1AAA
Primary button6.62:1AA
Secondary button7.02:1AAA
Muted text6.11:1AA
Accent7.79:1AAA
Destructive4.35:1AA Large
Dark mode
Text on background19.33:1AAA
Text on card19.33:1AAA
Primary button6.62:1AA
Secondary button8.13:1AAA
Muted text7.81:1AAA
Accent7.13:1AAA
Destructive3.53:1AA Large

CSS variables

Paste this into your globals.css to use Added The New Black in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 69.63);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.935 0.01 69.54);
  --muted-foreground: oklch(0.452 0.016 69.274);
  --popover: oklch(0.993 0.002 69.63);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.993 0.002 69.63);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.947 0.002 69.625);
  --input: oklch(0.947 0.002 69.625);
  --primary: oklch(0.738 0.184 54.583);
  --primary-foreground: oklch(0.248 0.056 64.56);
  --secondary: oklch(0.902 0.007 69.574);
  --secondary-foreground: oklch(0.396 0.018 69.147);
  --accent: oklch(0.852 0.019 69.42);
  --accent-foreground: oklch(0.33 0.024 68.724);
  --destructive: oklch(0.598 0.199 36.352);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.738 0.184 54.583);
  --chart-1: oklch(0.738 0.184 54.583);
  --chart-2: oklch(0.902 0.007 69.574);
  --chart-3: oklch(0.852 0.019 69.42);
  --chart-4: oklch(0.925 0.005 69.594);
  --chart-5: oklch(0.743 0.187 53.931);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.095 0.01 77.171);
  --foreground: oklch(0.978 0.002 69.626);
  --muted: oklch(0.21 0.015 68.748);
  --muted-foreground: oklch(0.745 0.014 69.46);
  --popover: oklch(0.095 0.01 77.171);
  --popover-foreground: oklch(0.978 0.002 69.626);
  --card: oklch(0.095 0.01 77.171);
  --card-foreground: oklch(0.978 0.002 69.626);
  --border: oklch(0.251 0.006 69.384);
  --input: oklch(0.251 0.006 69.384);
  --primary: oklch(0.738 0.184 54.583);
  --primary-foreground: oklch(0.248 0.056 64.56);
  --secondary: oklch(0.296 0.014 69.111);
  --secondary-foreground: oklch(0.826 0.015 69.469);
  --accent: oklch(0.383 0.031 68.544);
  --accent-foreground: oklch(0.89 0.015 69.474);
  --destructive: oklch(0.651 0.214 36.686);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.738 0.184 54.583);
  --chart-1: oklch(0.738 0.184 54.583);
  --chart-2: oklch(0.296 0.014 69.111);
  --chart-3: oklch(0.383 0.031 68.544);
  --chart-4: oklch(0.327 0.016 69.087);
  --chart-5: oklch(0.743 0.187 53.931);
}