Reprocessing is a shadcn/ui theme built around a near-white primary color (#fcfcf8) with near-white accents (#fafcf8). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-white primary (#fcfcf8) on a yellow-tinted background (#0a0a05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a0a05black |
| Foreground | #0c0c03black | #fdfdfcwhite |
| Card | #fcfcfcsnow | #0d0d07black |
| Card foreground | #080802black | #ffffffwhite |
| Popover | #ffffffwhite | #0a0a05black |
| Popover foreground | #0c0c03black | #fdfdfcwhite |
| Primary | #fcfcf8snow | #fcfcf8snow |
| Primary foreground | #41411bdarkolivegreen | #41411bdarkolivegreen |
| Secondary | #fcfaf8snow | #fcfaf8snow |
| Secondary foreground | #412d1bdarkslategray | #412d1bdarkslategray |
| Muted | #f0e8e0antiquewhite | #1f170fblack |
| Muted foreground | #4a453fdarkslategray | #c0bab5silver |
| Accent | #fafcf8snow | #fafcf8snow |
| Accent foreground | #2f411bdarkslategray | #2f411bdarkslategray |
| Destructive | #ab1212firebrick | #ea3434crimson |
| Destructive foreground | #fef1f1lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fcfcf8snow | #fcfcf8snow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.63:1 | AAA |
| Text on card | 19.64:1 | AAA |
| Primary button | 10.22:1 | AAA |
| Secondary button | 12.46:1 | AAA |
| Muted text | 7.81:1 | AAA |
| Accent | 10.74:1 | AAA |
| Destructive | 6.75:1 | AA |
| Text on background | 19.50:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 10.22:1 | AAA |
| Secondary button | 12.46:1 | AAA |
| Muted text | 9.22:1 | AAA |
| Accent | 10.74:1 | AAA |
| Destructive | 4.17:1 | AA Large |
Paste this into your globals.css to use Reprocessing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.152 0.022 108.086);
--muted: oklch(0.935 0.013 65.795);
--muted-foreground: oklch(0.393 0.012 65.597);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.152 0.022 108.086);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.132 0.019 108.147);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.99 0.006 105.716);
--primary-foreground: oklch(0.365 0.057 108.024);
--secondary: oklch(0.986 0.004 65.923);
--secondary-foreground: oklch(0.317 0.042 63.449);
--accent: oklch(0.988 0.006 127.861);
--accent-foreground: oklch(0.35 0.065 130.486);
--destructive: oklch(0.472 0.184 28.116);
--destructive-foreground: oklch(0.968 0.013 17.388);
--ring: oklch(0.99 0.006 105.716);
--chart-1: oklch(0.99 0.006 105.716);
--chart-2: oklch(0.986 0.004 65.923);
--chart-3: oklch(0.988 0.006 127.861);
--chart-4: oklch(1.007 0.002 245.987);
--chart-5: oklch(0.99 0.006 105.723);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.011 107.047);
--foreground: oklch(0.993 0.001 105.631);
--muted: oklch(0.211 0.019 64.576);
--muted-foreground: oklch(0.792 0.01 65.818);
--popover: oklch(0.142 0.011 107.047);
--popover-foreground: oklch(0.993 0.001 105.631);
--card: oklch(0.158 0.013 106.994);
--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.99 0.006 105.716);
--primary-foreground: oklch(0.365 0.057 108.024);
--secondary: oklch(0.986 0.004 65.923);
--secondary-foreground: oklch(0.317 0.042 63.449);
--accent: oklch(0.988 0.006 127.861);
--accent-foreground: oklch(0.35 0.065 130.486);
--destructive: oklch(0.612 0.217 26.504);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.99 0.006 105.716);
--chart-1: oklch(0.99 0.006 105.716);
--chart-2: oklch(0.986 0.004 65.923);
--chart-3: oklch(0.988 0.006 127.861);
--chart-4: oklch(1.007 0.002 245.987);
--chart-5: oklch(0.99 0.006 105.723);
}