Incredible for shadcn/ui

Incredible is a shadcn/ui theme built around a muted red primary color (#90746f) with near-white accents (#ebebeb). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the muted red primary (#90746f) on a red-tinted background (#0f0706).

Color palette

TokenLightDark
Background
#fcf9f8snow
#0f0706black
Foreground
#110603black
#ffffffwhite
Card
#fcf9f8snow
#0f0706black
Card foreground
#110603black
#ffffffwhite
Popover
#fcf9f8snow
#0f0706black
Popover foreground
#110603black
#ffffffwhite
Primary
#90746fgray
#90746fgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#ebebeblinen
#343232darkslategray
Secondary foreground
#525252darkslategray
#cdcbcblightgrey
Muted
#e5dcdcgainsboro
#231c1ablack
Muted foreground
#584b4bdarkslategray
#b4a9a7darkgray
Accent
#ebebeblinen
#343232darkslategray
Accent foreground
#525252darkslategray
#cdcbcblightgrey
Destructive
#6b0d0amaroon
#ed413btomato
Destructive foreground
#f8b2b0lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#90746fgray
#90746fgray

Contrast

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

Light mode
Text on background19.02:1AAA
Text on card19.02:1AAA
Primary button4.25:1AA Large
Secondary button6.53:1AA
Muted text6.17:1AA
Accent6.53:1AA
Destructive7.08:1AAA
Dark mode
Text on background19.93:1AAA
Text on card19.93:1AAA
Primary button4.25:1AA Large
Secondary button7.86:1AAA
Muted text7.34:1AAA
Accent7.86:1AAA
Destructive3.88:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.003 31.05);
  --foreground: oklch(0.138 0.025 37.943);
  --muted: oklch(0.901 0.01 17.343);
  --muted-foreground: oklch(0.426 0.018 17.864);
  --popover: oklch(0.983 0.003 31.05);
  --popover-foreground: oklch(0.138 0.025 37.943);
  --card: oklch(0.983 0.003 31.05);
  --card-foreground: oklch(0.138 0.025 37.943);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.585 0.036 31.291);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.939 0 180);
  --secondary-foreground: oklch(0.437 0 180);
  --accent: oklch(0.939 0 180);
  --accent-foreground: oklch(0.437 0 180);
  --destructive: oklch(0.341 0.127 28.49);
  --destructive-foreground: oklch(0.828 0.082 21.198);
  --ring: oklch(0.585 0.036 31.291);
  --chart-1: oklch(0.585 0.036 31.291);
  --chart-2: oklch(0.939 0 180);
  --chart-3: oklch(0.939 0 180);
  --chart-4: oklch(0.962 0 180);
  --chart-5: oklch(0.583 0.045 31.392);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.015 34.547);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.233 0.012 31.243);
  --muted-foreground: oklch(0.743 0.013 31.082);
  --popover: oklch(0.14 0.015 34.547);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.14 0.015 34.547);
  --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.585 0.036 31.291);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.32 0.002 31.058);
  --secondary-foreground: oklch(0.844 0.002 31.048);
  --accent: oklch(0.32 0.002 31.058);
  --accent-foreground: oklch(0.844 0.002 31.048);
  --destructive: oklch(0.629 0.209 27.134);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.585 0.036 31.291);
  --chart-1: oklch(0.585 0.036 31.291);
  --chart-2: oklch(0.32 0.002 31.058);
  --chart-3: oklch(0.32 0.002 31.058);
  --chart-4: oklch(0.35 0.003 31.058);
  --chart-5: oklch(0.583 0.045 31.392);
}