Working is a shadcn/ui theme built around a deep green primary color (#395b24) with deep pink accents (#5b2439). The light mode uses a neutral background (#fcfefb). Dark mode keeps the deep green primary (#395b24) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #000000black |
| Foreground | #081203black | #fcfdfcwhite |
| Card | #fcfefbwhite | #000000black |
| Card foreground | #081203black | #fcfdfcwhite |
| Popover | #fcfefbwhite | #000000black |
| Popover foreground | #081203black | #fcfdfcwhite |
| Primary | #395b24darkolivegreen | #395b24darkolivegreen |
| Primary foreground | #d5e9c8lightgrey | #d5e9c8lightgrey |
| Secondary | #24395bdarkslategray | #24395bdarkslategray |
| Secondary foreground | #c8d5e9lightgrey | #c8d5e9lightgrey |
| Muted | #e6e8ealavender | #151719black |
| Muted foreground | #566071dimgray | #8e98a9darkgray |
| Accent | #5b2439darkslategray | #5b2439darkslategray |
| Accent foreground | #e9c8d5thistle | #e9c8d5thistle |
| Destructive | #9d4210saddlebrown | #e86721chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #395b24darkolivegreen | #395b24darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.81:1 | AAA |
| Text on card | 18.81:1 | AAA |
| Primary button | 6.03:1 | AA |
| Secondary button | 7.77:1 | AAA |
| Muted text | 5.15:1 | AA |
| Accent | 7.76:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.59:1 | AAA |
| Primary button | 6.03:1 | AA |
| Secondary button | 7.77:1 | AAA |
| Muted text | 6.19:1 | AA |
| Accent | 7.76:1 | AAA |
| Destructive | 6.37:1 | AA |
Paste this into your globals.css to use Working in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 133.007);
--foreground: oklch(0.167 0.037 132.407);
--muted: oklch(0.929 0.003 259.938);
--muted-foreground: oklch(0.487 0.031 259.893);
--popover: oklch(0.994 0.003 133.007);
--popover-foreground: oklch(0.167 0.037 132.407);
--card: oklch(0.994 0.003 133.007);
--card-foreground: oklch(0.167 0.037 132.407);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.432 0.091 134.994);
--primary-foreground: oklch(0.911 0.049 133.367);
--secondary: oklch(0.346 0.065 259.543);
--secondary-foreground: oklch(0.869 0.031 259.937);
--accent: oklch(0.348 0.084 358.355);
--accent-foreground: oklch(0.865 0.04 352.885);
--destructive: oklch(0.493 0.134 43.934);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.432 0.091 134.994);
--chart-1: oklch(0.432 0.091 134.994);
--chart-2: oklch(0.346 0.065 259.543);
--chart-3: oklch(0.348 0.084 358.355);
--chart-4: oklch(0.372 0.072 259.536);
--chart-5: oklch(0.437 0.096 135.154);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 132.992);
--muted: oklch(0.202 0.005 259.945);
--muted-foreground: oklch(0.678 0.028 259.93);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.993 0.001 132.992);
--card: oklch(0 0 0);
--card-foreground: oklch(0.993 0.001 132.992);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.432 0.091 134.994);
--primary-foreground: oklch(0.911 0.049 133.367);
--secondary: oklch(0.346 0.065 259.543);
--secondary-foreground: oklch(0.869 0.031 259.937);
--accent: oklch(0.348 0.084 358.355);
--accent-foreground: oklch(0.865 0.04 352.885);
--destructive: oklch(0.663 0.177 44.328);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.432 0.091 134.994);
--chart-1: oklch(0.432 0.091 134.994);
--chart-2: oklch(0.346 0.065 259.543);
--chart-3: oklch(0.348 0.084 358.355);
--chart-4: oklch(0.372 0.072 259.536);
--chart-5: oklch(0.437 0.096 135.154);
}