Orange Crush Swordfish for shadcn/ui

Orange Crush Swordfish is a shadcn/ui theme built around a vivid orange primary color (#f27b36) with muted light orange accents (#eae4e1). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#f27b36) on a neutral background (#080402).

Color palette

TokenLightDark
Background
#ffffffwhite
#080402black
Foreground
#140b05black
#faf7f4whitesmoke
Card
#ffffffwhite
#080402black
Card foreground
#140b05black
#faf7f4whitesmoke
Popover
#ffffffwhite
#080402black
Popover foreground
#140b05black
#faf7f4whitesmoke
Primary
#f27b36coral
#f27b36coral
Primary foreground
#000000black
#000000black
Secondary
#eae4e1gainsboro
#2a2828darkslategray
Secondary foreground
#5b493edarkolivegreen
#c4c1c0silver
Muted
#eeedeclinen
#131211black
Muted foreground
#544740darkolivegreen
#bfb2abdarkgray
Accent
#eae4e1gainsboro
#2a2828darkslategray
Accent foreground
#5b493edarkolivegreen
#c4c1c0silver
Destructive
#ad2e0bfirebrick
#f0400forangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#f4f2f1whitesmoke
#272320black
Input
#f4f2f1whitesmoke
#272320black
Ring
#f27b36coral
#f27b36coral

Contrast

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

Light mode
Text on background19.44:1AAA
Text on card19.44:1AAA
Primary button7.65:1AAA
Secondary button6.77:1AA
Muted text7.63:1AAA
Accent6.77:1AA
Destructive6.63:1AA
Dark mode
Text on background19.10:1AAA
Text on card19.10:1AAA
Primary button7.65:1AAA
Secondary button8.15:1AAA
Muted text9.08:1AAA
Accent8.15:1AAA
Destructive3.86:1AA Large

CSS variables

Paste this into your globals.css to use Orange Crush Swordfish in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.16 0.021 54.766);
  --muted: oklch(0.947 0.002 52.558);
  --muted-foreground: oklch(0.41 0.02 51.947);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.16 0.021 54.766);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.16 0.021 54.766);
  --border: oklch(0.962 0.002 52.549);
  --input: oklch(0.962 0.002 52.549);
  --primary: oklch(0.708 0.167 47.4);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.923 0.008 52.459);
  --secondary-foreground: oklch(0.42 0.031 51.656);
  --accent: oklch(0.923 0.008 52.459);
  --accent-foreground: oklch(0.42 0.031 51.656);
  --destructive: oklch(0.496 0.168 34.652);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.708 0.167 47.4);
  --chart-1: oklch(0.708 0.167 47.4);
  --chart-2: oklch(0.923 0.008 52.459);
  --chart-3: oklch(0.923 0.008 52.459);
  --chart-4: oklch(0.946 0.006 52.498);
  --chart-5: oklch(0.711 0.172 47.065);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.115 0.014 61.636);
  --foreground: oklch(0.977 0.005 52.508);
  --muted: oklch(0.181 0.002 52.411);
  --muted-foreground: oklch(0.773 0.017 52.287);
  --popover: oklch(0.115 0.014 61.636);
  --popover-foreground: oklch(0.977 0.005 52.508);
  --card: oklch(0.115 0.014 61.636);
  --card-foreground: oklch(0.977 0.005 52.508);
  --border: oklch(0.259 0.008 52.158);
  --input: oklch(0.259 0.008 52.158);
  --primary: oklch(0.708 0.167 47.4);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.28 0.003 52.445);
  --secondary-foreground: oklch(0.813 0.003 52.526);
  --accent: oklch(0.28 0.003 52.445);
  --accent-foreground: oklch(0.813 0.003 52.526);
  --destructive: oklch(0.63 0.218 34.331);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.708 0.167 47.4);
  --chart-1: oklch(0.708 0.167 47.4);
  --chart-2: oklch(0.28 0.003 52.445);
  --chart-3: oklch(0.28 0.003 52.445);
  --chart-4: oklch(0.311 0.003 52.439);
  --chart-5: oklch(0.711 0.172 47.065);
}