Acidic for shadcn/ui

Acidic is a shadcn/ui theme built around a vivid cyan primary color (#1797cf) with vivid orange accents (#cf4e17). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid cyan primary (#1797cf) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#ffffffwhite
#010304black
Foreground
#000000black
#f5f8f9whitesmoke
Card
#fcfcfcsnow
#020608black
Card foreground
#000000black
#f8fafbghostwhite
Popover
#fcfcfcsnow
#020608black
Popover foreground
#000000black
#f8fafbghostwhite
Primary
#1797cflightseagreen
#1797cflightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#cf4e17chocolate
#cf4e17chocolate
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#f5f1f0whitesmoke
#0f0c0ablack
Muted foreground
#5f544fdimgray
#b0a5a0darkgray
Accent
#cf4e17chocolate
#cf4e17chocolate
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#692807saddlebrown
#f37b3fcoral
Destructive foreground
#f9c4a9navajowhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1797cflightseagreen
#1797cflightseagreen

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button3.28:1AA Large
Secondary button4.42:1AA Large
Muted text6.53:1AA
Accent4.42:1AA Large
Destructive7.07:1AAA
Dark mode
Text on background19.35:1AAA
Text on card19.41:1AAA
Primary button3.28:1AA Large
Secondary button4.42:1AA Large
Muted text8.11:1AAA
Accent4.42:1AA Large
Destructive7.71:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.961 0.004 44.94);
  --muted-foreground: oklch(0.454 0.016 44.652);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --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.64 0.13 234.37);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.59 0.174 40.013);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.59 0.174 40.013);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.367 0.103 42.635);
  --destructive-foreground: oklch(0.86 0.072 47.866);
  --ring: oklch(0.64 0.13 234.37);
  --chart-1: oklch(0.64 0.13 234.37);
  --chart-2: oklch(0.59 0.174 40.013);
  --chart-3: oklch(0.59 0.174 40.013);
  --chart-4: oklch(0.619 0.183 39.935);
  --chart-5: oklch(0.645 0.133 234.904);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.093 0.009 219.744);
  --foreground: oklch(0.978 0.004 225.024);
  --muted: oklch(0.157 0.006 44.621);
  --muted-foreground: oklch(0.73 0.014 44.789);
  --popover: oklch(0.118 0.011 219.744);
  --popover-foreground: oklch(0.985 0.002 225.01);
  --card: oklch(0.118 0.011 219.744);
  --card-foreground: oklch(0.985 0.002 225.01);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.64 0.13 234.37);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.59 0.174 40.013);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.59 0.174 40.013);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.711 0.164 45.109);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.64 0.13 234.37);
  --chart-1: oklch(0.64 0.13 234.37);
  --chart-2: oklch(0.59 0.174 40.013);
  --chart-3: oklch(0.59 0.174 40.013);
  --chart-4: oklch(0.619 0.183 39.935);
  --chart-5: oklch(0.645 0.133 234.904);
}