Wiry is a shadcn/ui theme built around a muted pink primary color (#634054) with muted red accents (#634043). The light mode uses a neutral background (#fdf7fa). Dark mode keeps the muted pink primary (#634054) on a pink-tinted background (#0a0508).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fasnow | #0a0508black |
| Foreground | #000000black | #f8f6f8whitesmoke |
| Card | #fdf7fasnow | #0a0508black |
| Card foreground | #000000black | #f8f6f8whitesmoke |
| Popover | #fdf7fasnow | #0a0508black |
| Popover foreground | #000000black | #f8f6f8whitesmoke |
| Primary | #634054dimgray | #634054dimgray |
| Primary foreground | #efe6eblinen | #efe6eblinen |
| Secondary | #604063dimgray | #604063dimgray |
| Secondary foreground | #eee6eflavender | #eee6eflavender |
| Muted | #eae0eblavender | #1e141fblack |
| Muted foreground | #696369dimgray | #9c969cdarkgray |
| Accent | #634043darkolivegreen | #634043darkolivegreen |
| Accent foreground | #efe6e7linen | #efe6e7linen |
| Destructive | #a23f11saddlebrown | #d05116chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #634054dimgray | #634054dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.86:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 7.15:1 | AAA |
| Secondary button | 7.11:1 | AAA |
| Muted text | 4.56:1 | AA |
| Accent | 7.28:1 | AAA |
| Destructive | 6.48:1 | AA |
| Text on background | 18.79:1 | AAA |
| Text on card | 18.79:1 | AAA |
| Primary button | 7.15:1 | AAA |
| Secondary button | 7.11:1 | AAA |
| Muted text | 6.16:1 | AA |
| Accent | 7.28:1 | AAA |
| Destructive | 4.32:1 | AA Large |
Paste this into your globals.css to use Wiry in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.007 341.19);
--foreground: oklch(0 0 0);
--muted: oklch(0.918 0.017 323.219);
--muted-foreground: oklch(0.507 0.012 323.241);
--popover: oklch(0.982 0.007 341.19);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.007 341.19);
--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.419 0.056 343.912);
--primary-foreground: oklch(0.934 0.011 341.295);
--secondary: oklch(0.422 0.068 323.814);
--secondary-foreground: oklch(0.935 0.014 323.204);
--accent: oklch(0.413 0.048 13.893);
--accent-foreground: oklch(0.933 0.009 11.469);
--destructive: oklch(0.497 0.142 41.376);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.419 0.056 343.912);
--chart-1: oklch(0.419 0.056 343.912);
--chart-2: oklch(0.422 0.068 323.814);
--chart-3: oklch(0.413 0.048 13.893);
--chart-4: oklch(0.449 0.073 323.821);
--chart-5: oklch(0.418 0.064 344.32);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.013 341.058);
--foreground: oklch(0.976 0.002 341.07);
--muted: oklch(0.21 0.024 323.64);
--muted-foreground: oklch(0.68 0.011 323.209);
--popover: oklch(0.127 0.013 341.058);
--popover-foreground: oklch(0.976 0.002 341.07);
--card: oklch(0.127 0.013 341.058);
--card-foreground: oklch(0.976 0.002 341.07);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.419 0.056 343.912);
--primary-foreground: oklch(0.934 0.011 341.295);
--secondary: oklch(0.422 0.068 323.814);
--secondary-foreground: oklch(0.935 0.014 323.204);
--accent: oklch(0.413 0.048 13.893);
--accent-foreground: oklch(0.933 0.009 11.469);
--destructive: oklch(0.596 0.173 41.006);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.419 0.056 343.912);
--chart-1: oklch(0.419 0.056 343.912);
--chart-2: oklch(0.422 0.068 323.814);
--chart-3: oklch(0.413 0.048 13.893);
--chart-4: oklch(0.449 0.073 323.821);
--chart-5: oklch(0.418 0.064 344.32);
}