Annual is a shadcn/ui theme built around a neutral gray primary color (#787268) with neutral gray accents (#726878). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#787268) on a neutral background (#070603).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070603black |
| Foreground | #160f04black | #fcfaf8snow |
| Card | #ffffffwhite | #070603black |
| Card foreground | #160f04black | #fcfaf8snow |
| Popover | #ffffffwhite | #070603black |
| Popover foreground | #160f04black | #fcfaf8snow |
| Primary | #787268dimgray | #787268dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #687872dimgray | #687872dimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e0ebe7gainsboro | #141f1bblack |
| Muted foreground | #474747darkslategray | #b8b8b8silver |
| Accent | #726878dimgray | #726878dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #b32a05firebrick | #e53606orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #787268dimgray | #787268dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.01:1 | AAA |
| Text on card | 19.01:1 | AAA |
| Primary button | 4.76:1 | AA |
| Secondary button | 4.64:1 | AA |
| Muted text | 7.61:1 | AAA |
| Accent | 5.27:1 | AA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.48:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 4.76:1 | AA |
| Secondary button | 4.64:1 | AA |
| Muted text | 8.52:1 | AAA |
| Accent | 5.27:1 | AA |
| Destructive | 4.32:1 | AA Large |
Paste this into your globals.css to use Annual in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.173 0.025 81.26);
--muted: oklch(0.931 0.013 171.177);
--muted-foreground: oklch(0.399 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.173 0.025 81.26);
--card: oklch(1 0 180);
--card-foreground: oklch(0.173 0.025 81.26);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.555 0.016 79.849);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.558 0.021 170.474);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.533 0.027 312.644);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.504 0.178 34.07);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.555 0.016 79.849);
--chart-1: oklch(0.555 0.016 79.849);
--chart-2: oklch(0.558 0.021 170.474);
--chart-3: oklch(0.533 0.027 312.644);
--chart-4: oklch(0.585 0.022 170.466);
--chart-5: oklch(0.559 0.023 79.785);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.011 85.475);
--foreground: oklch(0.986 0.003 79.929);
--muted: oklch(0.227 0.018 169.051);
--muted-foreground: oklch(0.781 0 180);
--popover: oklch(0.121 0.011 85.475);
--popover-foreground: oklch(0.986 0.003 79.929);
--card: oklch(0.121 0.011 85.475);
--card-foreground: oklch(0.986 0.003 79.929);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.555 0.016 79.849);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.558 0.021 170.474);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.533 0.027 312.644);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.603 0.216 33.712);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.555 0.016 79.849);
--chart-1: oklch(0.555 0.016 79.849);
--chart-2: oklch(0.558 0.021 170.474);
--chart-3: oklch(0.533 0.027 312.644);
--chart-4: oklch(0.585 0.022 170.466);
--chart-5: oklch(0.559 0.023 79.785);
}