Feline for shadcn/ui

Feline is a shadcn/ui theme built around a vivid light indigo primary color (#c5c3f9) with vivid light yellow accents (#f6f9c3). The light mode uses a neutral background (#f8f8fb). Dark mode keeps the vivid light indigo primary (#c5c3f9) on an indigo-tinted background (#07070d).

Color palette

TokenLightDark
Background
#f8f8fbghostwhite
#07070dblack
Foreground
#04040cblack
#f9f8fbghostwhite
Card
#f5f5fawhitesmoke
#090911black
Card foreground
#030208black
#fcfcfdwhite
Popover
#f5f5fawhitesmoke
#090911black
Popover foreground
#030208black
#fcfcfdwhite
Primary
#c5c3f9lightsteelblue
#c5c3f9lightsteelblue
Primary foreground
#120c7dmidnightblue
#120c7dmidnightblue
Secondary
#f6f9c3lemonchiffon
#f6f9c3lemonchiffon
Secondary foreground
#1f2003black
#1f2003black
Muted
#e8e9d3antiquewhite
#2b2c16black
Muted foreground
#5c5d4bdarkolivegreen
#b3b4a2darkgray
Accent
#f6f9c3lemonchiffon
#f6f9c3lemonchiffon
Accent foreground
#1f2003black
#1f2003black
Destructive
#a11c08firebrick
#ea290borangered
Destructive foreground
#fde1ddmistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c5c3f9lightsteelblue
#c5c3f9lightsteelblue

Contrast

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

Light mode
Text on background19.33:1AAA
Text on card19.02:1AAA
Primary button9.11:1AAA
Secondary button15.21:1AAA
Muted text5.44:1AA
Accent15.21:1AAA
Destructive6.34:1AA
Dark mode
Text on background18.97:1AAA
Text on card19.35:1AAA
Primary button9.11:1AAA
Secondary button15.21:1AAA
Muted text6.75:1AA
Accent15.21:1AAA
Destructive4.36:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.004 288.63);
  --foreground: oklch(0.111 0.022 285.351);
  --muted: oklch(0.927 0.029 109.282);
  --muted-foreground: oklch(0.473 0.029 109.802);
  --popover: oklch(0.972 0.006 288.588);
  --popover-foreground: oklch(0.097 0.019 285.404);
  --card: oklch(0.972 0.006 288.588);
  --card-foreground: oklch(0.097 0.019 285.404);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.837 0.076 286.933);
  --primary-foreground: oklch(0.285 0.173 269.64);
  --secondary: oklch(0.967 0.07 110.009);
  --secondary-foreground: oklch(0.237 0.047 112.179);
  --accent: oklch(0.967 0.07 110.009);
  --accent-foreground: oklch(0.237 0.047 112.179);
  --destructive: oklch(0.458 0.17 31.414);
  --destructive-foreground: oklch(0.932 0.032 28.142);
  --ring: oklch(0.837 0.076 286.933);
  --chart-1: oklch(0.837 0.076 286.933);
  --chart-2: oklch(0.967 0.07 110.009);
  --chart-3: oklch(0.967 0.07 110.009);
  --chart-4: oklch(0.974 0.054 109.716);
  --chart-5: oklch(0.835 0.078 286.857);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.015 286.88);
  --foreground: oklch(0.981 0.004 288.635);
  --muted: oklch(0.286 0.036 110.969);
  --muted-foreground: oklch(0.764 0.026 109.325);
  --popover: oklch(0.144 0.017 286.446);
  --popover-foreground: oklch(0.991 0.002 288.673);
  --card: oklch(0.144 0.017 286.446);
  --card-foreground: oklch(0.991 0.002 288.673);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.837 0.076 286.933);
  --primary-foreground: oklch(0.285 0.173 269.64);
  --secondary: oklch(0.967 0.07 110.009);
  --secondary-foreground: oklch(0.237 0.047 112.179);
  --accent: oklch(0.967 0.07 110.009);
  --accent-foreground: oklch(0.237 0.047 112.179);
  --destructive: oklch(0.602 0.228 31.214);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.837 0.076 286.933);
  --chart-1: oklch(0.837 0.076 286.933);
  --chart-2: oklch(0.967 0.07 110.009);
  --chart-3: oklch(0.967 0.07 110.009);
  --chart-4: oklch(0.974 0.054 109.716);
  --chart-5: oklch(0.835 0.078 286.857);
}