Feline for shadcn/ui

Feline is a shadcn/ui theme built around a vivid light teal primary color (#9afee9) with vivid light red accents (#fe9aaf). The light mode uses a neutral background (#f6fdfc). Dark mode keeps the vivid light teal primary (#9afee9) on a teal-tinted background (#040b0a).

Color palette

TokenLightDark
Background
#f6fdfcmintcream
#040b0ablack
Foreground
#000000black
#f5faf9mintcream
Card
#f2fdfamintcream
#060f0dblack
Card foreground
#000000black
#f8fbfbghostwhite
Popover
#f6fdfcmintcream
#040b0ablack
Popover foreground
#000000black
#f5faf9mintcream
Primary
#9afee9paleturquoise
#9afee9paleturquoise
Primary foreground
#000000black
#000000black
Secondary
#fe9aaflightpink
#fe9aaflightpink
Secondary foreground
#650116maroon
#650116maroon
Muted
#e2d5d8gainsboro
#2a1d20black
Muted foreground
#594a4ddarkslategray
#b5a6a9darkgray
Accent
#fe9aaflightpink
#fe9aaflightpink
Accent foreground
#650116maroon
#650116maroon
Destructive
#960803darkred
#e60c05red
Destructive foreground
#fecfcdpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#9afee9paleturquoise
#9afee9paleturquoise

Contrast

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

Light mode
Text on background20.44:1AAA
Text on card20.17:1AAA
Primary button17.77:1AAA
Secondary button6.65:1AA
Muted text5.86:1AA
Accent6.65:1AA
Destructive6.44:1AA
Dark mode
Text on background18.84:1AAA
Text on card18.70:1AAA
Primary button17.77:1AAA
Secondary button6.65:1AA
Muted text6.92:1AA
Accent6.65:1AA
Destructive4.75:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.008 181.848);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.884 0.015 2.52);
  --muted-foreground: oklch(0.426 0.02 3.355);
  --popover: oklch(0.99 0.008 181.848);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.985 0.012 181.736);
  --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.93 0.1 178.528);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.794 0.123 6.252);
  --secondary-foreground: oklch(0.322 0.129 19.332);
  --accent: oklch(0.794 0.123 6.252);
  --accent-foreground: oklch(0.322 0.129 19.332);
  --destructive: oklch(0.426 0.17 29.479);
  --destructive-foreground: oklch(0.894 0.054 20.521);
  --ring: oklch(0.93 0.1 178.528);
  --chart-1: oklch(0.93 0.1 178.528);
  --chart-2: oklch(0.794 0.123 6.252);
  --chart-3: oklch(0.794 0.123 6.252);
  --chart-4: oklch(0.823 0.103 5.43);
  --chart-5: oklch(0.933 0.103 178.425);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.013 181.837);
  --foreground: oklch(0.98 0.005 181.92);
  --muted: oklch(0.249 0.021 4.285);
  --muted-foreground: oklch(0.739 0.018 2.714);
  --popover: oklch(0.14 0.013 181.837);
  --popover-foreground: oklch(0.98 0.005 181.92);
  --card: oklch(0.156 0.015 180.141);
  --card-foreground: oklch(0.987 0.003 181.97);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.93 0.1 178.528);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.794 0.123 6.252);
  --secondary-foreground: oklch(0.322 0.129 19.332);
  --accent: oklch(0.794 0.123 6.252);
  --accent-foreground: oklch(0.322 0.129 19.332);
  --destructive: oklch(0.583 0.236 29.382);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.93 0.1 178.528);
  --chart-1: oklch(0.93 0.1 178.528);
  --chart-2: oklch(0.794 0.123 6.252);
  --chart-3: oklch(0.794 0.123 6.252);
  --chart-4: oklch(0.823 0.103 5.43);
  --chart-5: oklch(0.933 0.103 178.425);
}