Stamp for shadcn/ui

Stamp is a shadcn/ui theme built around a deep orange primary color (#6f3c15) with near-white accents (#eceae9). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the deep orange primary (#6f3c15) on an orange-tinted background (#0f0a06).

Color palette

TokenLightDark
Background
#fdfaf7snow
#0f0a06black
Foreground
#000000black
#f9f7f6whitesmoke
Card
#fdfaf7snow
#0f0a06black
Card foreground
#000000black
#f9f7f6whitesmoke
Popover
#fdfaf7snow
#0f0a06black
Popover foreground
#000000black
#f9f7f6whitesmoke
Primary
#6f3c15saddlebrown
#6f3c15saddlebrown
Primary foreground
#f4d8c3peachpuff
#f4d8c3peachpuff
Secondary
#eceae9linen
#2f2b27darkslategray
Secondary foreground
#56514ddarkslategray
#cac4bfsilver
Muted
#f5f2f0whitesmoke
#0f0c0ablack
Muted foreground
#685d55dimgray
#aa9f97darkgray
Accent
#eceae9linen
#2f2b27darkslategray
Accent foreground
#56514ddarkslategray
#cac4bfsilver
Destructive
#e13105orangered
#e63205orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6f3c15saddlebrown
#6f3c15saddlebrown

Contrast

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

Light mode
Text on background20.12:1AAA
Text on card20.12:1AAA
Primary button6.59:1AA
Secondary button6.55:1AA
Muted text5.72:1AA
Accent6.55:1AA
Destructive4.53:1AA
Dark mode
Text on background18.48:1AAA
Text on card18.48:1AAA
Primary button6.59:1AA
Secondary button8.13:1AAA
Muted text7.51:1AAA
Accent8.13:1AAA
Destructive4.36:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.005 60.218);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.963 0.005 60.219);
  --muted-foreground: oklch(0.486 0.019 59.743);
  --popover: oklch(0.985 0.005 60.218);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.985 0.005 60.218);
  --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.414 0.088 54.216);
  --primary-foreground: oklch(0.9 0.042 59.633);
  --secondary: oklch(0.939 0.002 60.253);
  --secondary-foreground: oklch(0.439 0.01 59.968);
  --accent: oklch(0.939 0.002 60.253);
  --accent-foreground: oklch(0.439 0.01 59.968);
  --destructive: oklch(0.591 0.216 33.033);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.414 0.088 54.216);
  --chart-1: oklch(0.414 0.088 54.216);
  --chart-2: oklch(0.939 0.002 60.253);
  --chart-3: oklch(0.939 0.002 60.253);
  --chart-4: oklch(0.962 0.001 60.265);
  --chart-5: oklch(0.416 0.091 53.725);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.148 0.013 63.646);
  --foreground: oklch(0.978 0.003 60.246);
  --muted: oklch(0.159 0.007 59.63);
  --muted-foreground: oklch(0.711 0.017 59.951);
  --popover: oklch(0.148 0.013 63.646);
  --popover-foreground: oklch(0.978 0.003 60.246);
  --card: oklch(0.148 0.013 63.646);
  --card-foreground: oklch(0.978 0.003 60.246);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.414 0.088 54.216);
  --primary-foreground: oklch(0.9 0.042 59.633);
  --secondary: oklch(0.292 0.009 59.863);
  --secondary-foreground: oklch(0.823 0.009 60.129);
  --accent: oklch(0.292 0.009 59.863);
  --accent-foreground: oklch(0.823 0.009 60.129);
  --destructive: oklch(0.601 0.22 33.005);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.414 0.088 54.216);
  --chart-1: oklch(0.414 0.088 54.216);
  --chart-2: oklch(0.292 0.009 59.863);
  --chart-3: oklch(0.292 0.009 59.863);
  --chart-4: oklch(0.323 0.01 59.847);
  --chart-5: oklch(0.416 0.091 53.725);
}