Unusual for shadcn/ui

Unusual is a shadcn/ui theme built around an orange primary color (#e18160) with muted light orange accents (#dcd7d5). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#e18160) on an orange-tinted background (#0c0503).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0503black
Foreground
#040201black
#f9f7f6whitesmoke
Card
#ffffffwhite
#0c0503black
Card foreground
#040201black
#f9f7f6whitesmoke
Popover
#ffffffwhite
#0c0503black
Popover foreground
#040201black
#f9f7f6whitesmoke
Primary
#e18160salmon
#e18160salmon
Primary foreground
#0d0502black
#0d0502black
Secondary
#dcd7d5gainsboro
#1a1919black
Secondary foreground
#453d3adarkslategray
#b4b2b1darkgray
Muted
#ebdfdbgainsboro
#241814black
Muted foreground
#574b47darkolivegreen
#b8aca8darkgray
Accent
#dcd7d5gainsboro
#1a1919black
Accent foreground
#453d3adarkslategray
#b4b2b1darkgray
Destructive
#7d0b07maroon
#f33630crimson
Destructive foreground
#fbbebclightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e18160salmon
#e18160salmon

Contrast

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

Light mode
Text on background20.70:1AAA
Text on card20.70:1AAA
Primary button7.19:1AAA
Secondary button7.43:1AAA
Muted text6.42:1AA
Accent7.43:1AAA
Destructive6.84:1AA
Dark mode
Text on background18.89:1AAA
Text on card18.89:1AAA
Primary button7.19:1AAA
Secondary button8.29:1AAA
Muted text7.81:1AAA
Accent8.29:1AAA
Destructive3.90:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.089 0.012 47.987);
  --muted: oklch(0.912 0.015 39.41);
  --muted-foreground: oklch(0.424 0.017 39.311);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.089 0.012 47.987);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.089 0.012 47.987);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.7 0.128 39.117);
  --primary-foreground: oklch(0.128 0.019 48.551);
  --secondary: oklch(0.883 0.006 39.463);
  --secondary-foreground: oklch(0.367 0.013 39.329);
  --accent: oklch(0.883 0.006 39.463);
  --accent-foreground: oklch(0.367 0.013 39.329);
  --destructive: oklch(0.377 0.146 29.001);
  --destructive-foreground: oklch(0.855 0.071 20.918);
  --ring: oklch(0.7 0.128 39.117);
  --chart-1: oklch(0.7 0.128 39.117);
  --chart-2: oklch(0.883 0.006 39.463);
  --chart-3: oklch(0.883 0.006 39.463);
  --chart-4: oklch(0.907 0.005 39.473);
  --chart-5: oklch(0.701 0.133 39.091);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.128 0.016 47.078);
  --foreground: oklch(0.977 0.002 39.491);
  --muted: oklch(0.223 0.022 39.216);
  --muted-foreground: oklch(0.753 0.015 39.394);
  --popover: oklch(0.128 0.016 47.078);
  --popover-foreground: oklch(0.977 0.002 39.491);
  --card: oklch(0.128 0.016 47.078);
  --card-foreground: oklch(0.977 0.002 39.491);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.7 0.128 39.117);
  --primary-foreground: oklch(0.128 0.019 48.551);
  --secondary: oklch(0.215 0.001 39.469);
  --secondary-foreground: oklch(0.764 0.003 39.483);
  --accent: oklch(0.215 0.001 39.469);
  --accent-foreground: oklch(0.764 0.003 39.483);
  --destructive: oklch(0.63 0.224 27.923);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.7 0.128 39.117);
  --chart-1: oklch(0.7 0.128 39.117);
  --chart-2: oklch(0.215 0.001 39.469);
  --chart-3: oklch(0.215 0.001 39.469);
  --chart-4: oklch(0.248 0.002 39.465);
  --chart-5: oklch(0.701 0.133 39.091);
}