Excitable for shadcn/ui

Excitable is a shadcn/ui theme built around a vivid light green primary color (#f0ffd1) with vivid light violet accents (#e0d1ff). The light mode uses a neutral background (#fbfcf8). Dark mode keeps the vivid light green primary (#f0ffd1) on a green-tinted background (#0c0f05).

Color palette

TokenLightDark
Background
#fbfcf8snow
#0c0f05black
Foreground
#030401black
#fdfdfcwhite
Card
#f8faf5whitesmoke
#0f1307black
Card foreground
#000000black
#ffffffwhite
Popover
#fbfcf8snow
#0c0f05black
Popover foreground
#030401black
#fdfdfcwhite
Primary
#f0ffd1lightgoldenrodyellow
#f0ffd1lightgoldenrodyellow
Primary foreground
#263800darkgreen
#263800darkgreen
Secondary
#e0d1fflavender
#e0d1fflavender
Secondary foreground
#32019dindigo
#32019dindigo
Muted
#e2e1e5gainsboro
#1b1a1eblack
Muted foreground
#5a516cdimgray
#9c93aedarkgray
Accent
#e0d1fflavender
#e0d1fflavender
Accent foreground
#32019dindigo
#32019dindigo
Destructive
#862d03saddlebrown
#e54c06orangered
Destructive foreground
#fdd2bepeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f0ffd1lightgoldenrodyellow
#f0ffd1lightgoldenrodyellow

Contrast

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

Light mode
Text on background19.88:1AAA
Text on card19.97:1AAA
Primary button12.08:1AAA
Secondary button9.06:1AAA
Muted text5.69:1AA
Accent9.06:1AAA
Destructive6.32:1AA
Dark mode
Text on background18.99:1AAA
Text on card18.84:1AAA
Primary button12.08:1AAA
Secondary button9.06:1AAA
Muted text5.93:1AA
Accent9.06:1AAA
Destructive3.90:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.005 120.844);
  --foreground: oklch(0.103 0.017 120.505);
  --muted: oklch(0.911 0.006 300.655);
  --muted-foreground: oklch(0.454 0.044 299.162);
  --popover: oklch(0.988 0.005 120.844);
  --popover-foreground: oklch(0.103 0.017 120.505);
  --card: oklch(0.982 0.007 120.883);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.977 0.061 121.812);
  --primary-foreground: oklch(0.313 0.08 126.688);
  --secondary: oklch(0.888 0.064 299.581);
  --secondary-foreground: oklch(0.342 0.206 280.546);
  --accent: oklch(0.888 0.064 299.581);
  --accent-foreground: oklch(0.342 0.206 280.546);
  --destructive: oklch(0.425 0.131 40.058);
  --destructive-foreground: oklch(0.896 0.056 46.257);
  --ring: oklch(0.977 0.061 121.812);
  --chart-1: oklch(0.977 0.061 121.812);
  --chart-2: oklch(0.888 0.064 299.581);
  --chart-3: oklch(0.888 0.064 299.581);
  --chart-4: oklch(0.925 0.042 300.02);
  --chart-5: oklch(0.979 0.063 121.842);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.161 0.021 122.019);
  --foreground: oklch(0.994 0.002 120.802);
  --muted: oklch(0.22 0.009 300.103);
  --muted-foreground: oklch(0.681 0.039 299.808);
  --popover: oklch(0.161 0.021 122.019);
  --popover-foreground: oklch(0.994 0.002 120.802);
  --card: oklch(0.177 0.024 122.821);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.977 0.061 121.812);
  --primary-foreground: oklch(0.313 0.08 126.688);
  --secondary: oklch(0.888 0.064 299.581);
  --secondary-foreground: oklch(0.342 0.206 280.546);
  --accent: oklch(0.888 0.064 299.581);
  --accent-foreground: oklch(0.342 0.206 280.546);
  --destructive: oklch(0.624 0.199 38.702);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.977 0.061 121.812);
  --chart-1: oklch(0.977 0.061 121.812);
  --chart-2: oklch(0.888 0.064 299.581);
  --chart-3: oklch(0.888 0.064 299.581);
  --chart-4: oklch(0.925 0.042 300.02);
  --chart-5: oklch(0.979 0.063 121.842);
}