Spreadsheet Green Dingo for shadcn/ui

Spreadsheet Green Dingo is a shadcn/ui theme built around a vivid deep green primary color (#017a15) with vivid deep purple accents (#7a0166). The light mode uses a neutral background (#fbfefc). Dark mode keeps the vivid deep green primary (#017a15) on a neutral background (#020803).

Color palette

TokenLightDark
Background
#fbfefcwhite
#020803black
Foreground
#030d04black
#ffffffwhite
Card
#fbfefcwhite
#020803black
Card foreground
#030d04black
#ffffffwhite
Popover
#fbfefcwhite
#020803black
Popover foreground
#030d04black
#ffffffwhite
Primary
#017a15green
#017a15green
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#7a0166purple
#7a0166purple
Secondary foreground
#ffaef1plum
#ffaef1plum
Muted
#ecdfealavender
#20131eblack
Muted foreground
#454044darkslategray
#bfbabesilver
Accent
#7a0166purple
#7a0166purple
Accent foreground
#ffaef1plum
#ffaef1plum
Destructive
#a4110efirebrick
#ef4643tomato
Destructive foreground
#fde8e8mistyrose
#ffffffwhite
Border
#e1e5e1gainsboro
#212722black
Input
#e1e5e1gainsboro
#212722black
Ring
#017a15green
#017a15green

Contrast

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

Light mode
Text on background19.42:1AAA
Text on card19.42:1AAA
Primary button5.54:1AA
Secondary button6.23:1AA
Muted text7.87:1AAA
Accent6.23:1AA
Destructive6.70:1AA
Dark mode
Text on background20.20:1AAA
Text on card20.20:1AAA
Primary button5.54:1AA
Secondary button6.23:1AA
Muted text9.36:1AAA
Accent6.23:1AA
Destructive3.73:1AA Large

CSS variables

Paste this into your globals.css to use Spreadsheet Green Dingo in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 150.764);
  --foreground: oklch(0.142 0.029 149.484);
  --muted: oklch(0.917 0.021 331.122);
  --muted-foreground: oklch(0.377 0.01 331.185);
  --popover: oklch(0.994 0.004 150.764);
  --popover-foreground: oklch(0.142 0.029 149.484);
  --card: oklch(0.994 0.004 150.764);
  --card-foreground: oklch(0.142 0.029 149.484);
  --border: oklch(0.918 0.007 150.717);
  --input: oklch(0.918 0.007 150.717);
  --primary: oklch(0.502 0.163 143.88);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.394 0.172 337.588);
  --secondary-foreground: oklch(0.848 0.127 332.708);
  --accent: oklch(0.394 0.172 337.588);
  --accent-foreground: oklch(0.848 0.127 332.708);
  --destructive: oklch(0.458 0.179 28.586);
  --destructive-foreground: oklch(0.947 0.023 18.742);
  --ring: oklch(0.502 0.163 143.88);
  --chart-1: oklch(0.502 0.163 143.88);
  --chart-2: oklch(0.394 0.172 337.588);
  --chart-3: oklch(0.394 0.172 337.588);
  --chart-4: oklch(0.429 0.188 337.703);
  --chart-5: oklch(0.508 0.166 143.805);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.022 149.773);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.209 0.03 332.614);
  --muted-foreground: oklch(0.795 0.009 330.966);
  --popover: oklch(0.123 0.022 149.773);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.123 0.022 149.773);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.263 0.012 150.181);
  --input: oklch(0.263 0.012 150.181);
  --primary: oklch(0.502 0.163 143.88);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.394 0.172 337.588);
  --secondary-foreground: oklch(0.848 0.127 332.708);
  --accent: oklch(0.394 0.172 337.588);
  --accent-foreground: oklch(0.848 0.127 332.708);
  --destructive: oklch(0.638 0.206 25.982);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.502 0.163 143.88);
  --chart-1: oklch(0.502 0.163 143.88);
  --chart-2: oklch(0.394 0.172 337.588);
  --chart-3: oklch(0.394 0.172 337.588);
  --chart-4: oklch(0.429 0.188 337.703);
  --chart-5: oklch(0.508 0.166 143.805);
}