Income is a shadcn/ui theme built around a yellow primary color (#a69526) with blue accents (#2637a6). The light mode uses a neutral background (#fdfcf7). Dark mode keeps the yellow primary (#a69526) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcf7snow | #040301black |
| Foreground | #0c0b03black | #fdfdfcwhite |
| Card | #fdfcf7snow | #040301black |
| Card foreground | #0c0b03black | #fdfdfcwhite |
| Popover | #fdfcf7snow | #040301black |
| Popover foreground | #0c0b03black | #fdfdfcwhite |
| Primary | #a69526darkgoldenrod | #a69526darkgoldenrod |
| Primary foreground | #000000black | #000000black |
| Secondary | #2637a6darkslateblue | #2637a6darkslateblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dcdde5gainsboro | #1a1b23black |
| Muted foreground | #3d3e42darkslategray | #bdbdc2silver |
| Accent | #2637a6darkslateblue | #2637a6darkslateblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #5d0b09maroon | #e91f1ccrimson |
| Destructive foreground | #f6a4a2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a69526darkgoldenrod | #a69526darkgoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.17:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 9.64:1 | AAA |
| Muted text | 7.89:1 | AAA |
| Accent | 9.64:1 | AAA |
| Destructive | 7.10:1 | AAA |
| Text on background | 20.22:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 9.64:1 | AAA |
| Muted text | 9.14:1 | AAA |
| Accent | 9.64:1 | AAA |
| Destructive | 4.50:1 | AA |
Paste this into your globals.css to use Income in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.006 99.435);
--foreground: oklch(0.147 0.019 102.46);
--muted: oklch(0.899 0.011 279.157);
--muted-foreground: oklch(0.364 0.008 279.02);
--popover: oklch(0.99 0.006 99.435);
--popover-foreground: oklch(0.147 0.019 102.46);
--card: oklch(0.99 0.006 99.435);
--card-foreground: oklch(0.147 0.019 102.46);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.666 0.126 100.079);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.403 0.178 269.379);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.403 0.178 269.379);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.309 0.114 27.821);
--destructive-foreground: oklch(0.798 0.098 20.546);
--ring: oklch(0.666 0.126 100.079);
--chart-1: oklch(0.666 0.126 100.079);
--chart-2: oklch(0.403 0.178 269.379);
--chart-3: oklch(0.403 0.178 269.379);
--chart-4: oklch(0.423 0.189 269.274);
--chart-5: oklch(0.674 0.13 99.951);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.1 0.01 102.275);
--foreground: oklch(0.994 0.002 99.364);
--muted: oklch(0.225 0.016 278.205);
--muted-foreground: oklch(0.8 0.006 279.223);
--popover: oklch(0.1 0.01 102.275);
--popover-foreground: oklch(0.994 0.002 99.364);
--card: oklch(0.1 0.01 102.275);
--card-foreground: oklch(0.994 0.002 99.364);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.666 0.126 100.079);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.403 0.178 269.379);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.403 0.178 269.379);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.596 0.23 28.472);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.666 0.126 100.079);
--chart-1: oklch(0.666 0.126 100.079);
--chart-2: oklch(0.403 0.178 269.379);
--chart-3: oklch(0.403 0.178 269.379);
--chart-4: oklch(0.423 0.189 269.274);
--chart-5: oklch(0.674 0.13 99.951);
}