Pyramid is a shadcn/ui theme built around a blue primary color (#7d85c5) with green accents (#85c57d). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#7d85c5) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #050714black | #f9f9fbghostwhite |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #040610black | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #040610black | #fcfcfdwhite |
| Primary | #7d85c5mediumpurple | #7d85c5mediumpurple |
| Primary foreground | #000000black | #000000black |
| Secondary | #c57d85rosybrown | #c57d85rosybrown |
| Secondary foreground | #0b0505black | #0b0505black |
| Muted | #e7d9dbgainsboro | #261819black |
| Muted foreground | #493638darkslategray | #c9b6b8silver |
| Accent | #85c57ddarkseagreen | #85c57ddarkseagreen |
| Accent foreground | #050b05black | #050b05black |
| Destructive | #e25503orangered | #fc6f1ddarkorange |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7d85c5mediumpurple | #7d85c5mediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.05:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 6.03:1 | AA |
| Secondary button | 6.38:1 | AA |
| Muted text | 8.24:1 | AAA |
| Accent | 9.68:1 | AAA |
| Destructive | 3.79:1 | AA Large |
| Text on background | 19.97:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 6.03:1 | AA |
| Secondary button | 6.38:1 | AA |
| Muted text | 8.89:1 | AAA |
| Accent | 9.68:1 | AAA |
| Destructive | 7.39:1 | AAA |
Paste this into your globals.css to use Pyramid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.135 0.03 274.25);
--muted: oklch(0.898 0.016 9.321);
--muted-foreground: oklch(0.356 0.028 10.748);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.124 0.026 273.988);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.124 0.026 273.988);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.636 0.096 277.551);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.666 0.09 12.187);
--secondary-foreground: oklch(0.124 0.013 9.632);
--accent: oklch(0.761 0.119 141.586);
--accent-foreground: oklch(0.138 0.018 140.945);
--destructive: oklch(0.63 0.19 41.757);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.636 0.096 277.551);
--chart-1: oklch(0.636 0.096 277.551);
--chart-2: oklch(0.666 0.09 12.187);
--chart-3: oklch(0.761 0.119 141.586);
--chart-4: oklch(0.693 0.081 11.738);
--chart-5: oklch(0.631 0.103 277.264);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.002 280.296);
--muted: oklch(0.226 0.023 11.334);
--muted-foreground: oklch(0.792 0.022 9.567);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.992 0.001 280.313);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.001 280.313);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.636 0.096 277.551);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.666 0.09 12.187);
--secondary-foreground: oklch(0.124 0.013 9.632);
--accent: oklch(0.761 0.119 141.586);
--accent-foreground: oklch(0.138 0.018 140.945);
--destructive: oklch(0.703 0.191 44.787);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.636 0.096 277.551);
--chart-1: oklch(0.636 0.096 277.551);
--chart-2: oklch(0.666 0.09 12.187);
--chart-3: oklch(0.761 0.119 141.586);
--chart-4: oklch(0.693 0.081 11.738);
--chart-5: oklch(0.631 0.103 277.264);
}