Wealth is a shadcn/ui theme built around a deep pink primary color (#250e1a) with deep blue accents (#0e1a25). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep pink primary (#250e1a) on a pink-tinted background (#0e060a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e060ablack |
| Foreground | #0d0208black | #fdfcfcsnow |
| Card | #ffffffwhite | #0e060ablack |
| Card foreground | #0d0208black | #fdfcfcsnow |
| Popover | #ffffffwhite | #0e060ablack |
| Popover foreground | #0d0208black | #fdfcfcsnow |
| Primary | #250e1ablack | #250e1ablack |
| Primary foreground | #d491b3rosybrown | #d491b3rosybrown |
| Secondary | #1a250eblack | #1a250eblack |
| Secondary foreground | #7fb847yellowgreen | #7fb847yellowgreen |
| Muted | #f2f6efwhitesmoke | #0d1009black |
| Muted foreground | #616959dimgray | #9ea696darkgray |
| Accent | #0e1a25black | #0e1a25black |
| Accent foreground | #91b3d4lightsteelblue | #91b3d4lightsteelblue |
| Destructive | #6b240amaroon | #d24614chocolate |
| Destructive foreground | #f8c3b0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #250e1ablack | #250e1ablack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.40:1 | AAA |
| Text on card | 20.40:1 | AAA |
| Primary button | 7.35:1 | AAA |
| Secondary button | 6.75:1 | AA |
| Muted text | 5.22:1 | AA |
| Accent | 8.07:1 | AAA |
| Destructive | 7.12:1 | AAA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 7.35:1 | AAA |
| Secondary button | 6.75:1 | AA |
| Muted text | 7.60:1 | AAA |
| Accent | 8.07:1 | AAA |
| Destructive | 4.53:1 | AA |
Paste this into your globals.css to use Wealth in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.119 0.032 345.509);
--muted: oklch(0.968 0.011 128.582);
--muted-foreground: oklch(0.508 0.026 129.039);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.119 0.032 345.509);
--card: oklch(1 0 180);
--card-foreground: oklch(0.119 0.032 345.509);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.204 0.042 350.123);
--primary-foreground: oklch(0.733 0.092 348.196);
--secondary: oklch(0.246 0.042 130.756);
--secondary-foreground: oklch(0.719 0.155 131.684);
--accent: oklch(0.211 0.028 249.254);
--accent-foreground: oklch(0.752 0.061 248.647);
--destructive: oklch(0.365 0.108 38.44);
--destructive-foreground: oklch(0.859 0.066 40.911);
--ring: oklch(0.204 0.042 350.123);
--chart-1: oklch(0.204 0.042 350.123);
--chart-2: oklch(0.246 0.042 130.756);
--chart-3: oklch(0.211 0.028 249.254);
--chart-4: oklch(0.287 0.053 130.962);
--chart-5: oklch(0.204 0.044 350.471);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.018 346.586);
--foreground: oklch(0.992 0.002 345.189);
--muted: oklch(0.168 0.016 129.527);
--muted-foreground: oklch(0.714 0.024 128.836);
--popover: oklch(0.138 0.018 346.586);
--popover-foreground: oklch(0.992 0.002 345.189);
--card: oklch(0.138 0.018 346.586);
--card-foreground: oklch(0.992 0.002 345.189);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.204 0.042 350.123);
--primary-foreground: oklch(0.733 0.092 348.196);
--secondary: oklch(0.246 0.042 130.756);
--secondary-foreground: oklch(0.719 0.155 131.684);
--accent: oklch(0.211 0.028 249.254);
--accent-foreground: oklch(0.752 0.061 248.647);
--destructive: oklch(0.587 0.184 37.535);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.204 0.042 350.123);
--chart-1: oklch(0.204 0.042 350.123);
--chart-2: oklch(0.246 0.042 130.756);
--chart-3: oklch(0.211 0.028 249.254);
--chart-4: oklch(0.287 0.053 130.962);
--chart-5: oklch(0.204 0.044 350.471);
}