FireFly Pro Bright for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

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

Light mode
Text on background10.06:1AAA
Text on card11.91:1AAA
Primary button9.82:1AAA
Secondary button6.24:1AA
Muted text5.93:1AA
Accent7.91:1AAA
Destructive5.29:1AA
Dark mode
Text on background10.06:1AAA
Text on card11.91:1AAA
Primary button9.82:1AAA
Secondary button6.24:1AA
Muted text5.93:1AA
Accent7.91:1AAA
Destructive5.29:1AA

CSS variables

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);
}