Wingman is a shadcn/ui theme built around an indigo primary color (#907dd8) with green accents (#c6d87d). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the indigo primary (#907dd8) on an indigo-tinted background (#06050a).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #06050ablack |
| Foreground | #060411black | #fcfcfdwhite |
| Card | #f8f7fdghostwhite | #08070eblack |
| Card foreground | #05030cblack | #ffffffwhite |
| Popover | #f8f7fdghostwhite | #08070eblack |
| Popover foreground | #05030cblack | #ffffffwhite |
| Primary | #907dd8mediumpurple | #907dd8mediumpurple |
| Primary foreground | #000000black | #000000black |
| Secondary | #c6d87ddarkkhaki | #c6d87ddarkkhaki |
| Secondary foreground | #181b08black | #181b08black |
| Muted | #f2f4eblinen | #12140bblack |
| Muted foreground | #676c56dimgray | #a4a993darkgray |
| Accent | #c6d87ddarkkhaki | #c6d87ddarkkhaki |
| Accent foreground | #181b08black | #181b08black |
| Destructive | #641202maroon | #fc5331tomato |
| Destructive foreground | #fdab9blightsalmon | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #907dd8mediumpurple | #907dd8mediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.68:1 | AAA |
| Text on card | 19.20:1 | AAA |
| Primary button | 6.12:1 | AA |
| Secondary button | 11.30:1 | AAA |
| Muted text | 4.91:1 | AA |
| Accent | 11.30:1 | AAA |
| Destructive | 7.02:1 | AAA |
| Text on background | 19.81:1 | AAA |
| Text on card | 20.09:1 | AAA |
| Primary button | 6.12:1 | AA |
| Secondary button | 11.30:1 | AAA |
| Muted text | 7.67:1 | AAA |
| Accent | 11.30:1 | AAA |
| Destructive | 6.41:1 | AA |
Paste this into your globals.css to use Wingman in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 295.5);
--foreground: oklch(0.12 0.032 293.101);
--muted: oklch(0.964 0.012 115.812);
--muted-foreground: oklch(0.52 0.033 116.737);
--popover: oklch(0.978 0.008 295.419);
--popover-foreground: oklch(0.109 0.028 294.129);
--card: oklch(0.978 0.008 295.419);
--card-foreground: oklch(0.109 0.028 294.129);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.646 0.134 291.394);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.849 0.117 118.233);
--secondary-foreground: oklch(0.214 0.034 118.7);
--accent: oklch(0.849 0.117 118.233);
--accent-foreground: oklch(0.214 0.034 118.7);
--destructive: oklch(0.33 0.118 33.434);
--destructive-foreground: oklch(0.817 0.101 31.779);
--ring: oklch(0.646 0.134 291.394);
--chart-1: oklch(0.646 0.134 291.394);
--chart-2: oklch(0.849 0.117 118.233);
--chart-3: oklch(0.849 0.117 118.233);
--chart-4: oklch(0.863 0.108 117.944);
--chart-5: oklch(0.642 0.141 291.092);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.015 295.017);
--foreground: oklch(0.99 0.002 295.533);
--muted: oklch(0.185 0.018 117.378);
--muted-foreground: oklch(0.725 0.03 116.347);
--popover: oklch(0.132 0.017 294.391);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.132 0.017 294.391);
--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.646 0.134 291.394);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.849 0.117 118.233);
--secondary-foreground: oklch(0.214 0.034 118.7);
--accent: oklch(0.849 0.117 118.233);
--accent-foreground: oklch(0.214 0.034 118.7);
--destructive: oklch(0.671 0.211 33.185);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.646 0.134 291.394);
--chart-1: oklch(0.646 0.134 291.394);
--chart-2: oklch(0.849 0.117 118.233);
--chart-3: oklch(0.849 0.117 118.233);
--chart-4: oklch(0.863 0.108 117.944);
--chart-5: oklch(0.642 0.141 291.092);
}