Fresh Greens Rooster for shadcn/ui

Fresh Greens Rooster is a shadcn/ui theme built around a teal primary color (#39ac73) with near-white accents (#eeeeee). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#339966) on a neutral background (#111111).

Color palette

TokenLightDark
Background
#ffffffwhite
#111111black
Foreground
#222222black
#eeeeeewhitesmoke
Card
#ffffffwhite
#111111black
Card foreground
#222222black
#eeeeeewhitesmoke
Popover
#ffffffwhite
#111111black
Popover foreground
#222222black
#eeeeeewhitesmoke
Primary
#39ac73mediumseagreen
#339966seagreen
Primary foreground
#ffffffwhite
#eeeeeewhitesmoke
Secondary
#eeeeeewhitesmoke
#262626darkslategray
Secondary foreground
#222222black
#eeeeeewhitesmoke
Muted
#eeeeeewhitesmoke
#262626darkslategray
Muted foreground
#737373dimgray
#bbbbbbsilver
Accent
#eeeeeewhitesmoke
#262626darkslategray
Accent foreground
#222222black
#eeeeeewhitesmoke
Destructive
#bf4040brown
#bf4040brown
Destructive foreground
#ffffffwhite
#eeeeeewhitesmoke
Border
#eeeeeewhitesmoke
#262626darkslategray
Input
#eeeeeewhitesmoke
#262626darkslategray
Ring
#39ac73mediumseagreen
#339966seagreen

Contrast

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

Light mode
Text on background15.90:1AAA
Text on card15.90:1AAA
Primary button2.86:1Fail
Secondary button13.71:1AAA
Muted text4.08:1AA Large
Accent13.71:1AAA
Destructive5.22:1AA
Dark mode
Text on background16.27:1AAA
Text on card16.27:1AAA
Primary button3.07:1AA Large
Secondary button13.04:1AAA
Muted text7.88:1AAA
Accent13.04:1AAA
Destructive4.49:1AA Large

CSS variables

Paste this into your globals.css to use Fresh Greens Rooster in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.252 0 180);
  --muted: oklch(0.949 0 180);
  --muted-foreground: oklch(0.556 0 180);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.252 0 180);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.252 0 180);
  --border: oklch(0.949 0 180);
  --input: oklch(0.949 0 180);
  --primary: oklch(0.666 0.134 157.459);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.949 0 180);
  --secondary-foreground: oklch(0.252 0 180);
  --accent: oklch(0.949 0 180);
  --accent-foreground: oklch(0.252 0 180);
  --destructive: oklch(0.552 0.164 24.213);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.665 0.134 157.637);
  --chart-1: oklch(0.666 0.134 157.459);
  --chart-2: oklch(0.949 0 180);
  --chart-3: oklch(0.949 0 180);
  --chart-4: oklch(0.972 0 188.13);
  --chart-5: oklch(0.674 0.14 157.026);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.178 0 180);
  --foreground: oklch(0.949 0 180);
  --muted: oklch(0.269 0 180);
  --muted-foreground: oklch(0.792 0 180);
  --popover: oklch(0.178 0 180);
  --popover-foreground: oklch(0.949 0 180);
  --card: oklch(0.178 0 180);
  --card-foreground: oklch(0.949 0 180);
  --border: oklch(0.269 0 180);
  --input: oklch(0.269 0 180);
  --primary: oklch(0.611 0.122 157.749);
  --primary-foreground: oklch(0.949 0 180);
  --secondary: oklch(0.269 0 180);
  --secondary-foreground: oklch(0.949 0 180);
  --accent: oklch(0.269 0 180);
  --accent-foreground: oklch(0.949 0 180);
  --destructive: oklch(0.552 0.164 24.213);
  --destructive-foreground: oklch(0.949 0 180);
  --ring: oklch(0.611 0.122 157.557);
  --chart-1: oklch(0.611 0.122 157.749);
  --chart-2: oklch(0.269 0 180);
  --chart-3: oklch(0.269 0 180);
  --chart-4: oklch(0.3 0 180);
  --chart-5: oklch(0.618 0.127 157.319);
}