Wiretap is a shadcn/ui theme built around a vivid green primary color (#9cf28c) with vivid green accents (#8cf2b0). The light mode uses a neutral background (#f9fbf8). Dark mode keeps the vivid green primary (#9cf28c) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fbf8mintcream | #000000black |
| Foreground | #030802black | #f9fcf8mintcream |
| Card | #f6faf5whitesmoke | #030303black |
| Card foreground | #010401black | #fcfdfbsnow |
| Popover | #f6faf5whitesmoke | #030303black |
| Popover foreground | #010401black | #fcfdfbsnow |
| Primary | #9cf28clightgreen | #9cf28clightgreen |
| Primary foreground | #114508darkgreen | #114508darkgreen |
| Secondary | #cff28ckhaki | #cff28ckhaki |
| Secondary foreground | #2f4508darkgreen | #2f4508darkgreen |
| Muted | #ecf0e5beige | #161a0fblack |
| Muted foreground | #515648darkolivegreen | #b2b7a9darkgray |
| Accent | #8cf2b0palegreen | #8cf2b0palegreen |
| Accent foreground | #08451ddarkgreen | #08451ddarkgreen |
| Destructive | #a10502darkred | #fb120ered |
| Destructive foreground | #fed7d7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9cf28clightgreen | #9cf28clightgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.46:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 8.25:1 | AAA |
| Secondary button | 8.47:1 | AAA |
| Muted text | 6.54:1 | AA |
| Accent | 8.23:1 | AAA |
| Destructive | 6.28:1 | AA |
| Text on background | 20.30:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 8.25:1 | AAA |
| Secondary button | 8.47:1 | AAA |
| Muted text | 8.63:1 | AAA |
| Accent | 8.23:1 | AAA |
| Destructive | 4.03:1 | AA Large |
Paste this into your globals.css to use Wiretap in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 141.054);
--foreground: oklch(0.124 0.024 139.209);
--muted: oklch(0.949 0.015 122.455);
--muted-foreground: oklch(0.445 0.023 123.054);
--popover: oklch(0.98 0.007 141.049);
--popover-foreground: oklch(0.098 0.019 139.209);
--card: oklch(0.98 0.007 141.049);
--card-foreground: oklch(0.098 0.019 139.209);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.883 0.159 140.739);
--primary-foreground: oklch(0.343 0.104 141.072);
--secondary: oklch(0.914 0.134 124.757);
--secondary-foreground: oklch(0.359 0.087 127.833);
--accent: oklch(0.882 0.134 154.187);
--accent-foreground: oklch(0.343 0.09 149.569);
--destructive: oklch(0.447 0.181 29.29);
--destructive-foreground: oklch(0.913 0.044 19.131);
--ring: oklch(0.883 0.159 140.739);
--chart-1: oklch(0.883 0.159 140.739);
--chart-2: oklch(0.914 0.134 124.757);
--chart-3: oklch(0.882 0.134 154.187);
--chart-4: oklch(0.923 0.119 124.399);
--chart-5: oklch(0.887 0.165 140.735);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.006 141.052);
--muted: oklch(0.209 0.021 123.846);
--muted-foreground: oklch(0.772 0.021 122.634);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.994 0.003 141.058);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.994 0.003 141.058);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.883 0.159 140.739);
--primary-foreground: oklch(0.343 0.104 141.072);
--secondary: oklch(0.914 0.134 124.757);
--secondary-foreground: oklch(0.359 0.087 127.833);
--accent: oklch(0.882 0.134 154.187);
--accent-foreground: oklch(0.343 0.09 149.569);
--destructive: oklch(0.625 0.251 29.044);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.883 0.159 140.739);
--chart-1: oklch(0.883 0.159 140.739);
--chart-2: oklch(0.914 0.134 124.757);
--chart-3: oklch(0.882 0.134 154.187);
--chart-4: oklch(0.923 0.119 124.399);
--chart-5: oklch(0.887 0.165 140.735);
}