Recall for shadcn/ui

Recall is a shadcn/ui theme built around a vivid green primary color (#72ee8f) with vivid teal accents (#72eecd). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#72ee8f) on a green-tinted background (#030c05).

Color palette

TokenLightDark
Background
#ffffffwhite
#030c05black
Foreground
#041007black
#fcfdfcwhite
Card
#fcfcfcsnow
#041007black
Card foreground
#030c05black
#ffffffwhite
Popover
#fcfcfcsnow
#041007black
Popover foreground
#030c05black
#ffffffwhite
Primary
#72ee8flightgreen
#72ee8flightgreen
Primary foreground
#05290dblack
#05290dblack
Secondary
#93ee72lightgreen
#93ee72lightgreen
Secondary foreground
#0f2905black
#0f2905black
Muted
#ecf0ealinen
#10150fblack
Muted foreground
#404f3bdarkslategray
#b5c4b0silver
Accent
#72eecdaquamarine
#72eecdaquamarine
Accent foreground
#05291fblack
#05291fblack
Destructive
#681c03maroon
#e43e07orangered
Destructive foreground
#fcb8a1lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#72ee8flightgreen
#72ee8flightgreen

Contrast

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

Light mode
Text on background19.40:1AAA
Text on card19.40:1AAA
Primary button10.75:1AAA
Secondary button10.95:1AAA
Muted text7.60:1AAA
Accent11.00:1AAA
Destructive7.11:1AAA
Dark mode
Text on background19.42:1AAA
Text on card19.36:1AAA
Primary button10.75:1AAA
Secondary button10.95:1AAA
Muted text10.10:1AAA
Accent11.00:1AAA
Destructive4.21:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.158 0.027 151.651);
  --muted: oklch(0.951 0.01 137.214);
  --muted-foreground: oklch(0.409 0.039 137.441);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.141 0.023 152.37);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.141 0.023 152.37);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.854 0.172 149.172);
  --primary-foreground: oklch(0.247 0.064 147.74);
  --secondary: oklch(0.864 0.181 138.017);
  --secondary-foreground: oklch(0.25 0.068 138.352);
  --accent: oklch(0.868 0.121 173.496);
  --accent-foreground: oklch(0.252 0.044 171.269);
  --destructive: oklch(0.348 0.113 37.024);
  --destructive-foreground: oklch(0.84 0.086 39.214);
  --ring: oklch(0.854 0.172 149.172);
  --chart-1: oklch(0.854 0.172 149.172);
  --chart-2: oklch(0.864 0.181 138.017);
  --chart-3: oklch(0.868 0.121 173.496);
  --chart-4: oklch(0.875 0.166 137.87);
  --chart-5: oklch(0.859 0.177 149.026);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.024 152.307);
  --foreground: oklch(0.993 0.002 153.205);
  --muted: oklch(0.189 0.015 137.389);
  --muted-foreground: oklch(0.804 0.033 137.288);
  --popover: oklch(0.158 0.028 151.57);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.158 0.028 151.57);
  --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.854 0.172 149.172);
  --primary-foreground: oklch(0.247 0.064 147.74);
  --secondary: oklch(0.864 0.181 138.017);
  --secondary-foreground: oklch(0.25 0.068 138.352);
  --accent: oklch(0.868 0.121 173.496);
  --accent-foreground: oklch(0.252 0.044 171.269);
  --destructive: oklch(0.607 0.209 35.251);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.854 0.172 149.172);
  --chart-1: oklch(0.854 0.172 149.172);
  --chart-2: oklch(0.864 0.181 138.017);
  --chart-3: oklch(0.868 0.121 173.496);
  --chart-4: oklch(0.875 0.166 137.87);
  --chart-5: oklch(0.859 0.177 149.026);
}