Abandoned for shadcn/ui

Abandoned is a shadcn/ui theme built around a deep orange primary color (#45220c) with muted orange accents (#c9bdb6). The light mode uses a neutral background (#fefcfb). Dark mode keeps the deep orange primary (#45220c) on a neutral background (#040201).

Color palette

TokenLightDark
Background
#fefcfbsnow
#040201black
Foreground
#050201black
#fdfcfcsnow
Card
#fefcfbsnow
#040201black
Card foreground
#050201black
#fdfcfcsnow
Popover
#fefcfbsnow
#040201black
Popover foreground
#050201black
#fdfcfcsnow
Primary
#45220cmaroon
#45220cmaroon
Primary foreground
#edb897burlywood
#edb897burlywood
Secondary
#d1cecclightgrey
#302d2cdarkslategray
Secondary foreground
#393532darkslategray
#c9c6c5silver
Muted
#f3ece8linen
#17110cblack
Muted foreground
#695c54dimgray
#ab9e96darkgray
Accent
#c9bdb6silver
#473e38darkslategray
Accent foreground
#2c2521darkslategray
#ddd8d4gainsboro
Destructive
#d52801firebrick
#fe3001orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#45220cmaroon
#45220cmaroon

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card20.22:1AAA
Primary button7.98:1AAA
Secondary button7.75:1AAA
Muted text5.50:1AA
Accent8.20:1AAA
Destructive5.07:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.19:1AAA
Primary button7.98:1AAA
Secondary button8.01:1AAA
Muted text7.19:1AAA
Accent7.36:1AAA
Destructive3.73:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 54.476);
  --foreground: oklch(0.092 0.015 67.249);
  --muted: oklch(0.947 0.009 54.374);
  --muted-foreground: oklch(0.484 0.021 53.928);
  --popover: oklch(0.992 0.002 54.476);
  --popover-foreground: oklch(0.092 0.015 67.249);
  --card: oklch(0.992 0.002 54.476);
  --card-foreground: oklch(0.092 0.015 67.249);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.296 0.063 49.937);
  --primary-foreground: oklch(0.822 0.076 53.239);
  --secondary: oklch(0.853 0.005 54.424);
  --secondary-foreground: oklch(0.331 0.007 54.215);
  --accent: oklch(0.806 0.017 54.221);
  --accent-foreground: oklch(0.271 0.013 53.844);
  --destructive: oklch(0.564 0.211 32.388);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.296 0.063 49.937);
  --chart-1: oklch(0.296 0.063 49.937);
  --chart-2: oklch(0.853 0.005 54.424);
  --chart-3: oklch(0.806 0.017 54.221);
  --chart-4: oklch(0.877 0.004 54.44);
  --chart-5: oklch(0.298 0.065 49.583);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.092 0.008 61.084);
  --foreground: oklch(0.992 0.001 54.492);
  --muted: oklch(0.183 0.014 53.488);
  --muted-foreground: oklch(0.709 0.019 54.144);
  --popover: oklch(0.092 0.008 61.084);
  --popover-foreground: oklch(0.992 0.001 54.492);
  --card: oklch(0.092 0.008 61.084);
  --card-foreground: oklch(0.992 0.001 54.492);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.296 0.063 49.937);
  --primary-foreground: oklch(0.822 0.076 53.239);
  --secondary: oklch(0.301 0.004 54.317);
  --secondary-foreground: oklch(0.829 0.004 54.441);
  --accent: oklch(0.372 0.016 53.912);
  --accent-foreground: oklch(0.885 0.008 54.383);
  --destructive: oklch(0.642 0.242 32.158);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.296 0.063 49.937);
  --chart-1: oklch(0.296 0.063 49.937);
  --chart-2: oklch(0.301 0.004 54.317);
  --chart-3: oklch(0.372 0.016 53.912);
  --chart-4: oklch(0.331 0.005 54.311);
  --chart-5: oklch(0.298 0.065 49.583);
}