Agenda for shadcn/ui

Agenda is a shadcn/ui theme built around a muted green primary color (#91a196) with muted orange accents (#a19691). The light mode uses a neutral background (#fbfdfc). Dark mode keeps the muted green primary (#91a196) on a green-tinted background (#050b06).

Color palette

TokenLightDark
Background
#fbfdfcwhite
#050b06black
Foreground
#050f08black
#ffffffwhite
Card
#f8fcf9mintcream
#060e09black
Card foreground
#040b06black
#ffffffwhite
Popover
#fbfdfcwhite
#050b06black
Popover foreground
#050f08black
#ffffffwhite
Primary
#91a196darkseagreen
#91a196darkseagreen
Primary foreground
#000000black
#000000black
Secondary
#9691a1darkgray
#9691a1darkgray
Secondary foreground
#000000black
#000000black
Muted
#e6e3edlavender
#15121cblack
Muted foreground
#535158dimgray
#aaa7aedarkgray
Accent
#a19691rosybrown
#a19691rosybrown
Accent foreground
#000000black
#000000black
Destructive
#d15a15chocolate
#e9671cchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#91a196darkseagreen
#91a196darkseagreen

Contrast

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

Light mode
Text on background19.13:1AAA
Text on card19.19:1AAA
Primary button7.75:1AAA
Secondary button6.85:1AA
Muted text6.18:1AA
Accent7.28:1AAA
Destructive4.06:1AA Large
Dark mode
Text on background19.89:1AAA
Text on card19.50:1AAA
Primary button7.75:1AAA
Secondary button6.85:1AA
Muted text7.78:1AAA
Accent7.28:1AAA
Destructive6.39:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 156.505);
  --foreground: oklch(0.156 0.022 155.111);
  --muted: oklch(0.922 0.013 300.53);
  --muted-foreground: oklch(0.439 0.011 300.346);
  --popover: oklch(0.993 0.003 156.505);
  --popover-foreground: oklch(0.156 0.022 155.111);
  --card: oklch(0.987 0.006 156.45);
  --card-foreground: oklch(0.14 0.019 156.082);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.693 0.024 155.846);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.666 0.025 300.161);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.681 0.015 46.615);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.609 0.167 44.596);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.693 0.024 155.846);
  --chart-1: oklch(0.693 0.024 155.846);
  --chart-2: oklch(0.666 0.025 300.161);
  --chart-3: oklch(0.681 0.015 46.615);
  --chart-4: oklch(0.692 0.022 300.233);
  --chart-5: oklch(0.698 0.034 155.577);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.016 156.224);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.191 0.02 299.038);
  --muted-foreground: oklch(0.734 0.01 300.547);
  --popover: oklch(0.139 0.016 156.224);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.154 0.018 155.36);
  --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.693 0.024 155.846);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.666 0.025 300.161);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.681 0.015 46.615);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.664 0.179 44.999);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.693 0.024 155.846);
  --chart-1: oklch(0.693 0.024 155.846);
  --chart-2: oklch(0.666 0.025 300.161);
  --chart-3: oklch(0.681 0.015 46.615);
  --chart-4: oklch(0.692 0.022 300.233);
  --chart-5: oklch(0.698 0.034 155.577);
}