Angina for shadcn/ui

Angina is a shadcn/ui theme built around a deep teal primary color (#1a3b3d) with deep yellow accents (#3b3d1a). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the deep teal primary (#1a3b3d) on a neutral background (#010404).

Color palette

TokenLightDark
Background
#fbfdfewhite
#010404black
Foreground
#030c0dblack
#f9fbfbghostwhite
Card
#f8fcfcmintcream
#030707black
Card foreground
#020809black
#fcfdfdwhite
Popover
#f8fcfcmintcream
#030707black
Popover foreground
#020809black
#fcfdfdwhite
Primary
#1a3b3ddarkslategray
#1a3b3ddarkslategray
Primary foreground
#acd9dclightblue
#acd9dclightblue
Secondary
#3d1a3bdarkslategray
#3d1a3bdarkslategray
Secondary foreground
#dcacd9plum
#dcacd9plum
Muted
#ebdbealavender
#241423black
Muted foreground
#5e555ddimgray
#aaa1aadarkgray
Accent
#3b3d1adarkolivegreen
#3b3d1adarkolivegreen
Accent foreground
#d9dcacpalegoldenrod
#d9dcacpalegoldenrod
Destructive
#751c01maroon
#ef3901orangered
Destructive foreground
#ffbda9lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1a3b3ddarkslategray
#1a3b3ddarkslategray

Contrast

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

Light mode
Text on background19.43:1AAA
Text on card19.49:1AAA
Primary button7.92:1AAA
Secondary button7.78:1AAA
Muted text5.41:1AA
Accent7.90:1AAA
Destructive6.83:1AA
Dark mode
Text on background19.84:1AAA
Text on card19.85:1AAA
Primary button7.92:1AAA
Secondary button7.78:1AAA
Muted text6.98:1AA
Accent7.90:1AAA
Destructive4.01:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 202.189);
  --foreground: oklch(0.144 0.018 200.135);
  --muted: oklch(0.909 0.025 327.813);
  --muted-foreground: oklch(0.46 0.017 327.913);
  --popover: oklch(0.988 0.005 202.164);
  --popover-foreground: oklch(0.125 0.015 199.607);
  --card: oklch(0.988 0.005 202.164);
  --card-foreground: oklch(0.125 0.015 199.607);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.328 0.039 201.601);
  --primary-foreground: oklch(0.855 0.047 201.724);
  --secondary: oklch(0.282 0.075 329.89);
  --secondary-foreground: oklch(0.803 0.082 328.497);
  --accent: oklch(0.349 0.054 112.31);
  --accent-foreground: oklch(0.881 0.063 110.786);
  --destructive: oklch(0.372 0.128 35.751);
  --destructive-foreground: oklch(0.853 0.081 37.611);
  --ring: oklch(0.328 0.039 201.601);
  --chart-1: oklch(0.328 0.039 201.601);
  --chart-2: oklch(0.282 0.075 329.89);
  --chart-3: oklch(0.349 0.054 112.31);
  --chart-4: oklch(0.312 0.085 329.962);
  --chart-5: oklch(0.331 0.041 201.634);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.009 200.223);
  --foreground: oklch(0.986 0.002 202.19);
  --muted: oklch(0.22 0.035 329.006);
  --muted-foreground: oklch(0.72 0.016 327.757);
  --popover: oklch(0.123 0.011 200.223);
  --popover-foreground: oklch(0.993 0.001 202.202);
  --card: oklch(0.123 0.011 200.223);
  --card-foreground: oklch(0.993 0.001 202.202);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.328 0.039 201.601);
  --primary-foreground: oklch(0.855 0.047 201.724);
  --secondary: oklch(0.282 0.075 329.89);
  --secondary-foreground: oklch(0.803 0.082 328.497);
  --accent: oklch(0.349 0.054 112.31);
  --accent-foreground: oklch(0.881 0.063 110.786);
  --destructive: oklch(0.621 0.223 33.989);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.328 0.039 201.601);
  --chart-1: oklch(0.328 0.039 201.601);
  --chart-2: oklch(0.282 0.075 329.89);
  --chart-3: oklch(0.349 0.054 112.31);
  --chart-4: oklch(0.312 0.085 329.962);
  --chart-5: oklch(0.331 0.041 201.634);
}