FundU is a shadcn/ui theme built around a vivid teal primary color (#00f2c3) with light teal accents (#d1f8f0). The light mode uses a neutral background (#fafafa). Dark mode switches to a muted light purple primary (#ebdbeb) on a neutral background (#fafafa).
| Token | Light | Dark |
|---|---|---|
| Background | #fafafasnow | #fafafasnow |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #0f060fblack |
| Card foreground | #080208black | #ffffffwhite |
| Popover | #fcfcfcsnow | #0f060fblack |
| Popover foreground | #080208black | #ffffffwhite |
| Primary | #00f2c3darkturquoise | #ebdbeblavender |
| Primary foreground | #232323black | #5f355edarkslateblue |
| Secondary | #440487indigo | #dbebdbgainsboro |
| Secondary foreground | #ffffffwhite | #101e11black |
| Muted | #d9caefthistle | #152e15black |
| Muted foreground | #232323black | #a9bca9darkgray |
| Accent | #d1f8f0lightcyan | #dbebdbgainsboro |
| Accent foreground | #101e11black | #101e11black |
| Destructive | #ca3333firebrick | #eb532dtomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #d9caefthistle | #221b22black |
| Input | #d1f8f0lightcyan | #221b22black |
| Ring | #a5f2e2paleturquoise | #ebdbeblavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.11:1 | AAA |
| Text on card | 20.53:1 | AAA |
| Primary button | 10.84:1 | AAA |
| Secondary button | 13.02:1 | AAA |
| Muted text | 10.21:1 | AAA |
| Accent | 15.13:1 | AAA |
| Destructive | 5.20:1 | AA |
| Text on background | 1.04:1 | Fail |
| Text on card | 19.98:1 | AAA |
| Primary button | 7.34:1 | AAA |
| Secondary button | 13.92:1 | AAA |
| Muted text | 7.31:1 | AAA |
| Accent | 13.92:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use FundU in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0 170.538);
--foreground: oklch(0 0 0);
--muted: oklch(0.863 0.053 303.7);
--muted-foreground: oklch(0.256 0 180);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.108 0.026 328.087);
--card: oklch(1 0 180);
--card-foreground: oklch(0.108 0.026 328.087);
--border: oklch(0.863 0.053 303.7);
--input: oklch(0.949 0.042 181.584);
--primary: oklch(0.856 0.166 171.901);
--primary-foreground: oklch(0.256 0 180);
--secondary: oklch(0.337 0.181 295.621);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.949 0.042 181.584);
--accent-foreground: oklch(0.216 0.031 145.181);
--destructive: oklch(0.556 0.188 25.806);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.907 0.079 179.962);
--chart-1: oklch(0.53 0.288 296.654);
--chart-2: oklch(0.907 0.079 179.962);
--chart-3: oklch(0.949 0.042 181.584);
--chart-4: oklch(0.863 0.053 303.7);
--chart-5: oklch(0.939 0.035 304.047);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.985 0 170.538);
--foreground: oklch(1 0 180);
--muted: oklch(0.272 0.054 144.591);
--muted-foreground: oklch(0.776 0.035 146.143);
--popover: oklch(0.14 0.027 327.97);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.027 327.97);
--card-foreground: oklch(1 0 180);
--border: oklch(0.234 0.017 327.162);
--input: oklch(0.234 0.017 327.162);
--primary: oklch(0.909 0.027 326.799);
--primary-foreground: oklch(0.397 0.086 328.246);
--secondary: oklch(0.924 0.027 146.281);
--secondary-foreground: oklch(0.216 0.031 145.181);
--accent: oklch(0.924 0.027 146.281);
--accent-foreground: oklch(0.216 0.031 145.181);
--destructive: oklch(0.644 0.195 34.928);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.909 0.027 326.799);
--chart-1: oklch(0.909 0.027 326.799);
--chart-2: oklch(0.924 0.027 146.281);
--chart-3: oklch(0.924 0.027 146.281);
--chart-4: oklch(0.945 0.02 146.358);
--chart-5: oklch(0.908 0.03 326.825);
}