Proposal is a shadcn/ui theme built around a vivid teal primary color (#16a780) with vivid yellow accents (#a78016). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#16a780) on a neutral background (#020806).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020806black |
| Foreground | #010403black | #f5faf9mintcream |
| Card | #ffffffwhite | #020806black |
| Card foreground | #010403black | #f5faf9mintcream |
| Popover | #ffffffwhite | #020806black |
| Popover foreground | #010403black | #f5faf9mintcream |
| Primary | #16a780darkcyan | #16a780darkcyan |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #8016a7darkmagenta | #8016a7darkmagenta |
| Secondary foreground | #faf1fdghostwhite | #faf1fdghostwhite |
| Muted | #e6dbebgainsboro | #201424black |
| Muted foreground | #665d69dimgray | #9e96a2darkgray |
| Accent | #a78016darkgoldenrod | #a78016darkgoldenrod |
| Accent foreground | #000000black | #000000black |
| Destructive | #cb5510chocolate | #ec6313chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #16a780darkcyan | #16a780darkcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.58:1 | AAA |
| Text on card | 20.58:1 | AAA |
| Primary button | 3.05:1 | AA Large |
| Secondary button | 7.35:1 | AAA |
| Muted text | 4.72:1 | AA |
| Accent | 5.75:1 | AA |
| Destructive | 4.34:1 | AA Large |
| Text on background | 19.15:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 3.05:1 | AA Large |
| Secondary button | 7.35:1 | AAA |
| Muted text | 6.17:1 | AA |
| Accent | 5.75:1 | AA |
| Destructive | 6.34:1 | AA |
Paste this into your globals.css to use Proposal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.1 0.013 178.895);
--muted: oklch(0.906 0.024 317.13);
--muted-foreground: oklch(0.492 0.022 317.09);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.1 0.013 178.895);
--card: oklch(1 0 180);
--card-foreground: oklch(0.1 0.013 178.895);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.649 0.127 168.274);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.459 0.212 314.058);
--secondary-foreground: oklch(0.97 0.018 317.147);
--accent: oklch(0.622 0.121 86.022);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.593 0.166 44.113);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.649 0.127 168.274);
--chart-1: oklch(0.649 0.127 168.274);
--chart-2: oklch(0.459 0.212 314.058);
--chart-3: oklch(0.622 0.121 86.022);
--chart-4: oklch(0.485 0.225 314);
--chart-5: oklch(0.656 0.13 167.904);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.015 178.884);
--foreground: oklch(0.981 0.006 178.598);
--muted: oklch(0.215 0.033 316.811);
--muted-foreground: oklch(0.683 0.02 317.123);
--popover: oklch(0.125 0.015 178.884);
--popover-foreground: oklch(0.981 0.006 178.598);
--card: oklch(0.125 0.015 178.884);
--card-foreground: oklch(0.981 0.006 178.598);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.649 0.127 168.274);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.459 0.212 314.058);
--secondary-foreground: oklch(0.97 0.018 317.147);
--accent: oklch(0.622 0.121 86.022);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.663 0.187 43.852);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.649 0.127 168.274);
--chart-1: oklch(0.649 0.127 168.274);
--chart-2: oklch(0.459 0.212 314.058);
--chart-3: oklch(0.622 0.121 86.022);
--chart-4: oklch(0.485 0.225 314);
--chart-5: oklch(0.656 0.13 167.904);
}