Wont is a shadcn/ui theme built around a vivid deep yellow primary color (#120f02) with vivid deep green accents (#0d1202). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep yellow primary (#120f02) on a neutral background (#070603).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070603black |
| Foreground | #040301black | #fdfdfcwhite |
| Card | #ffffffwhite | #070603black |
| Card foreground | #040301black | #fdfdfcwhite |
| Popover | #ffffffwhite | #070603black |
| Popover foreground | #040301black | #fdfdfcwhite |
| Primary | #120f02black | #120f02black |
| Primary foreground | #c5a31bgoldenrod | #c5a31bgoldenrod |
| Secondary | #120702black | #120702black |
| Secondary foreground | #e9875dcoral | #e9875dcoral |
| Muted | #efeceblinen | #141110black |
| Muted foreground | #524a47darkslategray | #b8b0addarkgray |
| Accent | #0d1202black | #0d1202black |
| Accent foreground | #92c51byellowgreen | #92c51byellowgreen |
| Destructive | #aa1109firebrick | #f43d34tomato |
| Destructive foreground | #fee8e7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #120f02black | #120f02black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.61:1 | AAA |
| Text on card | 20.61:1 | AAA |
| Primary button | 7.88:1 | AAA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 7.37:1 | AAA |
| Accent | 9.25:1 | AAA |
| Destructive | 6.43:1 | AA |
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 7.88:1 | AAA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 8.81:1 | AAA |
| Accent | 9.25:1 | AAA |
| Destructive | 3.76:1 | AA Large |
Paste this into your globals.css to use Wont in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.1 0.011 98.988);
--muted: oklch(0.946 0.003 44.945);
--muted-foreground: oklch(0.417 0.011 44.722);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.1 0.011 98.988);
--card: oklch(1 0 180);
--card-foreground: oklch(0.1 0.011 98.988);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.167 0.027 98.014);
--primary-foreground: oklch(0.727 0.143 93.059);
--secondary: oklch(0.144 0.025 53.274);
--secondary-foreground: oklch(0.721 0.133 43.453);
--accent: oklch(0.172 0.034 121.948);
--accent-foreground: oklch(0.761 0.188 126.49);
--destructive: oklch(0.469 0.184 29.429);
--destructive-foreground: oklch(0.948 0.024 21.221);
--ring: oklch(0.167 0.027 98.014);
--chart-1: oklch(0.167 0.027 98.014);
--chart-2: oklch(0.144 0.025 53.274);
--chart-3: oklch(0.172 0.034 121.948);
--chart-4: oklch(0.183 0.037 46.172);
--chart-5: oklch(0.168 0.028 98.108);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.01 97.964);
--foreground: oklch(0.994 0.002 95.058);
--muted: oklch(0.181 0.005 44.713);
--muted-foreground: oklch(0.764 0.01 44.853);
--popover: oklch(0.123 0.01 97.964);
--popover-foreground: oklch(0.994 0.002 95.058);
--card: oklch(0.123 0.01 97.964);
--card-foreground: oklch(0.994 0.002 95.058);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.167 0.027 98.014);
--primary-foreground: oklch(0.727 0.143 93.059);
--secondary: oklch(0.144 0.025 53.274);
--secondary-foreground: oklch(0.721 0.133 43.453);
--accent: oklch(0.172 0.034 121.948);
--accent-foreground: oklch(0.761 0.188 126.49);
--destructive: oklch(0.638 0.22 28.271);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.167 0.027 98.014);
--chart-1: oklch(0.167 0.027 98.014);
--chart-2: oklch(0.144 0.025 53.274);
--chart-3: oklch(0.172 0.034 121.948);
--chart-4: oklch(0.183 0.037 46.172);
--chart-5: oklch(0.168 0.028 98.108);
}