Peppery is a shadcn/ui theme built around a muted light teal primary color (#d1e5e4) with muted light blue accents (#d1dce5). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the muted light teal primary (#d1e5e4) on a teal-tinted background (#070d0d).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #070d0dblack |
| Foreground | #030d0cblack | #f7f8f8whitesmoke |
| Card | #fcfdfdwhite | #070d0dblack |
| Card foreground | #030d0cblack | #f7f8f8whitesmoke |
| Popover | #fcfdfdwhite | #070d0dblack |
| Popover foreground | #030d0cblack | #f7f8f8whitesmoke |
| Primary | #d1e5e4gainsboro | #d1e5e4gainsboro |
| Primary foreground | #305553darkslategray | #305553darkslategray |
| Secondary | #d1e5dagainsboro | #d1e5dagainsboro |
| Secondary foreground | #305540darkslategray | #305540darkslategray |
| Muted | #d1e6dagainsboro | #192e23darkslategray |
| Muted foreground | #49504cdarkslategray | #afb6b2darkgray |
| Accent | #d1dce5gainsboro | #d1dce5gainsboro |
| Accent foreground | #304455darkslategray | #304455darkslategray |
| Destructive | #871b08darkred | #f3492btomato |
| Destructive foreground | #fccdc5pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d1e5e4gainsboro | #d1e5e4gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.33:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 6.30:1 | AA |
| Secondary button | 6.39:1 | AA |
| Muted text | 6.31:1 | AA |
| Accent | 7.25:1 | AAA |
| Destructive | 6.70:1 | AA |
| Text on background | 18.36:1 | AAA |
| Text on card | 18.36:1 | AAA |
| Primary button | 6.30:1 | AA |
| Secondary button | 6.39:1 | AA |
| Muted text | 6.96:1 | AA |
| Accent | 7.25:1 | AAA |
| Destructive | 3.63:1 | AA Large |
Paste this into your globals.css to use Peppery in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 193.574);
--foreground: oklch(0.146 0.018 191.927);
--muted: oklch(0.905 0.027 161.868);
--muted-foreground: oklch(0.424 0.012 161.903);
--popover: oklch(0.994 0.002 193.574);
--popover-foreground: oklch(0.146 0.018 191.927);
--card: oklch(0.994 0.002 193.574);
--card-foreground: oklch(0.146 0.018 191.927);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.908 0.021 193.145);
--primary-foreground: oklch(0.421 0.043 191.541);
--secondary: oklch(0.905 0.026 161.893);
--secondary-foreground: oklch(0.415 0.055 158.699);
--accent: oklch(0.89 0.017 242.449);
--accent-foreground: oklch(0.377 0.039 243.725);
--destructive: oklch(0.407 0.146 32.122);
--destructive-foreground: oklch(0.887 0.054 29.807);
--ring: oklch(0.908 0.021 193.145);
--chart-1: oklch(0.908 0.021 193.145);
--chart-2: oklch(0.905 0.026 161.893);
--chart-3: oklch(0.89 0.017 242.449);
--chart-4: oklch(0.925 0.02 162.067);
--chart-5: oklch(0.909 0.023 193.098);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.011 192.406);
--foreground: oklch(0.978 0.002 193.571);
--muted: oklch(0.28 0.034 159.086);
--muted-foreground: oklch(0.77 0.01 162.282);
--popover: oklch(0.154 0.011 192.406);
--popover-foreground: oklch(0.978 0.002 193.571);
--card: oklch(0.154 0.011 192.406);
--card-foreground: oklch(0.978 0.002 193.571);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.908 0.021 193.145);
--primary-foreground: oklch(0.421 0.043 191.541);
--secondary: oklch(0.905 0.026 161.893);
--secondary-foreground: oklch(0.415 0.055 158.699);
--accent: oklch(0.89 0.017 242.449);
--accent-foreground: oklch(0.377 0.039 243.725);
--destructive: oklch(0.645 0.211 32.377);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.908 0.021 193.145);
--chart-1: oklch(0.908 0.021 193.145);
--chart-2: oklch(0.905 0.026 161.893);
--chart-3: oklch(0.89 0.017 242.449);
--chart-4: oklch(0.925 0.02 162.067);
--chart-5: oklch(0.909 0.023 193.098);
}