Wealthy is a shadcn/ui theme built around a red primary color (#92473a) with muted red accents (#bfb3b0). The light mode uses a neutral background (#fefbfb). Dark mode keeps the red primary (#92473a) on a neutral background (#040101).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #040101black |
| Foreground | #100605black | #ffffffwhite |
| Card | #fefbfbsnow | #040101black |
| Card foreground | #100605black | #ffffffwhite |
| Popover | #fefbfbsnow | #040101black |
| Popover foreground | #100605black | #ffffffwhite |
| Primary | #92473asienna | #92473asienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #cfcecelightgrey | #332624darkslategray |
| Secondary foreground | #363535darkslategray | #cfbdbasilver |
| Muted | #efeceblinen | #141010black |
| Muted foreground | #6c5956dimgray | #a99793rosybrown |
| Accent | #bfb3b0silver | #523833darkslategray |
| Accent foreground | #221c1cblack | #e4d6d3gainsboro |
| Destructive | #c43108firebrick | #f64d1eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #92473asienna | #92473asienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 5.56:1 | AA |
| Accent | 8.19:1 | AAA |
| Destructive | 5.55:1 | AA |
| Text on background | 20.74:1 | AAA |
| Text on card | 20.74:1 | AAA |
| Primary button | 6.58:1 | AA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 6.77:1 | AA |
| Accent | 7.57:1 | AAA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Wealthy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 29.479);
--foreground: oklch(0.139 0.019 34.202);
--muted: oklch(0.945 0.004 29.483);
--muted-foreground: oklch(0.483 0.024 29.731);
--popover: oklch(0.991 0.003 29.479);
--popover-foreground: oklch(0.139 0.019 34.202);
--card: oklch(0.991 0.003 29.479);
--card-foreground: oklch(0.139 0.019 34.202);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.49 0.104 31.446);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.853 0.001 29.472);
--secondary-foreground: oklch(0.331 0.001 29.481);
--accent: oklch(0.775 0.014 29.539);
--accent-foreground: oklch(0.234 0.008 29.632);
--destructive: oklch(0.54 0.189 34.159);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.49 0.104 31.446);
--chart-1: oklch(0.49 0.104 31.446);
--chart-2: oklch(0.853 0.001 29.472);
--chart-3: oklch(0.775 0.014 29.539);
--chart-4: oklch(0.876 0.001 29.471);
--chart-5: oklch(0.49 0.111 31.615);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.012 35.841);
--foreground: oklch(1 0 180);
--muted: oklch(0.179 0.007 29.646);
--muted-foreground: oklch(0.69 0.022 29.611);
--popover: oklch(0.086 0.012 35.841);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.086 0.012 35.841);
--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.49 0.104 31.446);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.283 0.021 29.907);
--secondary-foreground: oklch(0.812 0.021 29.576);
--accent: oklch(0.368 0.038 30.196);
--accent-foreground: oklch(0.885 0.016 29.537);
--destructive: oklch(0.653 0.213 35.165);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.49 0.104 31.446);
--chart-1: oklch(0.49 0.104 31.446);
--chart-2: oklch(0.283 0.021 29.907);
--chart-3: oklch(0.368 0.038 30.196);
--chart-4: oklch(0.312 0.024 29.932);
--chart-5: oklch(0.49 0.111 31.615);
}