Terminology for shadcn/ui

Terminology is a shadcn/ui theme built around a muted orange primary color (#b39e94) with muted blue accents (#94a8b3). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted orange primary (#b39e94) on a neutral background (#040201).

Color palette

TokenLightDark
Background
#ffffffwhite
#040201black
Foreground
#0e0602black
#fcf9f8snow
Card
#fcfcfcsnow
#080402black
Card foreground
#090401black
#fdfcfcsnow
Popover
#ffffffwhite
#040201black
Popover foreground
#0e0602black
#fcf9f8snow
Primary
#b39e94rosybrown
#b39e94rosybrown
Primary foreground
#0c0a08black
#0c0a08black
Secondary
#94a8b3darkgray
#94a8b3darkgray
Secondary foreground
#080b0cblack
#080b0cblack
Muted
#e0e7eblavender
#141b1fblack
Muted foreground
#3c4144darkslategray
#bbc1c3silver
Accent
#94a8b3darkgray
#94a8b3darkgray
Accent foreground
#080b0cblack
#080b0cblack
Destructive
#7c2804saddlebrown
#f24e07orangered
Destructive foreground
#fdcab5peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b39e94rosybrown
#b39e94rosybrown

Contrast

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

Light mode
Text on background20.08:1AAA
Text on card19.96:1AAA
Primary button7.74:1AAA
Secondary button8.02:1AAA
Muted text8.28:1AAA
Accent8.02:1AAA
Destructive6.63:1AA
Dark mode
Text on background19.75:1AAA
Text on card19.92:1AAA
Primary button7.74:1AAA
Secondary button8.02:1AAA
Muted text9.53:1AAA
Accent8.02:1AAA
Destructive3.57:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.131 0.022 60.209);
  --muted: oklch(0.924 0.01 228.886);
  --muted-foreground: oklch(0.372 0.008 229.05);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.131 0.022 60.209);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.114 0.019 61.34);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.715 0.029 48.296);
  --primary-foreground: oklch(0.145 0.005 49.873);
  --secondary: oklch(0.72 0.028 229.316);
  --secondary-foreground: oklch(0.146 0.005 228.408);
  --accent: oklch(0.72 0.028 229.316);
  --accent-foreground: oklch(0.146 0.005 228.408);
  --destructive: oklch(0.4 0.124 39.343);
  --destructive-foreground: oklch(0.879 0.065 44.385);
  --ring: oklch(0.715 0.029 48.296);
  --chart-1: oklch(0.715 0.029 48.296);
  --chart-2: oklch(0.72 0.028 229.316);
  --chart-3: oklch(0.72 0.028 229.316);
  --chart-4: oklch(0.744 0.025 229.24);
  --chart-5: oklch(0.715 0.034 48.223);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.091 0.009 56.276);
  --foreground: oklch(0.985 0.003 48.716);
  --muted: oklch(0.218 0.013 229.737);
  --muted-foreground: oklch(0.806 0.007 228.86);
  --popover: oklch(0.091 0.009 56.276);
  --popover-foreground: oklch(0.985 0.003 48.716);
  --card: oklch(0.114 0.012 56.276);
  --card-foreground: oklch(0.992 0.001 48.734);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.715 0.029 48.296);
  --primary-foreground: oklch(0.145 0.005 49.873);
  --secondary: oklch(0.72 0.028 229.316);
  --secondary-foreground: oklch(0.146 0.005 228.408);
  --accent: oklch(0.72 0.028 229.316);
  --accent-foreground: oklch(0.146 0.005 228.408);
  --destructive: oklch(0.648 0.211 37.756);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.715 0.029 48.296);
  --chart-1: oklch(0.715 0.029 48.296);
  --chart-2: oklch(0.72 0.028 229.316);
  --chart-3: oklch(0.72 0.028 229.316);
  --chart-4: oklch(0.744 0.025 229.24);
  --chart-5: oklch(0.715 0.034 48.223);
}