Plump is a shadcn/ui theme built around a muted deep yellow primary color (#454530) with muted deep indigo accents (#303045). The light mode uses a neutral background (#fdfcf7). Dark mode keeps the muted deep yellow primary (#454530) on a yellow-tinted background (#0e0e06).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcf7snow | #0e0e06black |
| Foreground | #040401black | #fdfdfcwhite |
| Card | #fdfcf7snow | #0e0e06black |
| Card foreground | #040401black | #fdfdfcwhite |
| Popover | #fdfcf7snow | #0e0e06black |
| Popover foreground | #040401black | #fdfdfcwhite |
| Primary | #454530darkslategray | #454530darkslategray |
| Primary foreground | #dbdbcclightgrey | #dbdbcclightgrey |
| Secondary | #303045darkslategray | #303045darkslategray |
| Secondary foreground | #ccccdblightgrey | #ccccdblightgrey |
| Muted | #d2d2e0lightgrey | #1f202ddarkslategray |
| Muted foreground | #5b5c6bdimgray | #9494a4darkgray |
| Accent | #303045darkslategray | #303045darkslategray |
| Accent foreground | #ccccdblightgrey | #ccccdblightgrey |
| Destructive | #840606maroon | #f51919red |
| Destructive foreground | #fcbfbflightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #454530darkslategray | #454530darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.02:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 4.40:1 | AA Large |
| Accent | 8.05:1 | AAA |
| Destructive | 6.63:1 | AA |
| Text on background | 18.98:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 7.00:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 5.40:1 | AA |
| Accent | 8.05:1 | AAA |
| Destructive | 4.15:1 | AA Large |
Paste this into your globals.css to use Plump in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.007 105.737);
--foreground: oklch(0.105 0.016 108.239);
--muted: oklch(0.868 0.019 285.229);
--muted-foreground: oklch(0.479 0.025 284.646);
--popover: oklch(0.991 0.007 105.737);
--popover-foreground: oklch(0.105 0.016 108.239);
--card: oklch(0.991 0.007 105.737);
--card-foreground: oklch(0.105 0.016 108.239);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.384 0.033 107.052);
--primary-foreground: oklch(0.888 0.021 106.024);
--secondary: oklch(0.32 0.037 283.361);
--secondary-foreground: oklch(0.85 0.021 285.164);
--accent: oklch(0.32 0.037 283.361);
--accent-foreground: oklch(0.85 0.021 285.164);
--destructive: oklch(0.388 0.155 28.664);
--destructive-foreground: oklch(0.861 0.07 18.618);
--ring: oklch(0.384 0.033 107.052);
--chart-1: oklch(0.384 0.033 107.052);
--chart-2: oklch(0.32 0.037 283.361);
--chart-3: oklch(0.32 0.037 283.361);
--chart-4: oklch(0.346 0.041 283.298);
--chart-5: oklch(0.39 0.038 107.229);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.162 0.018 107.442);
--foreground: oklch(0.993 0.001 105.632);
--muted: oklch(0.248 0.026 283.613);
--muted-foreground: oklch(0.671 0.023 284.99);
--popover: oklch(0.162 0.018 107.442);
--popover-foreground: oklch(0.993 0.001 105.632);
--card: oklch(0.162 0.018 107.442);
--card-foreground: oklch(0.993 0.001 105.632);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.384 0.033 107.052);
--primary-foreground: oklch(0.888 0.021 106.024);
--secondary: oklch(0.32 0.037 283.361);
--secondary-foreground: oklch(0.85 0.021 285.164);
--accent: oklch(0.32 0.037 283.361);
--accent-foreground: oklch(0.85 0.021 285.164);
--destructive: oklch(0.617 0.244 28.419);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.384 0.033 107.052);
--chart-1: oklch(0.384 0.033 107.052);
--chart-2: oklch(0.32 0.037 283.361);
--chart-3: oklch(0.32 0.037 283.361);
--chart-4: oklch(0.346 0.041 283.298);
--chart-5: oklch(0.39 0.038 107.229);
}