Peppery is a shadcn/ui theme built around a vivid light green primary color (#f8fdc3) with vivid light green accents (#dbfdc3). The light mode uses a neutral background (#fcfcf8). Dark mode keeps the vivid light green primary (#f8fdc3) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcf8snow | #000000black |
| Foreground | #131505black | #ffffffwhite |
| Card | #fafbf4floralwhite | #030303black |
| Card foreground | #0f1004black | #ffffffwhite |
| Popover | #fcfcf8snow | #000000black |
| Popover foreground | #131505black | #ffffffwhite |
| Primary | #f8fdc3lemonchiffon | #f8fdc3lemonchiffon |
| Primary foreground | #242801black | #242801black |
| Secondary | #fde6c3bisque | #fde6c3bisque |
| Secondary foreground | #281801black | #281801black |
| Muted | #e4dbcdgainsboro | #32291bdarkslategray |
| Muted foreground | #55524edarkslategray | #b1aeaadarkgray |
| Accent | #dbfdc3lightgoldenrodyellow | #dbfdc3lightgoldenrodyellow |
| Accent foreground | #112801black | #112801black |
| Destructive | #78200dmaroon | #e73e18orangered |
| Destructive foreground | #f8c9bepink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f8fdc3lemonchiffon | #f8fdc3lemonchiffon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.97:1 | AAA |
| Text on card | 18.39:1 | AAA |
| Primary button | 14.41:1 | AAA |
| Secondary button | 14.18:1 | AAA |
| Muted text | 5.67:1 | AA |
| Accent | 14.23:1 | AAA |
| Destructive | 6.99:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 14.41:1 | AAA |
| Secondary button | 14.18:1 | AAA |
| Muted text | 6.50:1 | AA |
| Accent | 14.23:1 | AAA |
| Destructive | 4.12:1 | AA Large |
Paste this into your globals.css to use Peppery in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.006 111.133);
--foreground: oklch(0.187 0.03 113.713);
--muted: oklch(0.895 0.021 78.219);
--muted-foreground: oklch(0.441 0.007 78.254);
--popover: oklch(0.99 0.006 111.133);
--popover-foreground: oklch(0.187 0.03 113.713);
--card: oklch(0.985 0.009 111.194);
--card-foreground: oklch(0.169 0.026 113.343);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.977 0.075 112.426);
--primary-foreground: oklch(0.263 0.058 115.293);
--secondary: oklch(0.936 0.052 77.983);
--secondary-foreground: oklch(0.225 0.046 75.821);
--accent: oklch(0.956 0.084 133.066);
--accent-foreground: oklch(0.247 0.07 135.02);
--destructive: oklch(0.384 0.125 33.833);
--destructive-foreground: oklch(0.874 0.056 32.822);
--ring: oklch(0.977 0.075 112.426);
--chart-1: oklch(0.977 0.075 112.426);
--chart-2: oklch(0.936 0.052 77.983);
--chart-3: oklch(0.956 0.084 133.066);
--chart-4: oklch(0.951 0.039 78.108);
--chart-5: oklch(0.979 0.077 112.464);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.285 0.027 77.431);
--muted-foreground: oklch(0.752 0.006 78.285);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.977 0.075 112.426);
--primary-foreground: oklch(0.263 0.058 115.293);
--secondary: oklch(0.936 0.052 77.983);
--secondary-foreground: oklch(0.225 0.046 75.821);
--accent: oklch(0.956 0.084 133.066);
--accent-foreground: oklch(0.247 0.07 135.02);
--destructive: oklch(0.614 0.21 33.473);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.977 0.075 112.426);
--chart-1: oklch(0.977 0.075 112.426);
--chart-2: oklch(0.936 0.052 77.983);
--chart-3: oklch(0.956 0.084 133.066);
--chart-4: oklch(0.951 0.039 78.108);
--chart-5: oklch(0.979 0.077 112.464);
}