Wise is a shadcn/ui theme built around a muted green primary color (#bcc5af) with muted green accents (#b1c5af). The light mode uses a neutral background (#fafdf7). Dark mode keeps the muted green primary (#bcc5af) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fafdf7mintcream | #000000black |
| Foreground | #0c1202black | #fdfdfcwhite |
| Card | #fafdf7mintcream | #000000black |
| Card foreground | #0c1202black | #fdfdfcwhite |
| Popover | #fafdf7mintcream | #000000black |
| Popover foreground | #0c1202black | #fdfdfcwhite |
| Primary | #bcc5afsilver | #bcc5afsilver |
| Primary foreground | #22261cblack | #22261cblack |
| Secondary | #c5c3afsilver | #c5c3afsilver |
| Secondary foreground | #26251cblack | #26251cblack |
| Muted | #eeebd8antiquewhite | #272511black |
| Muted foreground | #636363dimgray | #9c9c9cdarkgray |
| Accent | #b1c5afsilver | #b1c5afsilver |
| Accent foreground | #1d261cblack | #1d261cblack |
| Destructive | #cb450bchocolate | #f46325chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bcc5afsilver | #bcc5afsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.54:1 | AAA |
| Text on card | 18.54:1 | AAA |
| Primary button | 8.64:1 | AAA |
| Secondary button | 8.65:1 | AAA |
| Muted text | 5.02:1 | AA |
| Accent | 8.54:1 | AAA |
| Destructive | 4.77:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 8.64:1 | AAA |
| Secondary button | 8.65:1 | AAA |
| Muted text | 5.65:1 | AA |
| Accent | 8.54:1 | AAA |
| Destructive | 6.63:1 | AA |
Paste this into your globals.css to use Wise in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.008 124.461);
--foreground: oklch(0.17 0.035 125.571);
--muted: oklch(0.938 0.026 101.706);
--muted-foreground: oklch(0.501 0 180);
--popover: oklch(0.99 0.008 124.461);
--popover-foreground: oklch(0.17 0.035 125.571);
--card: oklch(0.99 0.008 124.461);
--card-foreground: oklch(0.17 0.035 125.571);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.811 0.032 124.913);
--primary-foreground: oklch(0.263 0.02 125.479);
--secondary: oklch(0.813 0.027 101.798);
--secondary-foreground: oklch(0.264 0.017 102.222);
--accent: oklch(0.803 0.037 142.436);
--accent-foreground: oklch(0.258 0.024 142.248);
--destructive: oklch(0.573 0.18 38.625);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.811 0.032 124.913);
--chart-1: oklch(0.811 0.032 124.913);
--chart-2: oklch(0.813 0.027 101.798);
--chart-3: oklch(0.803 0.037 142.436);
--chart-4: oklch(0.835 0.024 101.731);
--chart-5: oklch(0.815 0.038 125.017);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 124.377);
--muted: oklch(0.259 0.033 102.851);
--muted-foreground: oklch(0.691 0 180);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.994 0.002 124.377);
--card: oklch(0 0 0);
--card-foreground: oklch(0.994 0.002 124.377);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.811 0.032 124.913);
--primary-foreground: oklch(0.263 0.02 125.479);
--secondary: oklch(0.813 0.027 101.798);
--secondary-foreground: oklch(0.264 0.017 102.222);
--accent: oklch(0.803 0.037 142.436);
--accent-foreground: oklch(0.258 0.024 142.248);
--destructive: oklch(0.676 0.191 40.674);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.811 0.032 124.913);
--chart-1: oklch(0.811 0.032 124.913);
--chart-2: oklch(0.813 0.027 101.798);
--chart-3: oklch(0.803 0.037 142.436);
--chart-4: oklch(0.835 0.024 101.731);
--chart-5: oklch(0.815 0.038 125.017);
}