Feline for shadcn/ui

Feline is a shadcn/ui theme built around a muted deep orange primary color (#110f0d) with muted deep violet accents (#0f0d11). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the muted deep orange primary (#110f0d) on an orange-tinted background (#0e0a07).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#0e0a07black
Foreground
#080502black
#fdfcfcsnow
Card
#fcfaf8snow
#110d08black
Card foreground
#040301black
#ffffffwhite
Popover
#fdfcfcsnow
#0e0a07black
Popover foreground
#080502black
#fdfcfcsnow
Primary
#110f0dblack
#110f0dblack
Primary foreground
#b3a89edarkgray
#b3a89edarkgray
Secondary
#0d110fblack
#0d110fblack
Secondary foreground
#9eb3a8darkgray
#9eb3a8darkgray
Muted
#dff1e8lavender
#0e2017black
Muted foreground
#3c4942darkslategray
#b6c3bdsilver
Accent
#0f0d11black
#0f0d11black
Accent foreground
#a89eb3darkgray
#a89eb3darkgray
Destructive
#cb0b0bfirebrick
#e90c0cred
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#110f0dblack
#110f0dblack

Contrast

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

Light mode
Text on background19.91:1AAA
Text on card19.78:1AAA
Primary button8.19:1AAA
Secondary button8.56:1AAA
Muted text8.04:1AAA
Accent7.53:1AAA
Destructive5.82:1AA
Dark mode
Text on background19.24:1AAA
Text on card19.37:1AAA
Primary button8.19:1AAA
Secondary button8.56:1AAA
Muted text9.32:1AAA
Accent7.53:1AAA
Destructive4.65:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 67.804);
  --foreground: oklch(0.119 0.014 76.201);
  --muted: oklch(0.942 0.022 164.508);
  --muted-foreground: oklch(0.391 0.02 163.699);
  --popover: oklch(0.993 0.002 67.804);
  --popover-foreground: oklch(0.119 0.014 76.201);
  --card: oklch(0.986 0.003 67.786);
  --card-foreground: oklch(0.095 0.011 76.201);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.171 0.005 67.496);
  --primary-foreground: oklch(0.738 0.019 67.527);
  --secondary: oklch(0.173 0.007 164.048);
  --secondary-foreground: oklch(0.747 0.027 164.145);
  --accent: oklch(0.165 0.008 307.916);
  --accent-foreground: oklch(0.714 0.032 307.965);
  --destructive: oklch(0.533 0.214 28.802);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.171 0.005 67.496);
  --chart-1: oklch(0.171 0.005 67.496);
  --chart-2: oklch(0.173 0.007 164.048);
  --chart-3: oklch(0.165 0.008 307.916);
  --chart-4: oklch(0.21 0.01 163.84);
  --chart-5: oklch(0.172 0.006 67.408);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.149 0.01 69.89);
  --foreground: oklch(0.993 0.001 67.806);
  --muted: oklch(0.224 0.03 160.907);
  --muted-foreground: oklch(0.806 0.017 164.572);
  --popover: oklch(0.149 0.01 69.89);
  --popover-foreground: oklch(0.993 0.001 67.806);
  --card: oklch(0.162 0.012 67.366);
  --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.171 0.005 67.496);
  --primary-foreground: oklch(0.738 0.019 67.527);
  --secondary: oklch(0.173 0.007 164.048);
  --secondary-foreground: oklch(0.747 0.027 164.145);
  --accent: oklch(0.165 0.008 307.916);
  --accent-foreground: oklch(0.714 0.032 307.965);
  --destructive: oklch(0.589 0.237 28.863);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.171 0.005 67.496);
  --chart-1: oklch(0.171 0.005 67.496);
  --chart-2: oklch(0.173 0.007 164.048);
  --chart-3: oklch(0.165 0.008 307.916);
  --chart-4: oklch(0.21 0.01 163.84);
  --chart-5: oklch(0.172 0.006 67.408);
}