Inevitable for shadcn/ui

Inevitable is a shadcn/ui theme built around an orange primary color (#d29e6a) with neutral gray accents (#d2d1d0). The light mode uses a neutral background (#fdfaf7). Dark mode keeps the orange primary (#d29e6a) on a neutral background (#030302).

Color palette

TokenLightDark
Background
#fdfaf7snow
#030302black
Foreground
#000000black
#ffffffwhite
Card
#fcf7f2floralwhite
#070503black
Card foreground
#000000black
#ffffffwhite
Popover
#fcf7f2floralwhite
#070503black
Popover foreground
#000000black
#ffffffwhite
Primary
#d29e6adarksalmon
#d29e6adarksalmon
Primary foreground
#080502black
#080502black
Secondary
#d2d1d0lightgrey
#151414black
Secondary foreground
#393837darkslategray
#afadacdarkgray
Muted
#e9e5e2gainsboro
#1d1a16black
Muted foreground
#605e5cdimgray
#a3a19fdarkgray
Accent
#d2d1d0lightgrey
#151414black
Accent foreground
#393837darkslategray
#afadacdarkgray
Destructive
#9c3c0dsaddlebrown
#de5612chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d29e6adarksalmon
#d29e6adarksalmon

Contrast

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

Light mode
Text on background20.18:1AAA
Text on card19.78:1AAA
Primary button8.57:1AAA
Secondary button7.67:1AAA
Muted text5.17:1AA
Accent7.67:1AAA
Destructive6.85:1AA
Dark mode
Text on background20.66:1AAA
Text on card20.33:1AAA
Primary button8.57:1AAA
Secondary button8.20:1AAA
Muted text6.75:1AA
Accent8.20:1AAA
Destructive3.86:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.006 67.759);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.925 0.006 67.754);
  --muted-foreground: oklch(0.484 0.004 67.734);
  --popover: oklch(0.98 0.008 67.726);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.98 0.008 67.726);
  --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.737 0.093 65.548);
  --primary-foreground: oklch(0.119 0.012 75.48);
  --secondary: oklch(0.861 0.002 67.801);
  --secondary-foreground: oklch(0.342 0.002 67.742);
  --accent: oklch(0.861 0.002 67.801);
  --accent-foreground: oklch(0.342 0.002 67.742);
  --destructive: oklch(0.483 0.138 42.076);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.737 0.093 65.548);
  --chart-1: oklch(0.737 0.093 65.548);
  --chart-2: oklch(0.861 0.002 67.801);
  --chart-3: oklch(0.861 0.002 67.801);
  --chart-4: oklch(0.885 0.001 67.805);
  --chart-5: oklch(0.74 0.097 65.35);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.093 0.006 72.764);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.218 0.008 67.375);
  --muted-foreground: oklch(0.709 0.003 67.768);
  --popover: oklch(0.118 0.008 72.764);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.118 0.008 72.764);
  --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.737 0.093 65.548);
  --primary-foreground: oklch(0.119 0.012 75.48);
  --secondary: oklch(0.193 0.001 67.762);
  --secondary-foreground: oklch(0.75 0.003 67.778);
  --accent: oklch(0.193 0.001 67.762);
  --accent-foreground: oklch(0.75 0.003 67.778);
  --destructive: oklch(0.624 0.183 41.463);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.737 0.093 65.548);
  --chart-1: oklch(0.737 0.093 65.548);
  --chart-2: oklch(0.193 0.001 67.762);
  --chart-3: oklch(0.193 0.001 67.762);
  --chart-4: oklch(0.227 0.001 67.755);
  --chart-5: oklch(0.74 0.097 65.35);
}