Peppery is a shadcn/ui theme built around a muted violet primary color (#a280b3) with muted teal accents (#80b3a2). The light mode uses a neutral background (#fbf8fc). Dark mode keeps the muted violet primary (#a280b3) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf8fcghostwhite | #030104black |
| Foreground | #100416black | #fdfcfdwhite |
| Card | #f9f4fbghostwhite | #060208black |
| Card foreground | #0d0311black | #ffffffwhite |
| Popover | #f9f4fbghostwhite | #060208black |
| Popover foreground | #0d0311black | #ffffffwhite |
| Primary | #a280b3darkgray | #a280b3darkgray |
| Primary foreground | #000000black | #000000black |
| Secondary | #b3a280rosybrown | #b3a280rosybrown |
| Secondary foreground | #000000black | #000000black |
| Muted | #e2e1dfgainsboro | #201f1dblack |
| Muted foreground | #5a5a58dimgray | #a7a6a5darkgray |
| Accent | #80b3a2darkseagreen | #80b3a2darkseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #b6170cfirebrick | #f13022orangered |
| Destructive foreground | #fef6f5lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a280b3darkgray | #a280b3darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.91:1 | AAA |
| Text on card | 18.62:1 | AAA |
| Primary button | 6.25:1 | AA |
| Secondary button | 8.40:1 | AAA |
| Muted text | 5.28:1 | AA |
| Accent | 8.84:1 | AAA |
| Destructive | 6.31:1 | AA |
| Text on background | 20.31:1 | AAA |
| Text on card | 20.57:1 | AAA |
| Primary button | 6.25:1 | AA |
| Secondary button | 8.40:1 | AAA |
| Muted text | 6.76:1 | AA |
| Accent | 8.84:1 | AAA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use Peppery in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.007 315.398);
--foreground: oklch(0.141 0.044 315.047);
--muted: oklch(0.91 0.003 86.02);
--muted-foreground: oklch(0.466 0.002 86.024);
--popover: oklch(0.972 0.01 315.383);
--popover-foreground: oklch(0.129 0.039 315.954);
--card: oklch(0.972 0.01 315.383);
--card-foreground: oklch(0.129 0.039 315.954);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.649 0.084 314.872);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.718 0.052 86.016);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.724 0.059 172.959);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.496 0.192 29.728);
--destructive-foreground: oklch(0.979 0.009 22.319);
--ring: oklch(0.649 0.084 314.872);
--chart-1: oklch(0.649 0.084 314.872);
--chart-2: oklch(0.718 0.052 86.016);
--chart-3: oklch(0.724 0.059 172.959);
--chart-4: oklch(0.74 0.048 86.05);
--chart-5: oklch(0.646 0.094 314.797);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.082 0.02 317.512);
--foreground: oklch(0.991 0.003 315.417);
--muted: oklch(0.24 0.004 86.066);
--muted-foreground: oklch(0.726 0.002 86.017);
--popover: oklch(0.104 0.025 317.512);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.104 0.025 317.512);
--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.649 0.084 314.872);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.718 0.052 86.016);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.724 0.059 172.959);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.621 0.228 29.443);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.649 0.084 314.872);
--chart-1: oklch(0.649 0.084 314.872);
--chart-2: oklch(0.718 0.052 86.016);
--chart-3: oklch(0.724 0.059 172.959);
--chart-4: oklch(0.74 0.048 86.05);
--chart-5: oklch(0.646 0.094 314.797);
}