Unemployment is a shadcn/ui theme built around a vivid light green primary color (#b0f7c7) with vivid light teal accents (#b0f7ea). The light mode uses a neutral background (#fbfefc). Dark mode keeps the vivid light green primary (#b0f7c7) on a neutral background (#030704).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #030704black |
| Foreground | #010402black | #ffffffwhite |
| Card | #fbfefcwhite | #030704black |
| Card foreground | #010402black | #ffffffwhite |
| Popover | #fbfefcwhite | #030704black |
| Popover foreground | #010402black | #ffffffwhite |
| Primary | #b0f7c7powderblue | #b0f7c7powderblue |
| Primary foreground | #010e05black | #010e05black |
| Secondary | #bdf7b0palegreen | #bdf7b0palegreen |
| Secondary foreground | #040e01black | #040e01black |
| Muted | #eef2edwhitesmoke | #0e120dblack |
| Muted foreground | #465044darkslategray | #b1bbafdarkgray |
| Accent | #b0f7eapaleturquoise | #b0f7eapaleturquoise |
| Accent foreground | #010e0cblack | #010e0cblack |
| Destructive | #db5006chocolate | #f9681achocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b0f7c7powderblue | #b0f7c7powderblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.28:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 15.94:1 | AAA |
| Secondary button | 16.02:1 | AAA |
| Muted text | 7.47:1 | AAA |
| Accent | 16.23:1 | AAA |
| Destructive | 4.06:1 | AA Large |
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 15.94:1 | AAA |
| Secondary button | 16.02:1 | AAA |
| Muted text | 9.54:1 | AAA |
| Accent | 16.23:1 | AAA |
| Destructive | 7.03:1 | AAA |
Paste this into your globals.css to use Unemployment in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 156.47);
--foreground: oklch(0.099 0.018 156.071);
--muted: oklch(0.958 0.009 139.983);
--muted-foreground: oklch(0.418 0.023 139.944);
--popover: oklch(0.994 0.005 156.47);
--popover-foreground: oklch(0.099 0.018 156.071);
--card: oklch(0.994 0.005 156.47);
--card-foreground: oklch(0.099 0.018 156.071);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.917 0.097 154.251);
--primary-foreground: oklch(0.146 0.031 155.459);
--secondary: oklch(0.92 0.111 139.909);
--secondary-foreground: oklch(0.147 0.037 137.657);
--accent: oklch(0.926 0.073 182.01);
--accent-foreground: oklch(0.148 0.023 182.612);
--destructive: oklch(0.612 0.186 40.968);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.917 0.097 154.251);
--chart-1: oklch(0.917 0.097 154.251);
--chart-2: oklch(0.92 0.111 139.909);
--chart-3: oklch(0.926 0.073 182.01);
--chart-4: oklch(0.933 0.092 139.916);
--chart-5: oklch(0.919 0.1 154.166);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.012 156.299);
--foreground: oklch(1 0 180);
--muted: oklch(0.175 0.013 139.929);
--muted-foreground: oklch(0.781 0.02 139.968);
--popover: oklch(0.12 0.012 156.299);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.12 0.012 156.299);
--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.917 0.097 154.251);
--primary-foreground: oklch(0.146 0.031 155.459);
--secondary: oklch(0.92 0.111 139.909);
--secondary-foreground: oklch(0.147 0.037 137.657);
--accent: oklch(0.926 0.073 182.01);
--accent-foreground: oklch(0.148 0.023 182.612);
--destructive: oklch(0.691 0.194 43.21);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.917 0.097 154.251);
--chart-1: oklch(0.917 0.097 154.251);
--chart-2: oklch(0.92 0.111 139.909);
--chart-3: oklch(0.926 0.073 182.01);
--chart-4: oklch(0.933 0.092 139.916);
--chart-5: oklch(0.919 0.1 154.166);
}