Annual for shadcn/ui

Annual is a shadcn/ui theme built around a vivid teal primary color (#00ff88) with vivid teal accents (#00f7ff). The light mode uses a neutral background (#f8fbfa). Dark mode keeps the vivid teal primary (#00ff88) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fbfamintcream
#000000black
Foreground
#010403black
#ffffffwhite
Card
#f8fbfamintcream
#000000black
Card foreground
#010403black
#ffffffwhite
Popover
#f8fbfamintcream
#000000black
Popover foreground
#010403black
#ffffffwhite
Primary
#00ff88springgreen
#00ff88springgreen
Primary foreground
#00331bdarkgreen
#00331bdarkgreen
Secondary
#00ff08lime
#00ff08lime
Secondary foreground
#003302darkgreen
#003302darkgreen
Muted
#d0e7d1gainsboro
#182f19black
Muted foreground
#455445darkslategray
#abbaabdarkgray
Accent
#00f7ffaqua
#00f7ffaqua
Accent foreground
#003133darkslategray
#003133darkslategray
Destructive
#cb3310firebrick
#ee4e2btomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#00ff88springgreen
#00ff88springgreen

Contrast

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

Light mode
Text on background19.84:1AAA
Text on card19.84:1AAA
Primary button10.51:1AAA
Secondary button10.38:1AAA
Muted text6.13:1AA
Accent10.54:1AAA
Destructive5.23:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button10.51:1AAA
Secondary button10.38:1AAA
Muted text7.07:1AAA
Accent10.54:1AAA
Destructive3.64:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 166.804);
  --foreground: oklch(0.099 0.015 167.144);
  --muted: oklch(0.904 0.038 146.164);
  --muted-foreground: oklch(0.429 0.031 145.891);
  --popover: oklch(0.987 0.004 166.804);
  --popover-foreground: oklch(0.099 0.015 167.144);
  --card: oklch(0.987 0.004 166.804);
  --card-foreground: oklch(0.099 0.015 167.144);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.876 0.228 152.55);
  --primary-foreground: oklch(0.282 0.068 156.754);
  --secondary: oklch(0.867 0.294 142.589);
  --secondary-foreground: oklch(0.278 0.093 143.067);
  --accent: oklch(0.885 0.151 199.257);
  --accent-foreground: oklch(0.285 0.049 198.462);
  --destructive: oklch(0.554 0.193 33.3);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.876 0.228 152.55);
  --chart-1: oklch(0.876 0.228 152.55);
  --chart-2: oklch(0.867 0.294 142.589);
  --chart-3: oklch(0.885 0.151 199.257);
  --chart-4: oklch(0.867 0.291 142.669);
  --chart-5: oklch(0.886 0.232 152.257);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.28 0.049 144.835);
  --muted-foreground: oklch(0.773 0.027 146.235);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.876 0.228 152.55);
  --primary-foreground: oklch(0.282 0.068 156.754);
  --secondary: oklch(0.867 0.294 142.589);
  --secondary-foreground: oklch(0.278 0.093 143.067);
  --accent: oklch(0.885 0.151 199.257);
  --accent-foreground: oklch(0.285 0.049 198.462);
  --destructive: oklch(0.643 0.202 33.984);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.876 0.228 152.55);
  --chart-1: oklch(0.876 0.228 152.55);
  --chart-2: oklch(0.867 0.294 142.589);
  --chart-3: oklch(0.885 0.151 199.257);
  --chart-4: oklch(0.867 0.291 142.669);
  --chart-5: oklch(0.886 0.232 152.257);
}