Wrinkle is a shadcn/ui theme built around a near-white primary color (#fcfdfc) with near-white accents (#fdfcfc). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the near-white primary (#fcfdfc) on a neutral background (#020401).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #020401black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f9fcf8mintcream | #040703black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfdfcwhite | #020401black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #fcfdfcwhite | #fcfdfcwhite |
| Primary foreground | #2e342ddarkslategray | #2e342ddarkslategray |
| Secondary | #fcfcfdwhite | #fcfcfdwhite |
| Secondary foreground | #5c5f6adimgray | #5c5f6adimgray |
| Muted | #e1e3eflavender | #10121eblack |
| Muted foreground | #3c3d44darkslategray | #bbbdc3silver |
| Accent | #fdfcfcsnow | #fdfcfcsnow |
| Accent foreground | #6a5c5fdimgray | #6a5c5fdimgray |
| Destructive | #6b2705maroon | #f67737tomato |
| Destructive foreground | #fbc3a7navajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fcfdfcwhite | #fcfdfcwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.63:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 12.49:1 | AAA |
| Secondary button | 6.22:1 | AA |
| Muted text | 8.47:1 | AAA |
| Accent | 6.20:1 | AA |
| Destructive | 7.01:1 | AAA |
| Text on background | 20.61:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 12.49:1 | AAA |
| Secondary button | 6.22:1 | AA |
| Muted text | 9.90:1 | AAA |
| Accent | 6.20:1 | AA |
| Destructive | 7.58:1 | AAA |
Paste this into your globals.css to use Wrinkle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 140.527);
--foreground: oklch(0 0 0);
--muted: oklch(0.918 0.016 277.011);
--muted-foreground: oklch(0.362 0.011 276.82);
--popover: oklch(0.994 0.003 140.527);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.006 140.522);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.993 0.001 140.531);
--primary-foreground: oklch(0.317 0.014 140.463);
--secondary: oklch(0.992 0 277.254);
--secondary-foreground: oklch(0.487 0.019 276.699);
--accent: oklch(0.992 0 5.459);
--accent-foreground: oklch(0.491 0.018 6.406);
--destructive: oklch(0.369 0.106 42.327);
--destructive-foreground: oklch(0.861 0.074 47.837);
--ring: oklch(0.993 0.001 140.531);
--chart-1: oklch(0.993 0.001 140.531);
--chart-2: oklch(0.992 0 277.254);
--chart-3: oklch(0.992 0 5.459);
--chart-4: oklch(1.016 0.001 97.27);
--chart-5: oklch(0.993 0.001 140.53);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.014 139.167);
--foreground: oklch(1 0 180);
--muted: oklch(0.187 0.025 275.084);
--muted-foreground: oklch(0.798 0.009 277.102);
--popover: oklch(0.097 0.014 139.167);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.122 0.018 139.167);
--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.993 0.001 140.531);
--primary-foreground: oklch(0.317 0.014 140.463);
--secondary: oklch(0.992 0 277.254);
--secondary-foreground: oklch(0.487 0.019 276.699);
--accent: oklch(0.992 0 5.459);
--accent-foreground: oklch(0.491 0.018 6.406);
--destructive: oklch(0.707 0.173 44.557);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.993 0.001 140.531);
--chart-1: oklch(0.993 0.001 140.531);
--chart-2: oklch(0.992 0 277.254);
--chart-3: oklch(0.992 0 5.459);
--chart-4: oklch(1.016 0.001 97.27);
--chart-5: oklch(0.993 0.001 140.53);
}