Retirement is a shadcn/ui theme built around a cyan primary color (#246c75) with green accents (#6c7524). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the cyan primary (#246c75) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcfdghostwhite | #010304black |
| Foreground | #010809black | #ffffffwhite |
| Card | #f2fbfcaliceblue | #030707black |
| Card foreground | #010405black | #ffffffwhite |
| Popover | #f7fcfdghostwhite | #010304black |
| Popover foreground | #010809black | #ffffffwhite |
| Primary | #246c75teal | #246c75teal |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #75246cpurple | #75246cpurple |
| Secondary foreground | #f3d8f0lavender | #f3d8f0lavender |
| Muted | #f3e7f2whitesmoke | #180c16black |
| Muted foreground | #464445darkslategray | #bbb9bbsilver |
| Accent | #6c7524olivedrab | #6c7524olivedrab |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #6d2603maroon | #f9651achocolate |
| Destructive foreground | #fdc3a5navajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #246c75teal | #246c75teal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.56:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 6.07:1 | AA |
| Secondary button | 7.14:1 | AAA |
| Muted text | 8.08:1 | AAA |
| Accent | 4.99:1 | AA |
| Destructive | 6.97:1 | AA |
| Text on background | 20.62:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 6.07:1 | AA |
| Secondary button | 7.14:1 | AAA |
| Muted text | 9.76:1 | AAA |
| Accent | 4.99:1 | AA |
| Destructive | 6.89:1 | AA |
Paste this into your globals.css to use Retirement in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 206.402);
--foreground: oklch(0.125 0.018 202.682);
--muted: oklch(0.941 0.018 329.356);
--muted-foreground: oklch(0.389 0.003 329.214);
--popover: oklch(0.988 0.006 206.402);
--popover-foreground: oklch(0.125 0.018 202.682);
--card: oklch(0.982 0.01 206.384);
--card-foreground: oklch(0.099 0.014 202.682);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.49 0.071 207.511);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.413 0.143 332.837);
--secondary-foreground: oklch(0.911 0.043 329.673);
--accent: oklch(0.538 0.104 115.711);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.372 0.11 41.966);
--destructive-foreground: oklch(0.861 0.078 47.798);
--ring: oklch(0.49 0.071 207.511);
--chart-1: oklch(0.49 0.071 207.511);
--chart-2: oklch(0.413 0.143 332.837);
--chart-3: oklch(0.538 0.104 115.711);
--chart-4: oklch(0.441 0.154 332.878);
--chart-5: oklch(0.495 0.073 207.691);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.008 204.152);
--foreground: oklch(1 0 180);
--muted: oklch(0.176 0.027 330.816);
--muted-foreground: oklch(0.789 0.002 329.167);
--popover: oklch(0.096 0.008 204.152);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.01 204.152);
--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.49 0.071 207.511);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.413 0.143 332.837);
--secondary-foreground: oklch(0.911 0.043 329.673);
--accent: oklch(0.538 0.104 115.711);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.686 0.197 41.967);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.49 0.071 207.511);
--chart-1: oklch(0.49 0.071 207.511);
--chart-2: oklch(0.413 0.143 332.837);
--chart-3: oklch(0.538 0.104 115.711);
--chart-4: oklch(0.441 0.154 332.878);
--chart-5: oklch(0.495 0.073 207.691);
}