Deed for shadcn/ui

Deed is a shadcn/ui theme built around a deep green primary color (#1b502c) with deep orange accents (#502c1b). The light mode uses a neutral background (#fbfdfc). Dark mode keeps the deep green primary (#1b502c) on a green-tinted background (#050b06).

Color palette

TokenLightDark
Background
#fbfdfcwhite
#050b06black
Foreground
#000000black
#fcfdfcwhite
Card
#fbfdfcwhite
#050b06black
Card foreground
#000000black
#fcfdfcwhite
Popover
#fbfdfcwhite
#050b06black
Popover foreground
#000000black
#fcfdfcwhite
Primary
#1b502cdarkslategray
#1b502cdarkslategray
Primary foreground
#b7e6c6powderblue
#b7e6c6powderblue
Secondary
#2c1b50midnightblue
#2c1b50midnightblue
Secondary foreground
#c6b7e6thistle
#c6b7e6thistle
Muted
#e0dfe2gainsboro
#1e1d20black
Muted foreground
#575068dimgray
#9f97afdarkgray
Accent
#502c1bsaddlebrown
#502c1bsaddlebrown
Accent foreground
#e6c6b7wheat
#e6c6b7wheat
Destructive
#c61906firebrick
#f8311borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1b502cdarkslategray
#1b502cdarkslategray

Contrast

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

Light mode
Text on background20.63:1AAA
Text on card20.63:1AAA
Primary button6.80:1AA
Secondary button8.19:1AAA
Muted text5.74:1AA
Accent7.65:1AAA
Destructive5.92:1AA
Dark mode
Text on background19.51:1AAA
Text on card19.51:1AAA
Primary button6.80:1AA
Secondary button8.19:1AAA
Muted text6.00:1AA
Accent7.65:1AAA
Destructive3.85:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 156.502);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.905 0.004 300.69);
  --muted-foreground: oklch(0.447 0.04 299.293);
  --popover: oklch(0.994 0.003 156.502);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.994 0.003 156.502);
  --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.385 0.082 150.99);
  --primary-foreground: oklch(0.884 0.066 154.983);
  --secondary: oklch(0.277 0.092 294.157);
  --secondary-foreground: oklch(0.807 0.068 299.366);
  --accent: oklch(0.335 0.06 45.041);
  --accent-foreground: oklch(0.85 0.042 46.361);
  --destructive: oklch(0.527 0.205 30.415);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.385 0.082 150.99);
  --chart-1: oklch(0.385 0.082 150.99);
  --chart-2: oklch(0.277 0.092 294.157);
  --chart-3: oklch(0.335 0.06 45.041);
  --chart-4: oklch(0.3 0.103 293.91);
  --chart-5: oklch(0.389 0.086 150.675);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.016 156.224);
  --foreground: oklch(0.993 0.001 156.543);
  --muted: oklch(0.233 0.006 300.346);
  --muted-foreground: oklch(0.692 0.036 299.919);
  --popover: oklch(0.139 0.016 156.224);
  --popover-foreground: oklch(0.993 0.001 156.543);
  --card: oklch(0.139 0.016 156.224);
  --card-foreground: oklch(0.993 0.001 156.543);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.385 0.082 150.99);
  --primary-foreground: oklch(0.884 0.066 154.983);
  --secondary: oklch(0.277 0.092 294.157);
  --secondary-foreground: oklch(0.807 0.068 299.366);
  --accent: oklch(0.335 0.06 45.041);
  --accent-foreground: oklch(0.85 0.042 46.361);
  --destructive: oklch(0.634 0.234 30.519);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.385 0.082 150.99);
  --chart-1: oklch(0.385 0.082 150.99);
  --chart-2: oklch(0.277 0.092 294.157);
  --chart-3: oklch(0.335 0.06 45.041);
  --chart-4: oklch(0.3 0.103 293.91);
  --chart-5: oklch(0.389 0.086 150.675);
}