Uplift is a shadcn/ui theme built around a light pink primary color (#e1a8c2) with muted light pink accents (#ded4d8). The light mode uses a neutral background (#fcf7fa). Dark mode keeps the light pink primary (#e1a8c2) on a pink-tinted background (#0e060a).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7fasnow | #0e060ablack |
| Foreground | #17030cblack | #fdfbfcsnow |
| Card | #fcf7fasnow | #0e060ablack |
| Card foreground | #17030cblack | #fdfbfcsnow |
| Popover | #fcf7fasnow | #0e060ablack |
| Popover foreground | #17030cblack | #fdfbfcsnow |
| Primary | #e1a8c2plum | #e1a8c2plum |
| Primary foreground | #401729darkslategray | #401729darkslategray |
| Secondary | #ded4d8gainsboro | #1d1b1cblack |
| Secondary foreground | #48373fdarkslategray | #b7b4b5silver |
| Muted | #e2d0d8gainsboro | #2f1d25darkslategray |
| Muted foreground | #645e61dimgray | #a19b9edarkgray |
| Accent | #ded4d8gainsboro | #1d1b1cblack |
| Accent foreground | #48373fdarkslategray | #b7b4b5silver |
| Destructive | #8d1c02darkred | #fb3509orangered |
| Destructive foreground | #fecec3peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e1a8c2plum | #e1a8c2plum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.85:1 | AAA |
| Text on card | 18.85:1 | AAA |
| Primary button | 7.70:1 | AAA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 4.28:1 | AA Large |
| Accent | 7.64:1 | AAA |
| Destructive | 6.47:1 | AA |
| Text on background | 19.39:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 7.70:1 | AAA |
| Secondary button | 8.30:1 | AAA |
| Muted text | 5.80:1 | AA |
| Accent | 8.30:1 | AAA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Uplift in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 347.978);
--foreground: oklch(0.144 0.045 352.207);
--muted: oklch(0.874 0.023 348.524);
--muted-foreground: oklch(0.488 0.008 348.281);
--popover: oklch(0.982 0.006 347.978);
--popover-foreground: oklch(0.144 0.045 352.207);
--card: oklch(0.982 0.006 347.978);
--card-foreground: oklch(0.144 0.045 352.207);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.792 0.074 350.214);
--primary-foreground: oklch(0.274 0.069 354.507);
--secondary: oklch(0.878 0.012 348.198);
--secondary-foreground: oklch(0.359 0.026 349.722);
--accent: oklch(0.878 0.012 348.198);
--accent-foreground: oklch(0.359 0.026 349.722);
--destructive: oklch(0.419 0.152 33.176);
--destructive-foreground: oklch(0.889 0.057 32.823);
--ring: oklch(0.792 0.074 350.214);
--chart-1: oklch(0.792 0.074 350.214);
--chart-2: oklch(0.878 0.012 348.198);
--chart-3: oklch(0.878 0.012 348.198);
--chart-4: oklch(0.903 0.01 348.111);
--chart-5: oklch(0.79 0.078 350.366);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.016 349.028);
--foreground: oklch(0.991 0.002 347.879);
--muted: oklch(0.258 0.032 350.973);
--muted-foreground: oklch(0.696 0.008 348.114);
--popover: oklch(0.139 0.016 349.028);
--popover-foreground: oklch(0.991 0.002 347.879);
--card: oklch(0.139 0.016 349.028);
--card-foreground: oklch(0.991 0.002 347.879);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.792 0.074 350.214);
--primary-foreground: oklch(0.274 0.069 354.507);
--secondary: oklch(0.226 0.002 348.051);
--secondary-foreground: oklch(0.771 0.004 347.948);
--accent: oklch(0.226 0.002 348.051);
--accent-foreground: oklch(0.771 0.004 347.948);
--destructive: oklch(0.641 0.236 32.543);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.792 0.074 350.214);
--chart-1: oklch(0.792 0.074 350.214);
--chart-2: oklch(0.226 0.002 348.051);
--chart-3: oklch(0.226 0.002 348.051);
--chart-4: oklch(0.258 0.002 348.069);
--chart-5: oklch(0.79 0.078 350.366);
}