Annual is a shadcn/ui theme built around a vivid light violet primary color (#e5d5fb) with near-white accents (#ebeaeb). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the vivid light violet primary (#e5d5fb) on a neutral background (#020204).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #020204black |
| Foreground | #0b0317black | #faf9fbghostwhite |
| Card | #f9f7fdghostwhite | #050307black |
| Card foreground | #090212black | #fcfcfdwhite |
| Popover | #f9f7fdghostwhite | #050307black |
| Popover foreground | #090212black | #fcfcfdwhite |
| Primary | #e5d5fblavender | #e5d5fblavender |
| Primary foreground | #440d91indigo | #440d91indigo |
| Secondary | #ebeaeblavender | #262528darkslategray |
| Secondary foreground | #515152darkslategray | #bfbdc2silver |
| Muted | #ece7f4lavender | #110b18black |
| Muted foreground | #554f5fdimgray | #a7a0b0darkgray |
| Accent | #ebeaeblavender | #262528darkslategray |
| Accent foreground | #515152darkslategray | #bfbdc2silver |
| Destructive | #722509maroon | #df4811orangered |
| Destructive foreground | #f9c6b3peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e5d5fblavender | #e5d5fblavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.60:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 8.90:1 | AAA |
| Secondary button | 6.61:1 | AA |
| Muted text | 6.46:1 | AA |
| Accent | 6.61:1 | AA |
| Destructive | 6.95:1 | AA |
| Text on background | 19.78:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 8.90:1 | AAA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 7.64:1 | AAA |
| Accent | 8.20:1 | AAA |
| Destructive | 4.14:1 | AA Large |
Paste this into your globals.css to use Annual in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 304.992);
--foreground: oklch(0.13 0.049 302.498);
--muted: oklch(0.935 0.019 304.77);
--muted-foreground: oklch(0.439 0.027 304.211);
--popover: oklch(0.98 0.008 304.937);
--popover-foreground: oklch(0.119 0.043 304.488);
--card: oklch(0.98 0.008 304.937);
--card-foreground: oklch(0.119 0.043 304.488);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.898 0.054 304.211);
--primary-foreground: oklch(0.353 0.185 292.17);
--secondary: oklch(0.938 0.001 305.036);
--secondary-foreground: oklch(0.435 0.003 304.957);
--accent: oklch(0.938 0.001 305.036);
--accent-foreground: oklch(0.435 0.003 304.957);
--destructive: oklch(0.378 0.115 38.088);
--destructive-foreground: oklch(0.867 0.064 40.92);
--ring: oklch(0.898 0.054 304.211);
--chart-1: oklch(0.898 0.054 304.211);
--chart-2: oklch(0.938 0.001 305.036);
--chart-3: oklch(0.938 0.001 305.036);
--chart-4: oklch(0.962 0 305.04);
--chart-5: oklch(0.896 0.056 304.18);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.011 305.77);
--foreground: oklch(0.984 0.002 305.019);
--muted: oklch(0.165 0.028 302.594);
--muted-foreground: oklch(0.718 0.023 304.594);
--popover: oklch(0.106 0.014 305.77);
--popover-foreground: oklch(0.992 0.001 305.032);
--card: oklch(0.106 0.014 305.77);
--card-foreground: oklch(0.992 0.001 305.032);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.898 0.054 304.211);
--primary-foreground: oklch(0.353 0.185 292.17);
--secondary: oklch(0.266 0.006 304.739);
--secondary-foreground: oklch(0.801 0.007 304.916);
--accent: oklch(0.266 0.006 304.739);
--accent-foreground: oklch(0.801 0.007 304.916);
--destructive: oklch(0.61 0.196 37.102);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.898 0.054 304.211);
--chart-1: oklch(0.898 0.054 304.211);
--chart-2: oklch(0.266 0.006 304.739);
--chart-3: oklch(0.266 0.006 304.739);
--chart-4: oklch(0.296 0.007 304.724);
--chart-5: oklch(0.896 0.056 304.18);
}