Firm Envy’s Love for shadcn/ui

Firm Envy’s Love is a shadcn/ui theme built around a vivid teal primary color (#18d88b) with vivid cyan accents (#18c5d8). The light mode uses a neutral background (#fbfefd). Dark mode keeps the vivid teal primary (#18d88b) on a neutral background (#030706).

Color palette

TokenLightDark
Background
#fbfefdwhite
#030706black
Foreground
#000000black
#ffffffwhite
Card
#fbfefdwhite
#030706black
Card foreground
#000000black
#ffffffwhite
Popover
#fbfefdwhite
#030706black
Popover foreground
#000000black
#ffffffwhite
Primary
#18d88bmediumspringgreen
#18d88bmediumspringgreen
Primary foreground
#042015black
#042015black
Secondary
#18d82blimegreen
#18d82blimegreen
Secondary foreground
#042006black
#042006black
Muted
#d6dbd7gainsboro
#242924darkslategray
Muted foreground
#405442darkslategray
#abbfaddarkgray
Accent
#18c5d8darkturquoise
#18c5d8darkturquoise
Accent foreground
#041d20black
#041d20black
Destructive
#b73206firebrick
#f74408orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eaebeblavender
#252827darkslategray
Input
#eaebeblavender
#252827darkslategray
Ring
#18d88bmediumspringgreen
#18d88bmediumspringgreen

Contrast

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

Light mode
Text on background20.66:1AAA
Text on card20.66:1AAA
Primary button9.16:1AAA
Secondary button8.94:1AAA
Muted text5.84:1AA
Accent8.29:1AAA
Destructive6.04:1AA
Dark mode
Text on background20.23:1AAA
Text on card20.23:1AAA
Primary button9.16:1AAA
Secondary button8.94:1AAA
Muted text7.64:1AAA
Accent8.29:1AAA
Destructive3.62:1AA Large

CSS variables

Paste this into your globals.css to use Firm Envy’s Love in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 170.537);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.887 0.007 148.499);
  --muted-foreground: oklch(0.423 0.037 147.561);
  --popover: oklch(0.994 0.003 170.537);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.003 170.537);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.94 0.002 170.564);
  --input: oklch(0.94 0.002 170.564);
  --primary: oklch(0.778 0.177 158.448);
  --primary-foreground: oklch(0.218 0.042 163.485);
  --secondary: oklch(0.766 0.248 143.406);
  --secondary-foreground: oklch(0.215 0.059 145.286);
  --accent: oklch(0.753 0.126 207.49);
  --accent-foreground: oklch(0.214 0.032 205.138);
  --destructive: oklch(0.518 0.176 35.599);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.778 0.177 158.448);
  --chart-1: oklch(0.778 0.177 158.448);
  --chart-2: oklch(0.766 0.248 143.406);
  --chart-3: oklch(0.753 0.126 207.49);
  --chart-4: oklch(0.803 0.26 143.389);
  --chart-5: oklch(0.787 0.181 158.058);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.012 170.829);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.273 0.01 148.178);
  --muted-foreground: oklch(0.784 0.032 148.127);
  --popover: oklch(0.122 0.012 170.829);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.122 0.012 170.829);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.272 0.005 170.096);
  --input: oklch(0.272 0.005 170.096);
  --primary: oklch(0.778 0.177 158.448);
  --primary-foreground: oklch(0.218 0.042 163.485);
  --secondary: oklch(0.766 0.248 143.406);
  --secondary-foreground: oklch(0.215 0.059 145.286);
  --accent: oklch(0.753 0.126 207.49);
  --accent-foreground: oklch(0.214 0.032 205.138);
  --destructive: oklch(0.646 0.223 35.137);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.778 0.177 158.448);
  --chart-1: oklch(0.778 0.177 158.448);
  --chart-2: oklch(0.766 0.248 143.406);
  --chart-3: oklch(0.753 0.126 207.49);
  --chart-4: oklch(0.803 0.26 143.389);
  --chart-5: oklch(0.787 0.181 158.058);
}