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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 15.90:1 | AAA |
| Text on card | 15.90:1 | AAA |
| Primary button | 2.86:1 | Fail |
| Secondary button | 13.71:1 | AAA |
| Muted text | 4.08:1 | AA Large |
| Accent | 13.71:1 | AAA |
| Destructive | 5.22:1 | AA |
| Text on background | 16.27:1 | AAA |
| Text on card | 16.27:1 | AAA |
| Primary button | 3.07:1 | AA Large |
| Secondary button | 13.04:1 | AAA |
| Muted text | 7.88:1 | AAA |
| Accent | 13.04:1 | AAA |
| Destructive | 4.49:1 | AA Large |
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);
}