Skeletal is a shadcn/ui theme built around an orange primary color (#a5723b) with violet accents (#723ba5). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the orange primary (#a5723b) on an orange-tinted background (#0f0a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #0f0a05black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fdfcfcsnow | #0f0a05black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdfcfcsnow | #0f0a05black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #a5723bsienna | #a5723bsienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #3ba572mediumseagreen | #3ba572mediumseagreen |
| Secondary foreground | #050f0ablack | #050f0ablack |
| Muted | #f1f3f2whitesmoke | #0c0e0dblack |
| Muted foreground | #394c43darkslategray | #b3c6bdsilver |
| Accent | #723ba5rebeccapurple | #723ba5rebeccapurple |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d6550achocolate | #f67d37coral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a5723bsienna | #a5723bsienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.57:1 | AAA |
| Text on card | 20.57:1 | AAA |
| Primary button | 4.14:1 | AA Large |
| Secondary button | 6.30:1 | AA |
| Muted text | 8.25:1 | AAA |
| Accent | 7.25:1 | AAA |
| Destructive | 4.06:1 | AA Large |
| Text on background | 19.66:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 4.14:1 | AA Large |
| Secondary button | 6.30:1 | AA |
| Muted text | 10.82:1 | AAA |
| Accent | 7.25:1 | AAA |
| Destructive | 7.89:1 | AAA |
Paste this into your globals.css to use Skeletal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 69.635);
--foreground: oklch(0 0 0);
--muted: oklch(0.963 0.003 165.939);
--muted-foreground: oklch(0.396 0.028 163.977);
--popover: oklch(0.993 0.002 69.635);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.993 0.002 69.635);
--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.593 0.096 65.895);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.648 0.124 158.729);
--secondary-foreground: oklch(0.156 0.019 164.201);
--accent: oklch(0.475 0.165 304.634);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.611 0.178 42.911);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.593 0.096 65.895);
--chart-1: oklch(0.593 0.096 65.895);
--chart-2: oklch(0.648 0.124 158.729);
--chart-3: oklch(0.475 0.165 304.634);
--chart-4: oklch(0.68 0.131 158.68);
--chart-5: oklch(0.597 0.101 65.462);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.151 0.015 72.777);
--foreground: oklch(1 0 180);
--muted: oklch(0.16 0.004 165.261);
--muted-foreground: oklch(0.81 0.024 165.21);
--popover: oklch(0.151 0.015 72.777);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.151 0.015 72.777);
--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.593 0.096 65.895);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.648 0.124 158.729);
--secondary-foreground: oklch(0.156 0.019 164.201);
--accent: oklch(0.475 0.165 304.634);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.717 0.168 47.46);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.593 0.096 65.895);
--chart-1: oklch(0.593 0.096 65.895);
--chart-2: oklch(0.648 0.124 158.729);
--chart-3: oklch(0.475 0.165 304.634);
--chart-4: oklch(0.68 0.131 158.68);
--chart-5: oklch(0.597 0.101 65.462);
}