Skeletal is a shadcn/ui theme built around a vivid deep violet primary color (#200042) with vivid deep purple accents (#410042). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the vivid deep violet primary (#200042) on a violet-tinted background (#0a060f).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #0a060fblack |
| Foreground | #0d0614black | #faf9fbghostwhite |
| Card | #faf7fdghostwhite | #0d0712black |
| Card foreground | #0a0510black | #fcfcfdwhite |
| Popover | #fcfbfewhite | #0a060fblack |
| Popover foreground | #0d0614black | #faf9fbghostwhite |
| Primary | #200042midnightblue | #200042midnightblue |
| Primary foreground | #b876femediumpurple | #b876femediumpurple |
| Secondary | #000142midnightblue | #000142midnightblue |
| Secondary foreground | #dbdcfflavender | #dbdcfflavender |
| Muted | #efeff5whitesmoke | #0a0a10black |
| Muted foreground | #3f3f46darkslategray | #b9b9c0silver |
| Accent | #410042indigo | #410042indigo |
| Accent foreground | #fc76feviolet | #fc76feviolet |
| Destructive | #8d2c0csaddlebrown | #ee6b3ftomato |
| Destructive foreground | #fbdbd0bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #200042midnightblue | #200042midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.35:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 14.46:1 | AAA |
| Muted text | 9.14:1 | AAA |
| Accent | 7.02:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.14:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 14.46:1 | AAA |
| Muted text | 10.13:1 | AAA |
| Accent | 7.02:1 | AAA |
| Destructive | 6.79:1 | AA |
Paste this into your globals.css to use Skeletal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 307.742);
--foreground: oklch(0.141 0.032 306.059);
--muted: oklch(0.955 0.008 285.466);
--muted-foreground: oklch(0.37 0.011 285.071);
--popover: oklch(0.99 0.004 307.742);
--popover-foreground: oklch(0.141 0.032 306.059);
--card: oklch(0.98 0.008 307.693);
--card-foreground: oklch(0.13 0.028 307.523);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.207 0.111 298.024);
--primary-foreground: oklch(0.693 0.199 303.996);
--secondary: oklch(0.175 0.116 264.544);
--secondary-foreground: oklch(0.905 0.047 284.643);
--accent: oklch(0.264 0.121 327.561);
--accent-foreground: oklch(0.771 0.227 326.861);
--destructive: oklch(0.437 0.137 36.962);
--destructive-foreground: oklch(0.915 0.039 39.306);
--ring: oklch(0.207 0.111 298.024);
--chart-1: oklch(0.207 0.111 298.024);
--chart-2: oklch(0.175 0.116 264.544);
--chart-3: oklch(0.264 0.121 327.561);
--chart-4: oklch(0.2 0.134 264.459);
--chart-5: oklch(0.207 0.113 297.68);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.022 307.522);
--foreground: oklch(0.984 0.002 307.763);
--muted: oklch(0.147 0.013 283.911);
--muted-foreground: oklch(0.789 0.009 285.409);
--popover: oklch(0.133 0.022 307.522);
--popover-foreground: oklch(0.984 0.002 307.763);
--card: oklch(0.144 0.025 306.23);
--card-foreground: oklch(0.992 0.001 307.776);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.207 0.111 298.024);
--primary-foreground: oklch(0.693 0.199 303.996);
--secondary: oklch(0.175 0.116 264.544);
--secondary-foreground: oklch(0.905 0.047 284.643);
--accent: oklch(0.264 0.121 327.561);
--accent-foreground: oklch(0.771 0.227 326.861);
--destructive: oklch(0.68 0.173 38.537);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.207 0.111 298.024);
--chart-1: oklch(0.207 0.111 298.024);
--chart-2: oklch(0.175 0.116 264.544);
--chart-3: oklch(0.264 0.121 327.561);
--chart-4: oklch(0.2 0.134 264.459);
--chart-5: oklch(0.207 0.113 297.68);
}