Kennel for shadcn/ui

Kennel is a shadcn/ui theme built around a muted red primary color (#987175) with muted light red accents (#dacdce). The light mode uses a neutral background (#fefbfb). Dark mode keeps the muted red primary (#987175) on a neutral background (#080203).

Color palette

TokenLightDark
Background
#fefbfbsnow
#080203black
Foreground
#100506black
#fdfcfcsnow
Card
#fdf7f7snow
#0c0404black
Card foreground
#0c0404black
#ffffffwhite
Popover
#fdf7f7snow
#0c0404black
Popover foreground
#0c0404black
#ffffffwhite
Primary
#987175gray
#987175gray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#dacdcelightgrey
#2a2223darkslategray
Secondary foreground
#433234darkslategray
#c6b8basilver
Muted
#f2e9e9linen
#160d0eblack
Muted foreground
#4b4949darkslategray
#b6b4b4silver
Accent
#dacdcelightgrey
#2a2223darkslategray
Accent foreground
#433234darkslategray
#c6b8basilver
Destructive
#ad2405firebrick
#f73408orangered
Destructive foreground
#feebe6linen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#987175gray
#987175gray

Contrast

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

Light mode
Text on background19.48:1AAA
Text on card19.13:1AAA
Primary button4.23:1AA Large
Secondary button7.81:1AAA
Muted text7.47:1AAA
Accent7.81:1AAA
Destructive6.00:1AA
Dark mode
Text on background20.07:1AAA
Text on card20.33:1AAA
Primary button4.23:1AA Large
Secondary button8.10:1AAA
Muted text9.24:1AAA
Accent8.10:1AAA
Destructive3.84:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 10.155);
  --foreground: oklch(0.134 0.022 12.176);
  --muted: oklch(0.94 0.01 10.323);
  --muted-foreground: oklch(0.408 0.002 10.188);
  --popover: oklch(0.98 0.007 10.236);
  --popover-foreground: oklch(0.12 0.019 11.511);
  --card: oklch(0.98 0.007 10.236);
  --card-foreground: oklch(0.12 0.019 11.511);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.589 0.05 12.03);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.86 0.015 10.463);
  --secondary-foreground: oklch(0.337 0.026 11.828);
  --accent: oklch(0.86 0.015 10.463);
  --accent-foreground: oklch(0.337 0.026 11.828);
  --destructive: oklch(0.487 0.177 32.889);
  --destructive-foreground: oklch(0.953 0.022 32.68);
  --ring: oklch(0.589 0.05 12.03);
  --chart-1: oklch(0.589 0.05 12.03);
  --chart-2: oklch(0.86 0.015 10.463);
  --chart-3: oklch(0.86 0.015 10.463);
  --chart-4: oklch(0.885 0.012 10.383);
  --chart-5: oklch(0.585 0.06 12.447);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.105 0.017 11.455);
  --foreground: oklch(0.991 0.002 10.124);
  --muted: oklch(0.173 0.016 12.228);
  --muted-foreground: oklch(0.772 0.002 10.127);
  --popover: oklch(0.12 0.02 11.555);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.12 0.02 11.555);
  --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.589 0.05 12.03);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.262 0.013 11.202);
  --secondary-foreground: oklch(0.795 0.016 10.537);
  --accent: oklch(0.262 0.013 11.202);
  --accent-foreground: oklch(0.795 0.016 10.537);
  --destructive: oklch(0.633 0.234 32.496);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.589 0.05 12.03);
  --chart-1: oklch(0.589 0.05 12.03);
  --chart-2: oklch(0.262 0.013 11.202);
  --chart-3: oklch(0.262 0.013 11.202);
  --chart-4: oklch(0.292 0.015 11.259);
  --chart-5: oklch(0.585 0.06 12.447);
}