Proud is a shadcn/ui theme built around a light green primary color (#d7efe2) with light orange accents (#efe2d7). The light mode uses a neutral background (#f6fdfa). Dark mode keeps the light green primary (#d7efe2) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fdfamintcream | #020302black |
| Foreground | #06130cblack | #ffffffwhite |
| Card | #f2fcf7mintcream | #030705black |
| Card foreground | #050f0ablack | #ffffffwhite |
| Popover | #f6fdfamintcream | #020302black |
| Popover foreground | #06130cblack | #ffffffwhite |
| Primary | #d7efe2gainsboro | #d7efe2gainsboro |
| Primary foreground | #0d2116black | #0d2116black |
| Secondary | #e2d7eflavender | #e2d7eflavender |
| Secondary foreground | #482a6adarkslateblue | #482a6adarkslateblue |
| Muted | #e3e0e6gainsboro | #1c191fblack |
| Muted foreground | #625572dimgray | #9b8daadarkgray |
| Accent | #efe2d7antiquewhite | #efe2d7antiquewhite |
| Accent foreground | #6a482asaddlebrown | #6a482asaddlebrown |
| Destructive | #5d1b09maroon | #eb5328chocolate |
| Destructive foreground | #f6b4a2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d7efe2gainsboro | #d7efe2gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.44:1 | AAA |
| Text on card | 18.63:1 | AAA |
| Primary button | 13.90:1 | AAA |
| Secondary button | 8.37:1 | AAA |
| Muted text | 5.25:1 | AA |
| Accent | 6.42:1 | AA |
| Destructive | 7.34:1 | AAA |
| Text on background | 20.62:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 13.90:1 | AAA |
| Secondary button | 8.37:1 | AAA |
| Muted text | 5.60:1 | AA |
| Accent | 6.42:1 | AA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Proud in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.009 163.223);
--foreground: oklch(0.173 0.024 160.053);
--muted: oklch(0.911 0.008 307.004);
--muted-foreground: oklch(0.473 0.05 305.807);
--popover: oklch(0.989 0.009 163.223);
--popover-foreground: oklch(0.173 0.024 160.053);
--card: oklch(0.983 0.013 163.109);
--card-foreground: oklch(0.157 0.021 161.665);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.931 0.031 162.587);
--primary-foreground: oklch(0.226 0.033 158.869);
--secondary: oklch(0.895 0.035 306.638);
--secondary-foreground: oklch(0.356 0.108 302.809);
--accent: oklch(0.92 0.021 63.8);
--accent-foreground: oklch(0.432 0.064 61.071);
--destructive: oklch(0.327 0.101 35.678);
--destructive-foreground: oklch(0.827 0.082 36.05);
--ring: oklch(0.931 0.031 162.587);
--chart-1: oklch(0.931 0.031 162.587);
--chart-2: oklch(0.895 0.035 306.638);
--chart-3: oklch(0.92 0.021 63.8);
--chart-4: oklch(0.924 0.025 306.78);
--chart-5: oklch(0.932 0.033 162.527);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.009 163.49);
--foreground: oklch(1 0 180);
--muted: oklch(0.22 0.011 306.475);
--muted-foreground: oklch(0.664 0.046 306.262);
--popover: oklch(0.096 0.009 163.49);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.011 163.49);
--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.931 0.031 162.587);
--primary-foreground: oklch(0.226 0.033 158.869);
--secondary: oklch(0.895 0.035 306.638);
--secondary-foreground: oklch(0.356 0.108 302.809);
--accent: oklch(0.92 0.021 63.8);
--accent-foreground: oklch(0.432 0.064 61.071);
--destructive: oklch(0.643 0.196 35.72);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.931 0.031 162.587);
--chart-1: oklch(0.931 0.031 162.587);
--chart-2: oklch(0.895 0.035 306.638);
--chart-3: oklch(0.92 0.021 63.8);
--chart-4: oklch(0.924 0.025 306.78);
--chart-5: oklch(0.932 0.033 162.527);
}