ADeus for shadcn/ui

ADeus is a shadcn/ui theme built around a teal primary color (#4aa87a) with light teal accents (#b2e4cd). The light mode uses a yellow-tinted background (#f5f4f0). Dark mode keeps the teal primary (#4aa87a) on a teal-tinted background (#0c100e).

Color palette

TokenLightDark
Background
#f5f4f0whitesmoke
#0c100eblack
Foreground
#000000black
#f5f4f0whitesmoke
Card
#f1efe8linen
#151c18black
Card foreground
#000000black
#ffffffwhite
Popover
#f5f4f0whitesmoke
#151c18black
Popover foreground
#000000black
#fdfcfcsnow
Primary
#4aa87amediumseagreen
#4aa87amediumseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#784aa8rebeccapurple
#784aa8rebeccapurple
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#b9d2c7silver
#353c39darkslategray
Muted foreground
#000000black
#ffffffwhite
Accent
#b2e4cdpowderblue
#b2e4cdpowderblue
Accent foreground
#000000black
#000000black
Destructive
#932241brown
#932241brown
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e8e5e3gainsboro
#323f39darkslategray
Input
#e8e5e3gainsboro
#323f39darkslategray
Ring
#4aa87amediumseagreen
#4aa87amediumseagreen

Contrast

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

Light mode
Text on background19.08:1AAA
Text on card18.29:1AAA
Primary button2.92:1Fail
Secondary button6.28:1AA
Muted text13.13:1AAA
Accent14.87:1AAA
Destructive8.23:1AAA
Dark mode
Text on background17.39:1AAA
Text on card17.35:1AAA
Primary button2.92:1Fail
Secondary button6.28:1AA
Muted text11.37:1AAA
Accent14.87:1AAA
Destructive8.24:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.967 0.005 95.1);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.843 0.031 166.72);
  --muted-foreground: oklch(0 0 0);
  --popover: oklch(0.967 0.005 95.1);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.952 0.011 95.162);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.924 0.004 58.297);
  --input: oklch(0.924 0.004 58.297);
  --primary: oklch(0.662 0.114 159.609);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.505 0.148 304.068);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.878 0.061 165.216);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.446 0.149 10.157);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.662 0.114 159.609);
  --chart-1: oklch(0.662 0.114 159.609);
  --chart-2: oklch(0.505 0.148 304.068);
  --chart-3: oklch(0.878 0.061 165.216);
  --chart-4: oklch(0.529 0.153 304.127);
  --chart-5: oklch(0.67 0.121 159.152);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.168 0.007 166.567);
  --foreground: oklch(0.967 0.005 95.1);
  --muted: oklch(0.347 0.011 167.492);
  --muted-foreground: oklch(1 0 180);
  --popover: oklch(0.218 0.013 160.063);
  --popover-foreground: oklch(0.993 0.001 58.344);
  --card: oklch(0.218 0.012 163.583);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.353 0.02 165.625);
  --input: oklch(0.354 0.02 165.546);
  --primary: oklch(0.662 0.114 159.609);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.506 0.148 304.198);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.878 0.061 165.216);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.445 0.149 9.853);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.662 0.114 159.609);
  --chart-1: oklch(0.662 0.114 159.609);
  --chart-2: oklch(0.506 0.148 304.198);
  --chart-3: oklch(0.878 0.061 165.216);
  --chart-4: oklch(0.529 0.153 304.257);
  --chart-5: oklch(0.67 0.121 159.152);
}