Avaricious is a shadcn/ui theme built around a vivid red primary color (#fc5f77) with vivid teal accents (#5ffce4). The light mode uses a neutral background (#fdf6f7). Dark mode keeps the vivid red primary (#fc5f77) on a neutral background (#040202).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf6f7snow | #040202black |
| Foreground | #130608black | #fdfcfcsnow |
| Card | #fdf6f7snow | #040202black |
| Card foreground | #130608black | #fdfcfcsnow |
| Popover | #fdf6f7snow | #040202black |
| Popover foreground | #130608black | #fdfcfcsnow |
| Primary | #fc5f77salmon | #fc5f77salmon |
| Primary foreground | #280107black | #280107black |
| Secondary | #5ffce4aquamarine | #5ffce4aquamarine |
| Secondary foreground | #012822black | #012822black |
| Muted | #e4eceblavender | #131b1ablack |
| Muted foreground | #545454dimgray | #abababdarkgray |
| Accent | #5ffce4aquamarine | #5ffce4aquamarine |
| Accent foreground | #012822black | #012822black |
| Destructive | #a62a11firebrick | #e94e2ftomato |
| Destructive foreground | #fdefedseashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fc5f77salmon | #fc5f77salmon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 6.40:1 | AA |
| Secondary button | 12.42:1 | AAA |
| Muted text | 6.31:1 | AA |
| Accent | 12.42:1 | AAA |
| Destructive | 6.31:1 | AA |
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 6.40:1 | AA |
| Secondary button | 12.42:1 | AAA |
| Muted text | 7.62:1 | AAA |
| Accent | 12.42:1 | AAA |
| Destructive | 3.74:1 | AA Large |
Paste this into your globals.css to use Avaricious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.008 6.789);
--foreground: oklch(0.146 0.025 9.4);
--muted: oklch(0.937 0.009 186.351);
--muted-foreground: oklch(0.446 0 180);
--popover: oklch(0.98 0.008 6.789);
--popover-foreground: oklch(0.146 0.025 9.4);
--card: oklch(0.98 0.008 6.789);
--card-foreground: oklch(0.146 0.025 9.4);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.695 0.191 14.665);
--primary-foreground: oklch(0.178 0.068 15.899);
--secondary: oklch(0.902 0.135 181.399);
--secondary-foreground: oklch(0.248 0.044 180.279);
--accent: oklch(0.902 0.135 181.399);
--accent-foreground: oklch(0.248 0.044 180.279);
--destructive: oklch(0.481 0.164 32.926);
--destructive-foreground: oklch(0.963 0.015 31.078);
--ring: oklch(0.695 0.191 14.665);
--chart-1: oklch(0.695 0.191 14.665);
--chart-2: oklch(0.902 0.135 181.399);
--chart-3: oklch(0.902 0.135 181.399);
--chart-4: oklch(0.907 0.127 182.005);
--chart-5: oklch(0.695 0.196 14.984);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.01 7.069);
--foreground: oklch(0.991 0.002 6.644);
--muted: oklch(0.214 0.012 185.051);
--muted-foreground: oklch(0.741 0 171.254);
--popover: oklch(0.086 0.01 7.069);
--popover-foreground: oklch(0.991 0.002 6.644);
--card: oklch(0.086 0.01 7.069);
--card-foreground: oklch(0.991 0.002 6.644);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.695 0.191 14.665);
--primary-foreground: oklch(0.178 0.068 15.899);
--secondary: oklch(0.902 0.135 181.399);
--secondary-foreground: oklch(0.248 0.044 180.279);
--accent: oklch(0.902 0.135 181.399);
--accent-foreground: oklch(0.248 0.044 180.279);
--destructive: oklch(0.635 0.196 33.201);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.695 0.191 14.665);
--chart-1: oklch(0.695 0.191 14.665);
--chart-2: oklch(0.902 0.135 181.399);
--chart-3: oklch(0.902 0.135 181.399);
--chart-4: oklch(0.907 0.127 182.005);
--chart-5: oklch(0.695 0.196 14.984);
}