Impala for shadcn/ui

Impala is a shadcn/ui theme built around a red primary color (#e19d89) with cyan accents (#89cde1). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#e19d89) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#ffffffwhite
#030202black
Foreground
#000000black
#fdfcfcsnow
Card
#fcfcfcsnow
#070404black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#070404black
Popover foreground
#000000black
#ffffffwhite
Primary
#e19d89darksalmon
#e19d89darksalmon
Primary foreground
#2d130bblack
#2d130bblack
Secondary
#89cde1skyblue
#89cde1skyblue
Secondary foreground
#0b252dblack
#0b252dblack
Muted
#dae8eclavender
#132125black
Muted foreground
#546469dimgray
#96a6abdarkgray
Accent
#89cde1skyblue
#89cde1skyblue
Accent foreground
#0b252dblack
#0b252dblack
Destructive
#962d0dsaddlebrown
#eb4a19orangered
Destructive foreground
#fce1d9mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e19d89darksalmon
#e19d89darksalmon

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button7.79:1AAA
Secondary button9.00:1AAA
Muted text4.90:1AA
Accent9.00:1AAA
Destructive6.30:1AA
Dark mode
Text on background20.21:1AAA
Text on card20.41:1AAA
Primary button7.79:1AAA
Secondary button9.00:1AAA
Muted text6.56:1AA
Accent9.00:1AAA
Destructive3.79:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.921 0.016 217.853);
  --muted-foreground: oklch(0.491 0.021 218.097);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --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.758 0.087 37.638);
  --primary-foreground: oklch(0.224 0.045 37.699);
  --secondary: oklch(0.809 0.074 218.986);
  --secondary-foreground: oklch(0.248 0.035 220.855);
  --accent: oklch(0.809 0.074 218.986);
  --accent-foreground: oklch(0.248 0.035 220.855);
  --destructive: oklch(0.454 0.146 35.97);
  --destructive-foreground: oklch(0.93 0.031 37.623);
  --ring: oklch(0.758 0.087 37.638);
  --chart-1: oklch(0.758 0.087 37.638);
  --chart-2: oklch(0.809 0.074 218.986);
  --chart-3: oklch(0.809 0.074 218.986);
  --chart-4: oklch(0.828 0.067 218.732);
  --chart-5: oklch(0.758 0.092 37.647);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.09 0.006 41.253);
  --foreground: oklch(0.992 0.001 37.735);
  --muted: oklch(0.236 0.021 218.868);
  --muted-foreground: oklch(0.715 0.019 217.935);
  --popover: oklch(0.113 0.007 41.253);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.113 0.007 41.253);
  --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.758 0.087 37.638);
  --primary-foreground: oklch(0.224 0.045 37.699);
  --secondary: oklch(0.809 0.074 218.986);
  --secondary-foreground: oklch(0.248 0.035 220.855);
  --accent: oklch(0.809 0.074 218.986);
  --accent-foreground: oklch(0.248 0.035 220.855);
  --destructive: oklch(0.632 0.205 35.843);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.758 0.087 37.638);
  --chart-1: oklch(0.758 0.087 37.638);
  --chart-2: oklch(0.809 0.074 218.986);
  --chart-3: oklch(0.809 0.074 218.986);
  --chart-4: oklch(0.828 0.067 218.732);
  --chart-5: oklch(0.758 0.092 37.647);
}