Wiry is a shadcn/ui theme built around a light green primary color (#d5f6d5) with muted light green accents (#bacaba). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#d5f6d5) on a neutral background (#020802).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020802black |
| Foreground | #010401black | #fcfdfcwhite |
| Card | #ffffffwhite | #020802black |
| Card foreground | #010401black | #fcfdfcwhite |
| Popover | #ffffffwhite | #020802black |
| Popover foreground | #010401black | #fcfdfcwhite |
| Primary | #d5f6d5gainsboro | #d5f6d5gainsboro |
| Primary foreground | #092a09black | #092a09black |
| Secondary | #d7dad7gainsboro | #141a14black |
| Secondary foreground | #3d423ddarkslategray | #a4bca4darkgray |
| Muted | #d7e0d7gainsboro | #20281fblack |
| Muted foreground | #4c5d4cdarkslategray | #a3b3a2darkgray |
| Accent | #bacabasilver | #223522darkslategray |
| Accent foreground | #242e23darkslategray | #b8d1b7silver |
| Destructive | #b80505firebrick | #f91010red |
| Destructive foreground | #fff0f0lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d5f6d5gainsboro | #d5f6d5gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 13.37:1 | AAA |
| Secondary button | 7.30:1 | AAA |
| Muted text | 5.20:1 | AA |
| Accent | 8.20:1 | AAA |
| Destructive | 6.20:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 13.37:1 | AAA |
| Secondary button | 8.66:1 | AAA |
| Muted text | 6.88:1 | AA |
| Accent | 8.03:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Wiry in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.096 0.017 143.591);
--muted: oklch(0.897 0.015 144.985);
--muted-foreground: oklch(0.458 0.034 144.566);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.096 0.017 143.591);
--card: oklch(1 0 180);
--card-foreground: oklch(0.096 0.017 143.591);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.941 0.057 144.669);
--primary-foreground: oklch(0.253 0.069 142.932);
--secondary: oklch(0.886 0.005 145.059);
--secondary-foreground: oklch(0.374 0.011 144.895);
--accent: oklch(0.822 0.028 144.861);
--accent-foreground: oklch(0.288 0.024 144.499);
--destructive: oklch(0.493 0.2 28.992);
--destructive-foreground: oklch(0.967 0.016 17.429);
--ring: oklch(0.941 0.057 144.669);
--chart-1: oklch(0.941 0.057 144.669);
--chart-2: oklch(0.886 0.005 145.059);
--chart-3: oklch(0.822 0.028 144.861);
--chart-4: oklch(0.909 0.004 145.068);
--chart-5: oklch(0.942 0.059 144.649);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.023 143.467);
--foreground: oklch(0.993 0.001 145.093);
--muted: oklch(0.266 0.02 144.563);
--muted-foreground: oklch(0.75 0.03 144.815);
--popover: oklch(0.122 0.023 143.467);
--popover-foreground: oklch(0.993 0.001 145.093);
--card: oklch(0.122 0.023 143.467);
--card-foreground: oklch(0.993 0.001 145.093);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.941 0.057 144.669);
--primary-foreground: oklch(0.253 0.069 142.932);
--secondary: oklch(0.21 0.017 144.521);
--secondary-foreground: oklch(0.77 0.042 144.71);
--accent: oklch(0.306 0.042 144.088);
--accent-foreground: oklch(0.835 0.045 144.717);
--destructive: oklch(0.62 0.249 28.787);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.941 0.057 144.669);
--chart-1: oklch(0.941 0.057 144.669);
--chart-2: oklch(0.21 0.017 144.521);
--chart-3: oklch(0.306 0.042 144.088);
--chart-4: oklch(0.245 0.021 144.461);
--chart-5: oklch(0.942 0.059 144.649);
}