Pate for shadcn/ui

Pate is a shadcn/ui theme built around a vivid red primary color (#fe876c) with vivid cyan accents (#6ce3fe). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid red primary (#fe876c) on a red-tinted background (#0b0605).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0605black
Foreground
#000000black
#fbf9f9snow
Card
#ffffffwhite
#0b0605black
Card foreground
#000000black
#fbf9f9snow
Popover
#ffffffwhite
#0b0605black
Popover foreground
#000000black
#fbf9f9snow
Primary
#fe876csalmon
#fe876csalmon
Primary foreground
#380a00black
#380a00black
Secondary
#6ce3felightskyblue
#6ce3felightskyblue
Secondary foreground
#002e38darkslategray
#002e38darkslategray
Muted
#f0f4f4whitesmoke
#0b0e0fblack
Muted foreground
#3a4345darkslategray
#bac3c5silver
Accent
#6ce3felightskyblue
#6ce3felightskyblue
Accent foreground
#002e38darkslategray
#002e38darkslategray
Destructive
#c93103firebrick
#fb450eorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fe876csalmon
#fe876csalmon

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button7.33:1AAA
Secondary button9.74:1AAA
Muted text9.13:1AAA
Accent9.74:1AAA
Destructive5.34:1AA
Dark mode
Text on background19.23:1AAA
Text on card19.23:1AAA
Primary button7.33:1AAA
Secondary button9.74:1AAA
Muted text10.79:1AAA
Accent9.74:1AAA
Destructive3.51:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.963 0.004 212.664);
  --muted-foreground: oklch(0.377 0.013 212.75);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --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.75 0.151 33.807);
  --primary-foreground: oklch(0.228 0.075 37.322);
  --secondary: oklch(0.858 0.113 214.634);
  --secondary-foreground: oklch(0.277 0.049 217.328);
  --accent: oklch(0.858 0.113 214.634);
  --accent-foreground: oklch(0.277 0.049 217.328);
  --destructive: oklch(0.549 0.194 34.432);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.75 0.151 33.807);
  --chart-1: oklch(0.75 0.151 33.807);
  --chart-2: oklch(0.858 0.113 214.634);
  --chart-3: oklch(0.858 0.113 214.634);
  --chart-4: oklch(0.87 0.104 214.15);
  --chart-5: oklch(0.75 0.156 33.849);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.128 0.011 36.685);
  --foreground: oklch(0.984 0.002 32.661);
  --muted: oklch(0.161 0.006 212.755);
  --muted-foreground: oklch(0.81 0.011 212.678);
  --popover: oklch(0.128 0.011 36.685);
  --popover-foreground: oklch(0.984 0.002 32.661);
  --card: oklch(0.128 0.011 36.685);
  --card-foreground: oklch(0.984 0.002 32.661);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.75 0.151 33.807);
  --primary-foreground: oklch(0.228 0.075 37.322);
  --secondary: oklch(0.858 0.113 214.634);
  --secondary-foreground: oklch(0.277 0.049 217.328);
  --accent: oklch(0.858 0.113 214.634);
  --accent-foreground: oklch(0.277 0.049 217.328);
  --destructive: oklch(0.655 0.225 34.871);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.75 0.151 33.807);
  --chart-1: oklch(0.75 0.151 33.807);
  --chart-2: oklch(0.858 0.113 214.634);
  --chart-3: oklch(0.858 0.113 214.634);
  --chart-4: oklch(0.87 0.104 214.15);
  --chart-5: oklch(0.75 0.156 33.849);
}