Conference for shadcn/ui

Conference is a shadcn/ui theme built around a vivid green primary color (#19dd03) with vivid purple accents (#c703dd). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the vivid green primary (#19dd03) on a green-tinted background (#040c04).

Color palette

TokenLightDark
Background
#f8fcf8mintcream
#040c04black
Foreground
#051603black
#f5faf5whitesmoke
Card
#f5fbf4whitesmoke
#061005black
Card foreground
#041203black
#f9fcf8mintcream
Popover
#f5fbf4whitesmoke
#061005black
Popover foreground
#041203black
#f9fcf8mintcream
Primary
#19dd03lime
#19dd03lime
Primary foreground
#021400black
#021400black
Secondary
#c703dddarkviolet
#c703dddarkviolet
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#efe6eflavender
#181019black
Muted foreground
#524054darkslategray
#bdabbfsilver
Accent
#c703dddarkviolet
#c703dddarkviolet
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#902209darkred
#f04019orangered
Destructive foreground
#fcd7cfbisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#19dd03lime
#19dd03lime

Contrast

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

Light mode
Text on background18.07:1AAA
Text on card18.23:1AAA
Primary button10.32:1AAA
Secondary button4.67:1AA
Muted text7.74:1AAA
Accent4.67:1AA
Destructive6.52:1AA
Dark mode
Text on background18.78:1AAA
Text on card18.78:1AAA
Primary button10.32:1AAA
Secondary button4.67:1AA
Muted text8.65:1AAA
Accent4.67:1AA
Destructive3.83:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.007 142.598);
  --foreground: oklch(0.18 0.047 140.788);
  --muted: oklch(0.934 0.016 322.696);
  --muted-foreground: oklch(0.398 0.039 323);
  --popover: oklch(0.981 0.011 142.583);
  --popover-foreground: oklch(0.162 0.041 140.575);
  --card: oklch(0.981 0.011 142.583);
  --card-foreground: oklch(0.162 0.041 140.575);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.779 0.262 142.146);
  --primary-foreground: oklch(0.168 0.053 139.996);
  --secondary: oklch(0.597 0.281 322.776);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.597 0.281 322.776);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.431 0.149 33.378);
  --destructive-foreground: oklch(0.909 0.043 32.747);
  --ring: oklch(0.779 0.262 142.146);
  --chart-1: oklch(0.779 0.262 142.146);
  --chart-2: oklch(0.597 0.281 322.776);
  --chart-3: oklch(0.597 0.281 322.776);
  --chart-4: oklch(0.628 0.296 322.755);
  --chart-5: oklch(0.788 0.266 142.17);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.024 141.051);
  --foreground: oklch(0.98 0.008 142.594);
  --muted: oklch(0.187 0.024 323.104);
  --muted-foreground: oklch(0.763 0.033 322.799);
  --popover: oklch(0.157 0.028 141.209);
  --popover-foreground: oklch(0.987 0.005 142.605);
  --card: oklch(0.157 0.028 141.209);
  --card-foreground: oklch(0.987 0.005 142.605);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.779 0.262 142.146);
  --primary-foreground: oklch(0.168 0.053 139.996);
  --secondary: oklch(0.597 0.281 322.776);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.597 0.281 322.776);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.632 0.218 33.439);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.779 0.262 142.146);
  --chart-1: oklch(0.779 0.262 142.146);
  --chart-2: oklch(0.597 0.281 322.776);
  --chart-3: oklch(0.597 0.281 322.776);
  --chart-4: oklch(0.628 0.296 322.755);
  --chart-5: oklch(0.788 0.266 142.17);
}