Patentee for shadcn/ui

Patentee is a shadcn/ui theme built around a muted green primary color (#6cac8a) with muted orange accents (#ac8a6c). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#6cac8a) on a green-tinted background (#050a07).

Color palette

TokenLightDark
Background
#ffffffwhite
#050a07black
Foreground
#010905black
#f9fbfamintcream
Card
#fcfcfcsnow
#060e0ablack
Card foreground
#010502black
#fcfdfcwhite
Popover
#ffffffwhite
#050a07black
Popover foreground
#010905black
#f9fbfamintcream
Primary
#6cac8acadetblue
#6cac8acadetblue
Primary foreground
#000000black
#000000black
Secondary
#8a6caclightslategray
#8a6caclightslategray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e0d4ecgainsboro
#1e132bblack
Muted foreground
#60586adimgray
#9e95a7darkgray
Accent
#ac8a6crosybrown
#ac8a6crosybrown
Accent foreground
#000000black
#000000black
Destructive
#d72404firebrick
#fb4828orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6cac8acadetblue
#6cac8acadetblue

Contrast

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

Light mode
Text on background20.14:1AAA
Text on card20.06:1AAA
Primary button7.93:1AAA
Secondary button4.34:1AA Large
Muted text4.78:1AA
Accent6.62:1AA
Destructive5.07:1AA
Dark mode
Text on background19.15:1AAA
Text on card19.15:1AAA
Primary button7.93:1AAA
Secondary button4.34:1AA Large
Muted text6.19:1AA
Accent6.62:1AA
Destructive3.47:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.126 0.022 163.536);
  --muted: oklch(0.887 0.034 306.638);
  --muted-foreground: oklch(0.475 0.029 306.356);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.126 0.022 163.536);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.1 0.018 163.536);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.692 0.084 159.868);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.586 0.101 304.931);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.658 0.059 62.695);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.565 0.214 31.518);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.692 0.084 159.868);
  --chart-1: oklch(0.692 0.084 159.868);
  --chart-2: oklch(0.586 0.101 304.931);
  --chart-3: oklch(0.658 0.059 62.695);
  --chart-4: oklch(0.615 0.094 305.205);
  --chart-5: oklch(0.699 0.092 159.487);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.013 163.477);
  --foreground: oklch(0.986 0.002 163.395);
  --muted: oklch(0.213 0.048 304.177);
  --muted-foreground: oklch(0.684 0.027 306.632);
  --popover: oklch(0.139 0.013 163.477);
  --popover-foreground: oklch(0.986 0.002 163.395);
  --card: oklch(0.154 0.015 162.118);
  --card-foreground: oklch(0.993 0.001 163.42);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.692 0.084 159.868);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.586 0.101 304.931);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.658 0.059 62.695);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.657 0.22 32.351);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.692 0.084 159.868);
  --chart-1: oklch(0.692 0.084 159.868);
  --chart-2: oklch(0.586 0.101 304.931);
  --chart-3: oklch(0.658 0.059 62.695);
  --chart-4: oklch(0.615 0.094 305.205);
  --chart-5: oklch(0.699 0.092 159.487);
}