Extremist for shadcn/ui

Extremist is a shadcn/ui theme built around a deep orange primary color (#2d2210) with deep green accents (#2a2d10). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#2d2210) on an orange-tinted background (#0a0805).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a0805black
Foreground
#120c02black
#fdfdfcwhite
Card
#fcfcfcsnow
#0d0b07black
Card foreground
#0e0902black
#ffffffwhite
Popover
#ffffffwhite
#0a0805black
Popover foreground
#120c02black
#fdfdfcwhite
Primary
#2d2210black
#2d2210black
Primary foreground
#dac095burlywood
#dac095burlywood
Secondary
#2d1310black
#2d1310black
Secondary foreground
#da9d95tan
#da9d95tan
Muted
#f4eceblinen
#140c0bblack
Muted foreground
#605857dimgray
#a8a09fdarkgray
Accent
#2a2d10black
#2a2d10black
Accent foreground
#b2bf4adarkkhaki
#b2bf4adarkkhaki
Destructive
#d61a05firebrick
#fa432etomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#2d2210black
#2d2210black

Contrast

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

Light mode
Text on background19.45:1AAA
Text on card19.41:1AAA
Primary button8.85:1AAA
Secondary button7.59:1AAA
Muted text5.96:1AA
Accent7.03:1AAA
Destructive5.24:1AA
Dark mode
Text on background19.63:1AAA
Text on card19.66:1AAA
Primary button8.85:1AAA
Secondary button7.59:1AAA
Muted text7.54:1AAA
Accent7.03:1AAA
Destructive3.56:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.159 0.025 84.092);
  --muted: oklch(0.95 0.009 26.506);
  --muted-foreground: oklch(0.469 0.011 26.606);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.159 0.025 84.092);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.143 0.022 87.475);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.26 0.035 78.224);
  --primary-foreground: oklch(0.819 0.064 79.451);
  --secondary: oklch(0.226 0.043 28.782);
  --secondary-foreground: oklch(0.753 0.074 27.401);
  --accent: oklch(0.287 0.047 114.944);
  --accent-foreground: oklch(0.772 0.142 115.42);
  --destructive: oklch(0.558 0.218 30.371);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.26 0.035 78.224);
  --chart-1: oklch(0.26 0.035 78.224);
  --chart-2: oklch(0.226 0.043 28.782);
  --chart-3: oklch(0.287 0.047 114.944);
  --chart-4: oklch(0.256 0.053 28.994);
  --chart-5: oklch(0.262 0.036 77.996);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.008 83.633);
  --foreground: oklch(0.993 0.001 79.932);
  --muted: oklch(0.164 0.015 27.313);
  --muted-foreground: oklch(0.711 0.01 26.533);
  --popover: oklch(0.136 0.008 83.633);
  --popover-foreground: oklch(0.993 0.001 79.932);
  --card: oklch(0.151 0.009 81.334);
  --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.26 0.035 78.224);
  --primary-foreground: oklch(0.819 0.064 79.451);
  --secondary: oklch(0.226 0.043 28.782);
  --secondary-foreground: oklch(0.753 0.074 27.401);
  --accent: oklch(0.287 0.047 114.944);
  --accent-foreground: oklch(0.772 0.142 115.42);
  --destructive: oklch(0.651 0.222 30.298);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.26 0.035 78.224);
  --chart-1: oklch(0.26 0.035 78.224);
  --chart-2: oklch(0.226 0.043 28.782);
  --chart-3: oklch(0.287 0.047 114.944);
  --chart-4: oklch(0.256 0.053 28.994);
  --chart-5: oklch(0.262 0.036 77.996);
}