Peppery is a shadcn/ui theme built around a purple primary color (#c31da5) with pink accents (#c31d52). The light mode uses a neutral background (#ffffff). Dark mode keeps the purple primary (#c31da5) on a neutral background (#070306).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070306black |
| Foreground | #150412black | #fdfcfdwhite |
| Card | #ffffffwhite | #070306black |
| Card foreground | #150412black | #fdfcfdwhite |
| Popover | #ffffffwhite | #070306black |
| Popover foreground | #150412black | #fdfcfdwhite |
| Primary | #c31da5mediumvioletred | #c31da5mediumvioletred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #8f1dc3darkorchid | #8f1dc3darkorchid |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ebe9edlavender | #151216black |
| Muted foreground | #483c4edarkslategray | #bdb1c3silver |
| Accent | #c31d52crimson | #c31d52crimson |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #890801darkred | #fe2b20orangered |
| Destructive foreground | #ffc0bdlightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c31da5mediumvioletred | #c31da5mediumvioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 5.19:1 | AA |
| Secondary button | 6.71:1 | AA |
| Muted text | 8.54:1 | AAA |
| Accent | 5.79:1 | AA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.99:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 5.19:1 | AA |
| Secondary button | 6.71:1 | AA |
| Muted text | 9.03:1 | AAA |
| Accent | 5.79:1 | AA |
| Destructive | 3.76:1 | AA Large |
Paste this into your globals.css to use Peppery in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.15 0.041 334.401);
--muted: oklch(0.936 0.006 315.4);
--muted-foreground: oklch(0.376 0.034 315.046);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.15 0.041 334.401);
--card: oklch(1 0 180);
--card-foreground: oklch(0.15 0.041 334.401);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.565 0.233 337.574);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.505 0.235 311.173);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.534 0.198 10.164);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.399 0.159 29.999);
--destructive-foreground: oklch(0.864 0.072 22.112);
--ring: oklch(0.565 0.233 337.574);
--chart-1: oklch(0.565 0.233 337.574);
--chart-2: oklch(0.505 0.235 311.173);
--chart-3: oklch(0.534 0.198 10.164);
--chart-4: oklch(0.53 0.247 311.121);
--chart-5: oklch(0.57 0.238 337.771);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.013 331.973);
--foreground: oklch(0.992 0.001 331.427);
--muted: oklch(0.189 0.009 315.222);
--muted-foreground: oklch(0.777 0.028 315.273);
--popover: oklch(0.111 0.013 331.973);
--popover-foreground: oklch(0.992 0.001 331.427);
--card: oklch(0.111 0.013 331.973);
--card-foreground: oklch(0.992 0.001 331.427);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.565 0.233 337.574);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.505 0.235 311.173);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.534 0.198 10.164);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.64 0.242 29.158);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.565 0.233 337.574);
--chart-1: oklch(0.565 0.233 337.574);
--chart-2: oklch(0.505 0.235 311.173);
--chart-3: oklch(0.534 0.198 10.164);
--chart-4: oklch(0.53 0.247 311.121);
--chart-5: oklch(0.57 0.238 337.771);
}