Pale is a shadcn/ui theme built around a muted light orange primary color (#eae4dc) with muted light blue accents (#dce2ea). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the muted light orange primary (#eae4dc) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfbsnow | #040301black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fcfaf8snow | #070503black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfaf8snow | #070503black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #eae4dcgainsboro | #eae4dcgainsboro |
| Primary foreground | #5c4d38darkolivegreen | #5c4d38darkolivegreen |
| Secondary | #dce2eagainsboro | #dce2eagainsboro |
| Secondary foreground | #38475cdarkslategray | #38475cdarkslategray |
| Muted | #f0f2f5whitesmoke | #0a0c0fblack |
| Muted foreground | #58616fdimgray | #909aa7darkgray |
| Accent | #dce2eagainsboro | #dce2eagainsboro |
| Accent foreground | #38475cdarkslategray | #38475cdarkslategray |
| Destructive | #a3360asaddlebrown | #f16027chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eae4dcgainsboro | #eae4dcgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.59:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 7.23:1 | AAA |
| Muted text | 5.57:1 | AA |
| Accent | 7.23:1 | AAA |
| Destructive | 6.81:1 | AA |
| Text on background | 20.64:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 7.23:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 7.23:1 | AAA |
| Destructive | 6.46:1 | AA |
Paste this into your globals.css to use Pale in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 76.644);
--foreground: oklch(0 0 0);
--muted: oklch(0.96 0.005 256.671);
--muted-foreground: oklch(0.491 0.026 256.792);
--popover: oklch(0.986 0.004 76.636);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.004 76.636);
--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.921 0.012 76.587);
--primary-foreground: oklch(0.429 0.038 75.784);
--secondary: oklch(0.91 0.012 256.703);
--secondary-foreground: oklch(0.394 0.04 256.844);
--accent: oklch(0.91 0.012 256.703);
--accent-foreground: oklch(0.394 0.04 256.844);
--destructive: oklch(0.487 0.152 38.253);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.921 0.012 76.587);
--chart-1: oklch(0.921 0.012 76.587);
--chart-2: oklch(0.91 0.012 256.703);
--chart-3: oklch(0.91 0.012 256.703);
--chart-4: oklch(0.935 0.009 256.689);
--chart-5: oklch(0.922 0.014 76.578);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.009 82.517);
--foreground: oklch(1 0 180);
--muted: oklch(0.155 0.007 256.801);
--muted-foreground: oklch(0.681 0.023 256.76);
--popover: oklch(0.12 0.011 82.517);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.12 0.011 82.517);
--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.921 0.012 76.587);
--primary-foreground: oklch(0.429 0.038 75.784);
--secondary: oklch(0.91 0.012 256.703);
--secondary-foreground: oklch(0.394 0.04 256.844);
--accent: oklch(0.91 0.012 256.703);
--accent-foreground: oklch(0.394 0.04 256.844);
--destructive: oklch(0.669 0.191 39.725);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.921 0.012 76.587);
--chart-1: oklch(0.921 0.012 76.587);
--chart-2: oklch(0.91 0.012 256.703);
--chart-3: oklch(0.91 0.012 256.703);
--chart-4: oklch(0.935 0.009 256.689);
--chart-5: oklch(0.922 0.014 76.578);
}