Wise is a shadcn/ui theme built around a neutral gray primary color (#a2a395) with neutral gray accents (#9695a3). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#a2a395) on a neutral background (#040401).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040401black |
| Foreground | #121306black | #fdfdfcwhite |
| Card | #ffffffwhite | #040401black |
| Card foreground | #121306black | #fdfdfcwhite |
| Popover | #ffffffwhite | #040401black |
| Popover foreground | #121306black | #fdfdfcwhite |
| Primary | #a2a395darkgray | #a2a395darkgray |
| Primary foreground | #030302black | #030302black |
| Secondary | #9695a3darkgray | #9695a3darkgray |
| Secondary foreground | #020203black | #020203black |
| Muted | #d8d7e0gainsboro | #201f28black |
| Muted foreground | #3c3c44darkslategray | #bcbbc3silver |
| Accent | #9695a3darkgray | #9695a3darkgray |
| Accent foreground | #020203black | #020203black |
| Destructive | #6a260cmaroon | #d34d17chocolate |
| Destructive foreground | #f6c5b1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a2a395darkgray | #a2a395darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.72:1 | AAA |
| Text on card | 18.72:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 6.99:1 | AA |
| Muted text | 7.64:1 | AAA |
| Accent | 6.99:1 | AA |
| Destructive | 7.14:1 | AAA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 8.02:1 | AAA |
| Secondary button | 6.99:1 | AA |
| Muted text | 8.53:1 | AAA |
| Accent | 6.99:1 | AA |
| Destructive | 4.34:1 | AA Large |
Paste this into your globals.css to use Wise in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.182 0.025 111.793);
--muted: oklch(0.882 0.012 289.229);
--muted-foreground: oklch(0.359 0.013 288.784);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.182 0.025 111.793);
--card: oklch(1 0 180);
--card-foreground: oklch(0.182 0.025 111.793);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.709 0.02 109.993);
--primary-foreground: oklch(0.093 0.002 109.736);
--secondary: oklch(0.674 0.02 288.905);
--secondary-foreground: oklch(0.09 0.002 289.198);
--accent: oklch(0.674 0.02 288.905);
--accent-foreground: oklch(0.09 0.002 289.198);
--destructive: oklch(0.366 0.103 39.839);
--destructive-foreground: oklch(0.861 0.063 42.639);
--ring: oklch(0.709 0.02 109.993);
--chart-1: oklch(0.709 0.02 109.993);
--chart-2: oklch(0.674 0.02 288.905);
--chart-3: oklch(0.674 0.02 288.905);
--chart-4: oklch(0.7 0.019 288.975);
--chart-5: oklch(0.717 0.028 110.198);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.102 0.013 110.95);
--foreground: oklch(0.994 0.002 109.517);
--muted: oklch(0.245 0.016 288.201);
--muted-foreground: oklch(0.796 0.011 289.226);
--popover: oklch(0.102 0.013 110.95);
--popover-foreground: oklch(0.994 0.002 109.517);
--card: oklch(0.102 0.013 110.95);
--card-foreground: oklch(0.994 0.002 109.517);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.709 0.02 109.993);
--primary-foreground: oklch(0.093 0.002 109.736);
--secondary: oklch(0.674 0.02 288.905);
--secondary-foreground: oklch(0.09 0.002 289.198);
--accent: oklch(0.674 0.02 288.905);
--accent-foreground: oklch(0.09 0.002 289.198);
--destructive: oklch(0.596 0.18 38.901);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.709 0.02 109.993);
--chart-1: oklch(0.709 0.02 109.993);
--chart-2: oklch(0.674 0.02 288.905);
--chart-3: oklch(0.674 0.02 288.905);
--chart-4: oklch(0.7 0.019 288.975);
--chart-5: oklch(0.717 0.028 110.198);
}