Paperwork is a shadcn/ui theme built around a vivid light green primary color (#d3fbd0) with vivid light green accents (#d0fbe3). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the vivid light green primary (#d3fbd0) on a green-tinted background (#040c04).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #040c04black |
| Foreground | #071406black | #f8fcf8mintcream |
| Card | #fcfdfcwhite | #040c04black |
| Card foreground | #071406black | #f8fcf8mintcream |
| Popover | #fcfdfcwhite | #040c04black |
| Popover foreground | #071406black | #f8fcf8mintcream |
| Primary | #d3fbd0gainsboro | #d3fbd0gainsboro |
| Primary foreground | #072f04black | #072f04black |
| Secondary | #e8fbd0lightgoldenrodyellow | #e8fbd0lightgoldenrodyellow |
| Secondary foreground | #1c2f04black | #1c2f04black |
| Muted | #e1e7dagainsboro | #1f2518black |
| Muted foreground | #52564edarkslategray | #aeb1a9darkgray |
| Accent | #d0fbe3lightcyan | #d0fbe3lightcyan |
| Accent foreground | #042f17black | #042f17black |
| Destructive | #cf4d07chocolate | #e75608orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d3fbd0gainsboro | #d3fbd0gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.55:1 | AAA |
| Text on card | 18.55:1 | AAA |
| Primary button | 13.02:1 | AAA |
| Secondary button | 13.13:1 | AAA |
| Muted text | 5.94:1 | AA |
| Accent | 13.04:1 | AAA |
| Destructive | 4.45:1 | AA Large |
| Text on background | 19.15:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 13.02:1 | AAA |
| Secondary button | 13.13:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 13.04:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Paperwork in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 143.62);
--foreground: oklch(0.172 0.034 142.225);
--muted: oklch(0.92 0.018 126.005);
--muted-foreground: oklch(0.446 0.014 126.156);
--popover: oklch(0.993 0.003 143.62);
--popover-foreground: oklch(0.172 0.034 142.225);
--card: oklch(0.993 0.003 143.62);
--card-foreground: oklch(0.172 0.034 142.225);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.948 0.07 143.236);
--primary-foreground: oklch(0.267 0.082 141.832);
--secondary: oklch(0.963 0.059 126.584);
--secondary-foreground: oklch(0.279 0.07 130.39);
--accent: oklch(0.951 0.055 160.337);
--accent-foreground: oklch(0.269 0.064 153.416);
--destructive: oklch(0.589 0.177 41.413);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.948 0.07 143.236);
--chart-1: oklch(0.948 0.07 143.236);
--chart-2: oklch(0.963 0.059 126.584);
--chart-3: oklch(0.951 0.055 160.337);
--chart-4: oklch(0.974 0.042 126.319);
--chart-5: oklch(0.949 0.073 143.222);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.025 142.037);
--foreground: oklch(0.987 0.006 143.603);
--muted: oklch(0.255 0.025 127.098);
--muted-foreground: oklch(0.757 0.012 125.954);
--popover: oklch(0.14 0.025 142.037);
--popover-foreground: oklch(0.987 0.006 143.603);
--card: oklch(0.14 0.025 142.037);
--card-foreground: oklch(0.987 0.006 143.603);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.948 0.07 143.236);
--primary-foreground: oklch(0.267 0.082 141.832);
--secondary: oklch(0.963 0.059 126.584);
--secondary-foreground: oklch(0.279 0.07 130.39);
--accent: oklch(0.951 0.055 160.337);
--accent-foreground: oklch(0.269 0.064 153.416);
--destructive: oklch(0.64 0.193 41.185);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.948 0.07 143.236);
--chart-1: oklch(0.948 0.07 143.236);
--chart-2: oklch(0.963 0.059 126.584);
--chart-3: oklch(0.951 0.055 160.337);
--chart-4: oklch(0.974 0.042 126.319);
--chart-5: oklch(0.949 0.073 143.222);
}