ignite for shadcn/ui

ignite is a shadcn/ui theme built around a vivid green primary color (#c8ff14) with muted light blue accents (#c4cad9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#c8ff14) on a blue-tinted background (#040810).

Color palette

TokenLightDark
Background
#ffffffwhite
#040810black
Foreground
#02050dblack
#fcfcfdwhite
Card
#fcfcfcsnow
#050a14black
Card foreground
#020409black
#ffffffwhite
Popover
#fcfcfcsnow
#050a14black
Popover foreground
#020409black
#ffffffwhite
Primary
#c8ff14greenyellow
#c8ff14greenyellow
Primary foreground
#141414black
#141414black
Secondary
#dfe1e7gainsboro
#1f2023black
Secondary foreground
#404654darkslategray
#b7b9besilver
Muted
#dee2edlavender
#121621black
Muted foreground
#595b5fdimgray
#a0a2a6darkgray
Accent
#c4cad9lightgrey
#2a2e37darkslategray
Accent foreground
#2a3041darkslategray
#c2c6d1silver
Destructive
#b03411firebrick
#d13d15firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e8eaedlavender
#202228darkslategray
Input
#e8eaedlavender
#202228darkslategray
Ring
#6a6f7cdimgray
#6a6f7cdimgray

Contrast

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

Light mode
Text on background20.38:1AAA
Text on card20.06:1AAA
Primary button15.58:1AAA
Secondary button7.24:1AAA
Muted text5.25:1AA
Accent8.00:1AAA
Destructive6.26:1AA
Dark mode
Text on background19.57:1AAA
Text on card19.83:1AAA
Primary button15.58:1AAA
Secondary button8.25:1AAA
Muted text7.05:1AAA
Accent8.00:1AAA
Destructive4.77:1AA

CSS variables

Paste this into your globals.css to use ignite in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.117 0.021 259.191);
  --muted: oklch(0.913 0.016 268.664);
  --muted-foreground: oklch(0.47 0.007 268.688);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.102 0.018 258.727);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.102 0.018 258.727);
  --border: oklch(0.936 0.005 268.757);
  --input: oklch(0.936 0.005 268.757);
  --primary: oklch(0.928 0.228 124.092);
  --primary-foreground: oklch(0.191 0 180);
  --secondary: oklch(0.911 0.007 268.733);
  --secondary-foreground: oklch(0.394 0.024 268.245);
  --accent: oklch(0.839 0.022 268.586);
  --accent-foreground: oklch(0.312 0.032 267.794);
  --destructive: oklch(0.509 0.166 35.119);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.541 0.021 268.468);
  --chart-1: oklch(0.928 0.228 124.092);
  --chart-2: oklch(0.911 0.007 268.733);
  --chart-3: oklch(0.839 0.022 268.586);
  --chart-4: oklch(0.935 0.005 268.751);
  --chart-5: oklch(0.937 0.231 124.264);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.021 262.635);
  --foreground: oklch(0.991 0.002 268.78);
  --muted: oklch(0.202 0.023 267.646);
  --muted-foreground: oklch(0.712 0.006 268.731);
  --popover: oklch(0.144 0.024 264.307);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.144 0.024 264.307);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.252 0.011 268.425);
  --input: oklch(0.252 0.011 268.425);
  --primary: oklch(0.928 0.228 124.092);
  --primary-foreground: oklch(0.191 0 180);
  --secondary: oklch(0.245 0.005 268.648);
  --secondary-foreground: oklch(0.785 0.007 268.725);
  --accent: oklch(0.3 0.018 268.249);
  --accent-foreground: oklch(0.827 0.016 268.649);
  --destructive: oklch(0.575 0.19 34.983);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.541 0.021 268.468);
  --chart-1: oklch(0.928 0.228 124.092);
  --chart-2: oklch(0.245 0.005 268.648);
  --chart-3: oklch(0.3 0.018 268.249);
  --chart-4: oklch(0.276 0.006 268.638);
  --chart-5: oklch(0.937 0.231 124.264);
}