Paramedic for shadcn/ui

Paramedic is a shadcn/ui theme built around a vivid deep orange primary color (#431a09) with muted light orange accents (#dbd4d2). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep orange primary (#431a09) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#080403black
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#080403black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#080403black
#ffffffwhite
Primary
#431a09maroon
#431a09maroon
Primary foreground
#f0aa8fburlywood
#f0aa8fburlywood
Secondary
#e6e5e5gainsboro
#201e1eblack
Secondary foreground
#4e4c4bdarkslategray
#bab7b5silver
Muted
#eee9e7linen
#181311black
Muted foreground
#5f5753dimgray
#aca3a0darkgray
Accent
#dbd4d2lightgrey
#3f3531darkslategray
Accent foreground
#443a36darkslategray
#d7cfcclightgrey
Destructive
#9b2403firebrick
#fb5e32tomato
Destructive foreground
#fedcd2blanchedalmond
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#431a09maroon
#431a09maroon

Contrast

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

Light mode
Text on background20.40:1AAA
Text on card20.40:1AAA
Primary button7.80:1AAA
Secondary button6.80:1AA
Muted text5.86:1AA
Accent7.54:1AAA
Destructive6.18:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button7.80:1AAA
Secondary button8.31:1AAA
Muted text7.46:1AAA
Accent7.74:1AAA
Destructive6.72:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.113 0.012 49.918);
  --muted: oklch(0.938 0.006 43.068);
  --muted-foreground: oklch(0.463 0.013 42.898);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.113 0.012 49.918);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.113 0.012 49.918);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.276 0.07 40.842);
  --primary-foreground: oklch(0.798 0.091 42.451);
  --secondary: oklch(0.923 0.001 43.122);
  --secondary-foreground: oklch(0.418 0.003 43.059);
  --accent: oklch(0.875 0.008 43.048);
  --accent-foreground: oklch(0.358 0.015 42.807);
  --destructive: oklch(0.453 0.159 34.289);
  --destructive-foreground: oklch(0.919 0.041 35.944);
  --ring: oklch(0.276 0.07 40.842);
  --chart-1: oklch(0.276 0.07 40.842);
  --chart-2: oklch(0.923 0.001 43.122);
  --chart-3: oklch(0.875 0.008 43.048);
  --chart-4: oklch(0.946 0.001 43.125);
  --chart-5: oklch(0.277 0.072 40.701);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.192 0.01 42.758);
  --muted-foreground: oklch(0.722 0.012 42.99);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.276 0.07 40.842);
  --primary-foreground: oklch(0.798 0.091 42.451);
  --secondary: oklch(0.237 0.002 43.045);
  --secondary-foreground: oklch(0.781 0.004 43.084);
  --accent: oklch(0.339 0.015 42.788);
  --accent-foreground: oklch(0.859 0.01 43.028);
  --destructive: oklch(0.681 0.2 35.916);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.276 0.07 40.842);
  --chart-1: oklch(0.276 0.07 40.842);
  --chart-2: oklch(0.237 0.002 43.045);
  --chart-3: oklch(0.339 0.015 42.788);
  --chart-4: oklch(0.269 0.003 43.039);
  --chart-5: oklch(0.277 0.072 40.701);
}