Wire is a shadcn/ui theme built around a muted blue primary color (#494e69) with muted green accents (#4e6949). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the muted blue primary (#494e69) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #000000black |
| Foreground | #010204black | #fcfcfdwhite |
| Card | #f6f7fdghostwhite | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f6f7fdghostwhite | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #494e69darkslategray | #494e69darkslategray |
| Primary foreground | #f0f1f5whitesmoke | #f0f1f5whitesmoke |
| Secondary | #69494edimgray | #69494edimgray |
| Secondary foreground | #f5f0f1whitesmoke | #f5f0f1whitesmoke |
| Muted | #eee7e8linen | #181112black |
| Muted foreground | #5a4e50dimgray | #b1a5a7darkgray |
| Accent | #4e6949darkolivegreen | #4e6949darkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #7b2809saddlebrown | #ee531borangered |
| Destructive foreground | #facdbdpeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #494e69darkslategray | #494e69darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.11:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 6.96:1 | AA |
| Muted text | 6.53:1 | AA |
| Accent | 6.07:1 | AA |
| Destructive | 6.75:1 | AA |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 6.96:1 | AA |
| Muted text | 7.81:1 | AAA |
| Accent | 6.07:1 | AA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Wire in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 278.259);
--foreground: oklch(0.08 0.014 271.815);
--muted: oklch(0.934 0.007 6.789);
--muted-foreground: oklch(0.437 0.016 7.505);
--popover: oklch(0.978 0.008 278.199);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.978 0.008 278.199);
--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.431 0.046 276.551);
--primary-foreground: oklch(0.958 0.005 278.238);
--secondary: oklch(0.443 0.044 9.106);
--secondary-foreground: oklch(0.959 0.005 6.727);
--accent: oklch(0.491 0.06 140.815);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.399 0.122 37.941);
--destructive-foreground: oklch(0.883 0.056 40.956);
--ring: oklch(0.431 0.046 276.551);
--chart-1: oklch(0.431 0.046 276.551);
--chart-2: oklch(0.443 0.044 9.106);
--chart-3: oklch(0.491 0.06 140.815);
--chart-4: oklch(0.469 0.048 9.136);
--chart-5: oklch(0.426 0.053 276.175);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 278.304);
--muted: oklch(0.187 0.011 8.065);
--muted-foreground: oklch(0.732 0.014 7.07);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.431 0.046 276.551);
--primary-foreground: oklch(0.958 0.005 278.238);
--secondary: oklch(0.443 0.044 9.106);
--secondary-foreground: oklch(0.959 0.005 6.727);
--accent: oklch(0.491 0.06 140.815);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.647 0.2 37.831);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.431 0.046 276.551);
--chart-1: oklch(0.431 0.046 276.551);
--chart-2: oklch(0.443 0.044 9.106);
--chart-3: oklch(0.491 0.06 140.815);
--chart-4: oklch(0.469 0.048 9.136);
--chart-5: oklch(0.426 0.053 276.175);
}