Wise is a shadcn/ui theme built around a neutral gray primary color (#989390) with neutral gray accents (#989790). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#989390) on an orange-tinted background (#0e0a07).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0a07black |
| Foreground | #080402black | #fcfaf8snow |
| Card | #ffffffwhite | #0e0a07black |
| Card foreground | #080402black | #fcfaf8snow |
| Popover | #ffffffwhite | #0e0a07black |
| Popover foreground | #080402black | #fcfaf8snow |
| Primary | #989390gray | #989390gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #989090gray | #989090gray |
| Secondary foreground | #000000black | #000000black |
| Muted | #f6efefwhitesmoke | #10090ablack |
| Muted foreground | #625557dimgray | #aa9d9edarkgray |
| Accent | #989790darkgray | #989790darkgray |
| Accent foreground | #000000black | #000000black |
| Destructive | #831507maroon | #f43d25orangered |
| Destructive foreground | #fcc7c0pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #989390gray | #989390gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.41:1 | AAA |
| Text on card | 20.41:1 | AAA |
| Primary button | 6.91:1 | AA |
| Secondary button | 6.71:1 | AA |
| Muted text | 6.24:1 | AA |
| Accent | 7.18:1 | AAA |
| Destructive | 6.78:1 | AA |
| Text on background | 18.98:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 6.91:1 | AA |
| Secondary button | 6.71:1 | AA |
| Muted text | 7.52:1 | AAA |
| Accent | 7.18:1 | AAA |
| Destructive | 3.80: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.116 0.015 66.201);
--muted: oklch(0.957 0.008 10.268);
--muted-foreground: oklch(0.464 0.017 10.912);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.116 0.015 66.201);
--card: oklch(1 0 180);
--card-foreground: oklch(0.116 0.015 66.201);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.667 0.008 56.27);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.66 0.01 10.431);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.676 0.011 101.546);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.395 0.146 31.058);
--destructive-foreground: oklch(0.874 0.061 27.066);
--ring: oklch(0.667 0.008 56.27);
--chart-1: oklch(0.667 0.008 56.27);
--chart-2: oklch(0.66 0.01 10.431);
--chart-3: oklch(0.676 0.011 101.546);
--chart-4: oklch(0.685 0.009 10.39);
--chart-5: oklch(0.667 0.014 56.147);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.147 0.01 58.892);
--foreground: oklch(0.985 0.003 56.394);
--muted: oklch(0.151 0.013 11.894);
--muted-foreground: oklch(0.707 0.015 10.566);
--popover: oklch(0.147 0.01 58.892);
--popover-foreground: oklch(0.985 0.003 56.394);
--card: oklch(0.147 0.01 58.892);
--card-foreground: oklch(0.985 0.003 56.394);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.667 0.008 56.27);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.66 0.01 10.431);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.676 0.011 101.546);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.635 0.222 31.027);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.667 0.008 56.27);
--chart-1: oklch(0.667 0.008 56.27);
--chart-2: oklch(0.66 0.01 10.431);
--chart-3: oklch(0.676 0.011 101.546);
--chart-4: oklch(0.685 0.009 10.39);
--chart-5: oklch(0.667 0.014 56.147);
}