Payee for shadcn/ui

Payee is a shadcn/ui theme built around a muted deep green primary color (#26452f) with muted deep orange accents (#452f26). The light mode uses a neutral background (#fbfefc). Dark mode keeps the muted deep green primary (#26452f) on a neutral background (#010402).

Color palette

TokenLightDark
Background
#fbfefcwhite
#010402black
Foreground
#000000black
#f8fcf9mintcream
Card
#f7fdf9mintcream
#020804black
Card foreground
#000000black
#fbfdfcwhite
Popover
#f7fdf9mintcream
#020804black
Popover foreground
#000000black
#fbfdfcwhite
Primary
#26452fdarkslategray
#26452fdarkslategray
Primary foreground
#c0ddc8lightgrey
#c0ddc8lightgrey
Secondary
#2f2645darkslategray
#2f2645darkslategray
Secondary foreground
#c8c0ddthistle
#c8c0ddthistle
Muted
#e0dfe2gainsboro
#1e1d20black
Muted foreground
#413f46darkslategray
#bbb9c0silver
Accent
#452f26darkslategray
#452f26darkslategray
Accent foreground
#ddc8c0lightgrey
#ddc8c0lightgrey
Destructive
#a20806darkred
#f83430crimson
Destructive foreground
#feddddmistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#26452fdarkslategray
#26452fdarkslategray

Contrast

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

Light mode
Text on background20.68:1AAA
Text on card20.36:1AAA
Primary button7.29:1AAA
Secondary button8.11:1AAA
Muted text7.78:1AAA
Accent7.77:1AAA
Destructive6.42:1AA
Dark mode
Text on background19.88:1AAA
Text on card19.77:1AAA
Primary button7.29:1AAA
Secondary button8.11:1AAA
Muted text8.65:1AAA
Accent7.77:1AAA
Destructive3.81:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 155.109);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.904 0.005 299.208);
  --muted-foreground: oklch(0.372 0.011 298.775);
  --popover: oklch(0.988 0.009 155.025);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.009 155.025);
  --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.359 0.054 151.999);
  --primary-foreground: oklch(0.87 0.041 154.305);
  --secondary: oklch(0.294 0.056 295.801);
  --secondary-foreground: oklch(0.825 0.04 298.472);
  --accent: oklch(0.328 0.036 42.465);
  --accent-foreground: oklch(0.849 0.025 42.888);
  --destructive: oklch(0.451 0.181 29.06);
  --destructive-foreground: oklch(0.925 0.036 18.987);
  --ring: oklch(0.359 0.054 151.999);
  --chart-1: oklch(0.359 0.054 151.999);
  --chart-2: oklch(0.294 0.056 295.801);
  --chart-3: oklch(0.328 0.036 42.465);
  --chart-4: oklch(0.319 0.063 295.686);
  --chart-5: oklch(0.363 0.059 151.676);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.098 0.016 154.631);
  --foreground: oklch(0.987 0.005 155.089);
  --muted: oklch(0.232 0.007 298.777);
  --muted-foreground: oklch(0.79 0.009 299.099);
  --popover: oklch(0.123 0.02 154.631);
  --popover-foreground: oklch(0.993 0.003 155.141);
  --card: oklch(0.123 0.02 154.631);
  --card-foreground: oklch(0.993 0.003 155.141);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.359 0.054 151.999);
  --primary-foreground: oklch(0.87 0.041 154.305);
  --secondary: oklch(0.294 0.056 295.801);
  --secondary-foreground: oklch(0.825 0.04 298.472);
  --accent: oklch(0.328 0.036 42.465);
  --accent-foreground: oklch(0.849 0.025 42.888);
  --destructive: oklch(0.636 0.23 27.477);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.359 0.054 151.999);
  --chart-1: oklch(0.359 0.054 151.999);
  --chart-2: oklch(0.294 0.056 295.801);
  --chart-3: oklch(0.328 0.036 42.465);
  --chart-4: oklch(0.319 0.063 295.686);
  --chart-5: oklch(0.363 0.059 151.676);
}