Annual is a shadcn/ui theme built around a vivid cyan primary color (#52e4fe) with vivid red accents (#fe6c52). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the vivid cyan primary (#52e4fe) on a cyan-tinted background (#05090a).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcfdghostwhite | #05090ablack |
| Foreground | #051215black | #ffffffwhite |
| Card | #f7fcfdghostwhite | #05090ablack |
| Card foreground | #051215black | #ffffffwhite |
| Popover | #f7fcfdghostwhite | #05090ablack |
| Popover foreground | #051215black | #ffffffwhite |
| Primary | #52e4feturquoise | #52e4feturquoise |
| Primary foreground | #001a1eblack | #001a1eblack |
| Secondary | #fe6c52tomato | #fe6c52tomato |
| Secondary foreground | #1e0500black | #1e0500black |
| Muted | #e5dddcgainsboro | #231b1ablack |
| Muted foreground | #4c3c39darkslategray | #c6b6b3silver |
| Accent | #fe6c52tomato | #fe6c52tomato |
| Accent foreground | #1e0500black | #1e0500black |
| Destructive | #cb3401firebrick | #fe6734tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #52e4feturquoise | #52e4feturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.39:1 | AAA |
| Text on card | 18.39:1 | AAA |
| Primary button | 11.94:1 | AAA |
| Secondary button | 6.96:1 | AA |
| Muted text | 7.81:1 | AAA |
| Accent | 6.96:1 | AA |
| Destructive | 5.22:1 | AA |
| Text on background | 19.96:1 | AAA |
| Text on card | 19.96:1 | AAA |
| Primary button | 11.94:1 | AAA |
| Secondary button | 6.96:1 | AA |
| Muted text | 8.61:1 | AAA |
| Accent | 6.96:1 | AA |
| Destructive | 7.18:1 | AAA |
Paste this into your globals.css to use Annual in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 209.452);
--foreground: oklch(0.172 0.021 209.31);
--muted: oklch(0.904 0.009 29.502);
--muted-foreground: oklch(0.371 0.023 29.813);
--popover: oklch(0.988 0.006 209.452);
--popover-foreground: oklch(0.172 0.021 209.31);
--card: oklch(0.988 0.006 209.452);
--card-foreground: oklch(0.172 0.021 209.31);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.853 0.126 211.629);
--primary-foreground: oklch(0.199 0.034 210.27);
--secondary: oklch(0.708 0.183 31.991);
--secondary-foreground: oklch(0.162 0.05 40.003);
--accent: oklch(0.708 0.183 31.991);
--accent-foreground: oklch(0.162 0.05 40.003);
--destructive: oklch(0.555 0.194 34.987);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.853 0.126 211.629);
--chart-1: oklch(0.853 0.126 211.629);
--chart-2: oklch(0.708 0.183 31.991);
--chart-3: oklch(0.708 0.183 31.991);
--chart-4: oklch(0.728 0.167 31.662);
--chart-5: oklch(0.857 0.129 211.768);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.008 207.436);
--foreground: oklch(1 0 180);
--muted: oklch(0.233 0.013 29.759);
--muted-foreground: oklch(0.789 0.019 29.564);
--popover: oklch(0.136 0.008 207.436);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.136 0.008 207.436);
--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.853 0.126 211.629);
--primary-foreground: oklch(0.199 0.034 210.27);
--secondary: oklch(0.708 0.183 31.991);
--secondary-foreground: oklch(0.162 0.05 40.003);
--accent: oklch(0.708 0.183 31.991);
--accent-foreground: oklch(0.162 0.05 40.003);
--destructive: oklch(0.697 0.196 38.031);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.853 0.126 211.629);
--chart-1: oklch(0.853 0.126 211.629);
--chart-2: oklch(0.708 0.183 31.991);
--chart-3: oklch(0.708 0.183 31.991);
--chart-4: oklch(0.728 0.167 31.662);
--chart-5: oklch(0.857 0.129 211.768);
}