FireFly Pro Bright is a shadcn/ui theme built around a vivid green primary color (#a4bd00) with neutral gray accents (#303030). The light mode uses a neutral background (#0a0a0a). Dark mode keeps the vivid green primary (#a4bd00) on a neutral background (#0a0a0a).
| Token | Light | Dark |
|---|---|---|
| Background | #0a0a0ablack | #0a0a0ablack |
| Foreground | #b4b9c5silver | #b4b9c5silver |
| Card | #050505black | #050505black |
| Card foreground | #c2c6d0silver | #c2c6d0silver |
| Popover | #030303black | #030303black |
| Popover foreground | #d1d4dclightgrey | #d1d4dclightgrey |
| Primary | #a4bd00yellowgreen | #a4bd00yellowgreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #4e532ddarkolivegreen | #4e532ddarkolivegreen |
| Secondary foreground | #e1e4cdgainsboro | #e1e4cdgainsboro |
| Muted | #2b2222darkslategray | #2b2222darkslategray |
| Muted foreground | #b09b9brosybrown | #b09b9brosybrown |
| Accent | #303030darkslategray | #303030darkslategray |
| Accent foreground | #c9c9c9silver | #c9c9c9silver |
| Destructive | #d51710firebrick | #d51710firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #171717black | #171717black |
| Input | #1f1f1fblack | #1f1f1fblack |
| Ring | #a4bd00yellowgreen | #a4bd00yellowgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 10.06:1 | AAA |
| Text on card | 11.91:1 | AAA |
| Primary button | 9.82:1 | AAA |
| Secondary button | 6.24:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 5.29:1 | AA |
| Text on background | 10.06:1 | AAA |
| Text on card | 11.91:1 | AAA |
| Primary button | 9.82:1 | AAA |
| Secondary button | 6.24:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 5.29:1 | AA |
Paste this into your globals.css to use FireFly Pro Bright in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.146 0 180);
--foreground: oklch(0.786 0.018 268.614);
--muted: oklch(0.261 0.014 18.092);
--muted-foreground: oklch(0.708 0.025 17.766);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.87 0.011 268.7);
--card: oklch(0.116 0 180);
--card-foreground: oklch(0.828 0.015 268.66);
--border: oklch(0.204 0 180);
--input: oklch(0.238 0 161.565);
--primary: oklch(0.752 0.176 118.893);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.427 0.058 115.119);
--secondary-foreground: oklch(0.911 0.031 113.172);
--accent: oklch(0.311 0 180);
--accent-foreground: oklch(0.837 0 171.254);
--destructive: oklch(0.556 0.219 29.102);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.752 0.176 118.893);
--chart-1: oklch(0.752 0.176 118.893);
--chart-2: oklch(0.427 0.058 115.119);
--chart-3: oklch(0.311 0 180);
--chart-4: oklch(0.462 0.064 115.159);
--chart-5: oklch(0.76 0.179 119.01);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.146 0 180);
--foreground: oklch(0.786 0.018 268.614);
--muted: oklch(0.261 0.014 18.092);
--muted-foreground: oklch(0.708 0.025 17.766);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.87 0.011 268.7);
--card: oklch(0.116 0 180);
--card-foreground: oklch(0.828 0.015 268.66);
--border: oklch(0.204 0 180);
--input: oklch(0.238 0 161.565);
--primary: oklch(0.752 0.176 118.893);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.427 0.058 115.119);
--secondary-foreground: oklch(0.911 0.031 113.172);
--accent: oklch(0.311 0 180);
--accent-foreground: oklch(0.837 0 171.254);
--destructive: oklch(0.556 0.219 29.102);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.752 0.176 118.893);
--chart-1: oklch(0.752 0.176 118.893);
--chart-2: oklch(0.427 0.058 115.119);
--chart-3: oklch(0.311 0 180);
--chart-4: oklch(0.462 0.064 115.159);
--chart-5: oklch(0.76 0.179 119.01);
}