Annual for shadcn/ui

Annual is a shadcn/ui theme built around a muted light orange primary color (#d2beb6) with muted light orange accents (#ded3ce). The light mode uses a neutral background (#fefcfb). Dark mode keeps the muted light orange primary (#d2beb6) on a neutral background (#070404).

Color palette

TokenLightDark
Background
#fefcfbsnow
#070404black
Foreground
#0e0502black
#fdfcfcsnow
Card
#fefcfbsnow
#070404black
Card foreground
#0e0502black
#fdfcfcsnow
Popover
#fefcfbsnow
#070404black
Popover foreground
#0e0502black
#fdfcfcsnow
Primary
#d2beb6silver
#d2beb6silver
Primary foreground
#362721darkslategray
#362721darkslategray
Secondary
#ebe7e6linen
#342823darkslategray
Secondary foreground
#584b46darkolivegreen
#d0bfb9silver
Muted
#dcd7d5gainsboro
#2a2523darkslategray
Muted foreground
#564c48darkslategray
#b7ada9darkgray
Accent
#ded3celightgrey
#52382edarkolivegreen
Accent foreground
#493832darkslategray
#e3d4celightgrey
Destructive
#d5340bfirebrick
#f33f12orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d2beb6silver
#d2beb6silver

Contrast

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

Light mode
Text on background19.69:1AAA
Text on card19.69:1AAA
Primary button8.04:1AAA
Secondary button6.80:1AA
Muted text5.84:1AA
Accent7.54:1AAA
Destructive4.85:1AA
Dark mode
Text on background19.92:1AAA
Text on card19.92:1AAA
Primary button8.04:1AAA
Secondary button8.06:1AAA
Muted text6.91:1AA
Accent7.43:1AAA
Destructive3.81: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.992 0.002 43.109);
  --foreground: oklch(0.129 0.022 54.268);
  --muted: oklch(0.883 0.006 43.068);
  --muted-foreground: oklch(0.425 0.015 42.847);
  --popover: oklch(0.992 0.002 43.109);
  --popover-foreground: oklch(0.129 0.022 54.268);
  --card: oklch(0.992 0.002 43.109);
  --card-foreground: oklch(0.129 0.022 54.268);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.817 0.026 42.877);
  --primary-foreground: oklch(0.288 0.025 42.575);
  --secondary: oklch(0.93 0.004 43.087);
  --secondary-foreground: oklch(0.425 0.019 42.796);
  --accent: oklch(0.874 0.014 42.993);
  --accent-foreground: oklch(0.358 0.026 42.637);
  --destructive: oklch(0.573 0.203 33.559);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.817 0.026 42.877);
  --chart-1: oklch(0.817 0.026 42.877);
  --chart-2: oklch(0.93 0.004 43.087);
  --chart-3: oklch(0.874 0.014 42.993);
  --chart-4: oklch(0.954 0.003 43.102);
  --chart-5: oklch(0.817 0.029 42.851);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.114 0.007 47.027);
  --foreground: oklch(0.992 0.001 43.12);
  --muted: oklch(0.268 0.008 42.881);
  --muted-foreground: oklch(0.755 0.013 42.98);
  --popover: oklch(0.114 0.007 47.027);
  --popover-foreground: oklch(0.992 0.001 43.12);
  --card: oklch(0.114 0.007 47.027);
  --card-foreground: oklch(0.992 0.001 43.12);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.817 0.026 42.877);
  --primary-foreground: oklch(0.288 0.025 42.575);
  --secondary: oklch(0.288 0.021 42.645);
  --secondary-foreground: oklch(0.818 0.021 42.914);
  --accent: oklch(0.367 0.041 42.466);
  --accent-foreground: oklch(0.881 0.019 42.947);
  --destructive: oklch(0.634 0.222 33.751);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.817 0.026 42.877);
  --chart-1: oklch(0.817 0.026 42.877);
  --chart-2: oklch(0.288 0.021 42.645);
  --chart-3: oklch(0.367 0.041 42.466);
  --chart-4: oklch(0.318 0.024 42.631);
  --chart-5: oklch(0.817 0.029 42.851);
}