Unusual for shadcn/ui

Unusual is a shadcn/ui theme built around a light red primary color (#e4c2be) with light indigo accents (#c2bee4). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the light red primary (#e4c2be) on a neutral background (#040202).

Color palette

TokenLightDark
Background
#fcf8f8snow
#040202black
Foreground
#000000black
#ffffffwhite
Card
#faf5f4whitesmoke
#070303black
Card foreground
#000000black
#ffffffwhite
Popover
#fcf8f8snow
#040202black
Popover foreground
#000000black
#ffffffwhite
Primary
#e4c2bethistle
#e4c2bethistle
Primary foreground
#4f2621saddlebrown
#4f2621saddlebrown
Secondary
#bee4c2lightgrey
#bee4c2lightgrey
Secondary foreground
#214f26darkslategray
#214f26darkslategray
Muted
#eaf1eawhitesmoke
#0e150fblack
Muted foreground
#424843darkslategray
#b7bdb8silver
Accent
#c2bee4lightsteelblue
#c2bee4lightsteelblue
Accent foreground
#26214fmidnightblue
#26214fmidnightblue
Destructive
#842106maroon
#f6643ctomato
Destructive foreground
#fccdc0peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e4c2bethistle
#e4c2bethistle

Contrast

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

Light mode
Text on background19.94:1AAA
Text on card19.43:1AAA
Primary button7.82:1AAA
Secondary button6.81:1AA
Muted text8.13:1AAA
Accent8.35:1AAA
Destructive6.65:1AA
Dark mode
Text on background20.73:1AAA
Text on card20.47:1AAA
Primary button7.82:1AAA
Secondary button6.81:1AA
Muted text9.67:1AAA
Accent8.35:1AAA
Destructive6.81:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.004 25.023);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.95 0.011 148.466);
  --muted-foreground: oklch(0.393 0.011 148.279);
  --popover: oklch(0.983 0.004 25.023);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.974 0.006 25.041);
  --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.842 0.039 25.436);
  --primary-foreground: oklch(0.323 0.063 27.667);
  --secondary: oklch(0.882 0.061 147.796);
  --secondary-foreground: oklch(0.384 0.085 145.65);
  --accent: oklch(0.818 0.053 289.766);
  --accent-foreground: oklch(0.281 0.082 284.379);
  --destructive: oklch(0.407 0.137 34.825);
  --destructive-foreground: oklch(0.885 0.057 35.965);
  --ring: oklch(0.842 0.039 25.436);
  --chart-1: oklch(0.842 0.039 25.436);
  --chart-2: oklch(0.882 0.061 147.796);
  --chart-3: oklch(0.818 0.053 289.766);
  --chart-4: oklch(0.902 0.05 147.951);
  --chart-5: oklch(0.841 0.042 25.476);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.009 28.185);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.187 0.016 147.588);
  --muted-foreground: oklch(0.792 0.009 148.463);
  --popover: oklch(0.087 0.009 28.185);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.11 0.011 28.185);
  --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.842 0.039 25.436);
  --primary-foreground: oklch(0.323 0.063 27.667);
  --secondary: oklch(0.882 0.061 147.796);
  --secondary-foreground: oklch(0.384 0.085 145.65);
  --accent: oklch(0.818 0.053 289.766);
  --accent-foreground: oklch(0.281 0.082 284.379);
  --destructive: oklch(0.683 0.187 36.173);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.842 0.039 25.436);
  --chart-1: oklch(0.842 0.039 25.436);
  --chart-2: oklch(0.882 0.061 147.796);
  --chart-3: oklch(0.818 0.053 289.766);
  --chart-4: oklch(0.902 0.05 147.951);
  --chart-5: oklch(0.841 0.042 25.476);
}