Pendant is a shadcn/ui theme built around a cyan primary color (#4794b8) with neutral gray accents (#cdcfd0). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the cyan primary (#4794b8) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fbfdghostwhite | #000000black |
| Foreground | #020608black | #f9fafbghostwhite |
| Card | #f7fbfdghostwhite | #000000black |
| Card foreground | #020608black | #f9fafbghostwhite |
| Popover | #f7fbfdghostwhite | #000000black |
| Popover foreground | #020608black | #f9fafbghostwhite |
| Primary | #4794b8steelblue | #4794b8steelblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #cdcfd0lightgrey | #1e2224black |
| Secondary foreground | #333638darkslategray | #b3bdc1silver |
| Muted | #d1dfe6gainsboro | #19272edarkslategray |
| Muted foreground | #4e5e65dimgray | #9aaab1darkgray |
| Accent | #cdcfd0lightgrey | #1e2224black |
| Accent foreground | #333638darkslategray | #b3bdc1silver |
| Destructive | #8d3807saddlebrown | #f36e20chocolate |
| Destructive foreground | #fcdccabisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4794b8steelblue | #4794b8steelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 6.20:1 | AA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 4.95:1 | AA |
| Accent | 7.79:1 | AAA |
| Destructive | 6.01:1 | AA |
| Text on background | 20.09:1 | AAA |
| Text on card | 20.09:1 | AAA |
| Primary button | 6.20:1 | AA |
| Secondary button | 8.34:1 | AAA |
| Muted text | 6.35:1 | AA |
| Accent | 8.34:1 | AAA |
| Destructive | 7.05:1 | AAA |
Paste this into your globals.css to use Pendant in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.004 226.912);
--foreground: oklch(0.117 0.013 220.748);
--muted: oklch(0.895 0.018 227.111);
--muted-foreground: oklch(0.469 0.023 227.575);
--popover: oklch(0.985 0.004 226.912);
--popover-foreground: oklch(0.117 0.013 220.748);
--card: oklch(0.985 0.004 226.912);
--card-foreground: oklch(0.117 0.013 220.748);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.633 0.092 230.734);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.854 0.003 226.905);
--secondary-foreground: oklch(0.332 0.005 227.035);
--accent: oklch(0.854 0.003 226.905);
--accent-foreground: oklch(0.332 0.005 227.035);
--destructive: oklch(0.452 0.127 44.088);
--destructive-foreground: oklch(0.917 0.043 51.972);
--ring: oklch(0.633 0.092 230.734);
--chart-1: oklch(0.633 0.092 230.734);
--chart-2: oklch(0.854 0.003 226.905);
--chart-3: oklch(0.854 0.003 226.905);
--chart-4: oklch(0.877 0.003 226.896);
--chart-5: oklch(0.636 0.097 231.141);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.001 226.874);
--muted: oklch(0.265 0.023 228.41);
--muted-foreground: oklch(0.728 0.021 227.238);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.985 0.001 226.874);
--card: oklch(0 0 0);
--card-foreground: oklch(0.985 0.001 226.874);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.633 0.092 230.734);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.25 0.008 227.276);
--secondary-foreground: oklch(0.791 0.012 227.051);
--accent: oklch(0.25 0.008 227.276);
--accent-foreground: oklch(0.791 0.012 227.051);
--destructive: oklch(0.689 0.184 45.31);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.633 0.092 230.734);
--chart-1: oklch(0.633 0.092 230.734);
--chart-2: oklch(0.25 0.008 227.276);
--chart-3: oklch(0.25 0.008 227.276);
--chart-4: oklch(0.282 0.009 227.304);
--chart-5: oklch(0.636 0.097 231.141);
}