Unemployment is a shadcn/ui theme built around a vivid green primary color (#c5d60a) with vivid indigo accents (#1b0ad6). The light mode uses a neutral background (#fefefb). Dark mode keeps the vivid green primary (#c5d60a) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #000000black |
| Foreground | #151703black | #fdfdfcwhite |
| Card | #fefefbwhite | #000000black |
| Card foreground | #151703black | #fdfdfcwhite |
| Popover | #fefefbwhite | #000000black |
| Popover foreground | #151703black | #fdfdfcwhite |
| Primary | #c5d60agoldenrod | #c5d60agoldenrod |
| Primary foreground | #121301black | #121301black |
| Secondary | #1b0ad6mediumblue | #1b0ad6mediumblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e7e6eflavender | #111019black |
| Muted foreground | #3e3e42darkslategray | #bebdc1silver |
| Accent | #1b0ad6mediumblue | #1b0ad6mediumblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #842e06saddlebrown | #f57032tomato |
| Destructive foreground | #fcd3c0peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c5d60agoldenrod | #c5d60agoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.95:1 | AAA |
| Text on card | 17.95:1 | AAA |
| Primary button | 11.64:1 | AAA |
| Secondary button | 10.17:1 | AAA |
| Muted text | 8.61:1 | AAA |
| Accent | 10.17:1 | AAA |
| Destructive | 6.43:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 11.64:1 | AAA |
| Secondary button | 10.17:1 | AAA |
| Muted text | 10.10:1 | AAA |
| Accent | 10.17:1 | AAA |
| Destructive | 7.26:1 | AAA |
Paste this into your globals.css to use Unemployment in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 110.316);
--foreground: oklch(0.196 0.038 113.441);
--muted: oklch(0.929 0.012 290.013);
--muted-foreground: oklch(0.365 0.007 289.91);
--popover: oklch(0.996 0.004 110.316);
--popover-foreground: oklch(0.196 0.038 113.441);
--card: oklch(0.996 0.004 110.316);
--card-foreground: oklch(0.196 0.038 113.441);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.835 0.189 115.435);
--primary-foreground: oklch(0.181 0.038 113.37);
--secondary: oklch(0.407 0.267 267.452);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.407 0.267 267.452);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.422 0.126 40.495);
--destructive-foreground: oklch(0.896 0.053 46.279);
--ring: oklch(0.835 0.189 115.435);
--chart-1: oklch(0.835 0.189 115.435);
--chart-2: oklch(0.407 0.267 267.452);
--chart-3: oklch(0.407 0.267 267.452);
--chart-4: oklch(0.427 0.281 267.317);
--chart-5: oklch(0.845 0.191 115.526);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 110.291);
--muted: oklch(0.179 0.018 288.305);
--muted-foreground: oklch(0.801 0.005 290.121);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.994 0.002 110.291);
--card: oklch(0 0 0);
--card-foreground: oklch(0.994 0.002 110.291);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.835 0.189 115.435);
--primary-foreground: oklch(0.181 0.038 113.37);
--secondary: oklch(0.407 0.267 267.452);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.407 0.267 267.452);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.697 0.179 42.874);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.835 0.189 115.435);
--chart-1: oklch(0.835 0.189 115.435);
--chart-2: oklch(0.407 0.267 267.452);
--chart-3: oklch(0.407 0.267 267.452);
--chart-4: oklch(0.427 0.281 267.317);
--chart-5: oklch(0.845 0.191 115.526);
}