Terminology for shadcn/ui

Terminology is a shadcn/ui theme built around a vivid green primary color (#5adc18) with vivid violet accents (#9b18dc). The light mode uses a neutral background (#f9fdf7). Dark mode keeps the vivid green primary (#5adc18) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f9fdf7mintcream
#000000black
Foreground
#071202black
#fafbf9snow
Card
#f6fbf3whitesmoke
#030303black
Card foreground
#060e02black
#fcfdfcwhite
Popover
#f9fdf7mintcream
#000000black
Popover foreground
#071202black
#fafbf9snow
Primary
#5adc18limegreen
#5adc18limegreen
Primary foreground
#0f2504black
#0f2504black
Secondary
#9b18dcblueviolet
#9b18dcblueviolet
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f3eff6whitesmoke
#0e0910black
Muted foreground
#555256dimgray
#aba9addarkgray
Accent
#9b18dcblueviolet
#9b18dcblueviolet
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#952709saddlebrown
#f35e35tomato
Destructive foreground
#fcdcd4antiquewhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5adc18limegreen
#5adc18limegreen

Contrast

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

Light mode
Text on background18.57:1AAA
Text on card18.72:1AAA
Primary button9.10:1AAA
Secondary button5.88:1AA
Muted text6.76:1AA
Accent5.88:1AA
Destructive6.32:1AA
Dark mode
Text on background20.23:1AAA
Text on card20.28:1AAA
Primary button9.10:1AAA
Secondary button5.88:1AA
Muted text8.45:1AAA
Accent5.88:1AA
Destructive6.46:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.008 134.867);
  --foreground: oklch(0.167 0.04 133.842);
  --muted: oklch(0.957 0.011 314.77);
  --muted-foreground: oklch(0.444 0.006 314.76);
  --popover: oklch(0.989 0.008 134.867);
  --popover-foreground: oklch(0.167 0.04 133.842);
  --card: oklch(0.983 0.012 134.887);
  --card-foreground: oklch(0.149 0.034 132.973);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.791 0.241 138.654);
  --primary-foreground: oklch(0.236 0.062 136.556);
  --secondary: oklch(0.539 0.261 309.415);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.539 0.261 309.415);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.446 0.151 34.738);
  --destructive-foreground: oklch(0.92 0.038 35.944);
  --ring: oklch(0.791 0.241 138.654);
  --chart-1: oklch(0.791 0.241 138.654);
  --chart-2: oklch(0.539 0.261 309.415);
  --chart-3: oklch(0.539 0.261 309.415);
  --chart-4: oklch(0.561 0.268 309.713);
  --chart-5: oklch(0.8 0.246 138.828);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.002 134.837);
  --muted: oklch(0.151 0.018 314.302);
  --muted-foreground: oklch(0.738 0.005 314.791);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.986 0.002 134.837);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.001 134.832);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.791 0.241 138.654);
  --primary-foreground: oklch(0.236 0.062 136.556);
  --secondary: oklch(0.539 0.261 309.415);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.539 0.261 309.415);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.67 0.192 36.03);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.791 0.241 138.654);
  --chart-1: oklch(0.791 0.241 138.654);
  --chart-2: oklch(0.539 0.261 309.415);
  --chart-3: oklch(0.539 0.261 309.415);
  --chart-4: oklch(0.561 0.268 309.713);
  --chart-5: oklch(0.8 0.246 138.828);
}