Peppery is a shadcn/ui theme built around a deep indigo primary color (#3d3361) with deep violet accents (#543361). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the deep indigo primary (#3d3361) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #000000black |
| Foreground | #000000black | #fcfcfdwhite |
| Card | #fcfbfewhite | #000000black |
| Card foreground | #000000black | #fcfcfdwhite |
| Popover | #fcfbfewhite | #000000black |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #3d3361darkslategray | #3d3361darkslategray |
| Primary foreground | #dedaecgainsboro | #dedaecgainsboro |
| Secondary | #334061darkslategray | #334061darkslategray |
| Secondary foreground | #dadfecgainsboro | #dadfecgainsboro |
| Muted | #dadfecgainsboro | #131825black |
| Muted foreground | #5c5e60dimgray | #9fa0a3darkgray |
| Accent | #543361darkslateblue | #543361darkslateblue |
| Accent foreground | #e7daeclavender | #e7daeclavender |
| Destructive | #e04f00orangered | #f05400orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3d3361darkslategray | #3d3361darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.36:1 | AAA |
| Text on card | 20.36:1 | AAA |
| Primary button | 8.32:1 | AAA |
| Secondary button | 7.69:1 | AAA |
| Muted text | 4.87:1 | AA |
| Accent | 7.73:1 | AAA |
| Destructive | 3.97:1 | AA Large |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.48:1 | AAA |
| Primary button | 8.32:1 | AAA |
| Secondary button | 7.69:1 | AAA |
| Muted text | 6.77:1 | AA |
| Accent | 7.73:1 | AAA |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Peppery in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 296.261);
--foreground: oklch(0 0 0);
--muted: oklch(0.903 0.019 268.633);
--muted-foreground: oklch(0.48 0.005 268.724);
--popover: oklch(0.989 0.004 296.261);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.004 296.261);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.355 0.078 291.891);
--primary-foreground: oklch(0.897 0.024 295.844);
--secondary: oklch(0.376 0.059 267.089);
--secondary-foreground: oklch(0.904 0.018 268.643);
--accent: oklch(0.381 0.085 315.85);
--accent-foreground: oklch(0.904 0.027 316.522);
--destructive: oklch(0.619 0.194 40.171);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.355 0.078 291.891);
--chart-1: oklch(0.355 0.078 291.891);
--chart-2: oklch(0.376 0.059 267.089);
--chart-3: oklch(0.381 0.085 315.85);
--chart-4: oklch(0.401 0.064 267.054);
--chart-5: oklch(0.35 0.085 291.322);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.002 296.294);
--muted: oklch(0.211 0.028 267.433);
--muted-foreground: oklch(0.705 0.004 268.75);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.991 0.002 296.294);
--card: oklch(0 0 0);
--card-foreground: oklch(0.991 0.002 296.294);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.355 0.078 291.891);
--primary-foreground: oklch(0.897 0.024 295.844);
--secondary: oklch(0.376 0.059 267.089);
--secondary-foreground: oklch(0.904 0.018 268.643);
--accent: oklch(0.381 0.085 315.85);
--accent-foreground: oklch(0.904 0.027 316.522);
--destructive: oklch(0.65 0.204 40.009);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.355 0.078 291.891);
--chart-1: oklch(0.355 0.078 291.891);
--chart-2: oklch(0.376 0.059 267.089);
--chart-3: oklch(0.381 0.085 315.85);
--chart-4: oklch(0.401 0.064 267.054);
--chart-5: oklch(0.35 0.085 291.322);
}