Ashamed for shadcn/ui

Ashamed is a shadcn/ui theme built around a muted light orange primary color (#d8c4bb) with muted light yellow accents (#d8d3bb). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the muted light orange primary (#d8c4bb) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdf9f7snow
#000000black
Foreground
#000000black
#fbfaf9snow
Card
#fcf6f3floralwhite
#030303black
Card foreground
#000000black
#fdfcfcsnow
Popover
#fcf6f3floralwhite
#030303black
Popover foreground
#000000black
#fdfcfcsnow
Primary
#d8c4bbsilver
#d8c4bbsilver
Primary foreground
#3e2c23darkslategray
#3e2c23darkslategray
Secondary
#d8bbc0thistle
#d8bbc0thistle
Secondary foreground
#3e2328darkslategray
#3e2328darkslategray
Muted
#e6cbd0thistle
#34191eblack
Muted foreground
#444041darkslategray
#bfbbbbsilver
Accent
#d8d3bblightgrey
#d8d3bblightgrey
Accent foreground
#3e3923darkslategray
#3e3923darkslategray
Destructive
#cf0c02firebrick
#fd190dred
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d8c4bbsilver
#d8c4bbsilver

Contrast

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

Light mode
Text on background20.03:1AAA
Text on card19.56:1AAA
Primary button7.89:1AAA
Secondary button7.98:1AAA
Muted text6.74:1AA
Accent7.66:1AAA
Destructive5.66:1AA
Dark mode
Text on background20.14:1AAA
Text on card20.19:1AAA
Primary button7.89:1AAA
Secondary button7.98:1AAA
Muted text8.48:1AAA
Accent7.66:1AAA
Destructive3.96:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.005 46.794);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.867 0.031 5.238);
  --muted-foreground: oklch(0.377 0.006 4.701);
  --popover: oklch(0.976 0.008 46.762);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.976 0.008 46.762);
  --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.835 0.026 46.532);
  --primary-foreground: oklch(0.31 0.03 45.958);
  --secondary: oklch(0.818 0.034 5.388);
  --secondary-foreground: oklch(0.293 0.041 7.949);
  --accent: oklch(0.864 0.032 96.597);
  --accent-foreground: oklch(0.342 0.035 97.042);
  --destructive: oklch(0.54 0.217 29.66);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.835 0.026 46.532);
  --chart-1: oklch(0.835 0.026 46.532);
  --chart-2: oklch(0.818 0.034 5.388);
  --chart-3: oklch(0.864 0.032 96.597);
  --chart-4: oklch(0.845 0.029 5.197);
  --chart-5: oklch(0.834 0.029 46.5);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.985 0.002 46.836);
  --muted: oklch(0.252 0.043 8.89);
  --muted-foreground: oklch(0.795 0.005 4.465);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.992 0.001 46.847);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.992 0.001 46.847);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.835 0.026 46.532);
  --primary-foreground: oklch(0.31 0.03 45.958);
  --secondary: oklch(0.818 0.034 5.388);
  --secondary-foreground: oklch(0.293 0.041 7.949);
  --accent: oklch(0.864 0.032 96.597);
  --accent-foreground: oklch(0.342 0.035 97.042);
  --destructive: oklch(0.629 0.25 29.493);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.835 0.026 46.532);
  --chart-1: oklch(0.835 0.026 46.532);
  --chart-2: oklch(0.818 0.034 5.388);
  --chart-3: oklch(0.864 0.032 96.597);
  --chart-4: oklch(0.845 0.029 5.197);
  --chart-5: oklch(0.834 0.029 46.5);
}