Wise is a shadcn/ui theme built around a neutral gray primary color (#878b8c) with neutral gray accents (#8b8c87). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the neutral gray primary (#878b8c) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfcghostwhite | #000000black |
| Foreground | #020808black | #ffffffwhite |
| Card | #f8fbfcghostwhite | #000000black |
| Card foreground | #020808black | #ffffffwhite |
| Popover | #f8fbfcghostwhite | #000000black |
| Popover foreground | #020808black | #ffffffwhite |
| Primary | #878b8cgray | #878b8cgray |
| Primary foreground | #000000black | #000000black |
| Secondary | #8c878bgray | #8c878bgray |
| Secondary foreground | #000000black | #000000black |
| Muted | #dcd6dbgainsboro | #292328darkslategray |
| Muted foreground | #444143darkslategray | #bebbbesilver |
| Accent | #8b8c87gray | #8b8c87gray |
| Accent foreground | #000000black | #000000black |
| Destructive | #6a110bmaroon | #d02216firebrick |
| Destructive foreground | #f7b5b1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #878b8cgray | #878b8cgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.44:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 6.13:1 | AA |
| Secondary button | 5.97:1 | AA |
| Muted text | 7.03:1 | AAA |
| Accent | 6.21:1 | AA |
| Destructive | 7.16:1 | AAA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.13:1 | AA |
| Secondary button | 5.97:1 | AA |
| Muted text | 8.06:1 | AAA |
| Accent | 6.21:1 | AA |
| Destructive | 5.36:1 | AA |
Paste this into your globals.css to use Wise in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 207.916);
--foreground: oklch(0.123 0.015 204.418);
--muted: oklch(0.882 0.01 329.82);
--muted-foreground: oklch(0.379 0.005 329.853);
--popover: oklch(0.987 0.004 207.916);
--popover-foreground: oklch(0.123 0.015 204.418);
--card: oklch(0.987 0.004 207.916);
--card-foreground: oklch(0.123 0.015 204.418);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.635 0.005 207.901);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.63 0.008 329.842);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.638 0.007 112.747);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.342 0.123 29.292);
--destructive-foreground: oklch(0.833 0.077 23.476);
--ring: oklch(0.635 0.005 207.901);
--chart-1: oklch(0.635 0.005 207.901);
--chart-2: oklch(0.63 0.008 329.842);
--chart-3: oklch(0.638 0.007 112.747);
--chart-4: oklch(0.655 0.008 329.825);
--chart-5: oklch(0.639 0.012 207.864);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.266 0.013 330.278);
--muted-foreground: oklch(0.796 0.004 329.751);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.635 0.005 207.901);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.63 0.008 329.842);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.638 0.007 112.747);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.551 0.208 29.617);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.635 0.005 207.901);
--chart-1: oklch(0.635 0.005 207.901);
--chart-2: oklch(0.63 0.008 329.842);
--chart-3: oklch(0.638 0.007 112.747);
--chart-4: oklch(0.655 0.008 329.825);
--chart-5: oklch(0.639 0.012 207.864);
}