Skeletal is a shadcn/ui theme built around a deep purple primary color (#4d2348) with deep cyan accents (#23484d). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep purple primary (#4d2348) on a neutral background (#040103).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040103black |
| Foreground | #130612black | #ffffffwhite |
| Card | #fcfcfcsnow | #070307black |
| Card foreground | #10050eblack | #ffffffwhite |
| Popover | #ffffffwhite | #040103black |
| Popover foreground | #130612black | #ffffffwhite |
| Primary | #4d2348darkslategray | #4d2348darkslategray |
| Primary foreground | #e3c0dethistle | #e3c0dethistle |
| Secondary | #484d23darkolivegreen | #484d23darkolivegreen |
| Secondary foreground | #dee3c0wheat | #dee3c0wheat |
| Muted | #eceeddbeige | #202211black |
| Muted foreground | #4b4c43darkslategray | #bbbcb3silver |
| Accent | #23484ddarkslategray | #23484ddarkslategray |
| Accent foreground | #c0dee3powderblue | #c0dee3powderblue |
| Destructive | #b60802firebrick | #fd1008red |
| Destructive foreground | #ffebeblinen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4d2348darkslategray | #4d2348darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.76:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 6.67:1 | AA |
| Muted text | 7.39:1 | AAA |
| Accent | 6.98:1 | AA |
| Destructive | 6.07:1 | AA |
| Text on background | 20.74:1 | AAA |
| Text on card | 20.49:1 | AAA |
| Primary button | 7.78:1 | AAA |
| Secondary button | 6.67:1 | AA |
| Muted text | 8.42:1 | AAA |
| Accent | 6.98:1 | AA |
| Destructive | 4.01:1 | AA Large |
Paste this into your globals.css to use Skeletal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.151 0.034 331.316);
--muted: oklch(0.943 0.023 112.236);
--muted-foreground: oklch(0.412 0.014 112.412);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.151 0.034 331.316);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.138 0.029 330.97);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.33 0.084 331.84);
--primary-foreground: oklch(0.846 0.057 329.89);
--secondary: oklch(0.407 0.064 114.765);
--secondary-foreground: oklch(0.902 0.046 112.735);
--accent: oklch(0.378 0.044 206.688);
--accent-foreground: oklch(0.881 0.033 206.275);
--destructive: oklch(0.489 0.198 29.529);
--destructive-foreground: oklch(0.957 0.021 19.922);
--ring: oklch(0.33 0.084 331.84);
--chart-1: oklch(0.33 0.084 331.84);
--chart-2: oklch(0.407 0.064 114.765);
--chart-3: oklch(0.378 0.044 206.688);
--chart-4: oklch(0.443 0.07 114.819);
--chart-5: oklch(0.331 0.09 332.02);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.016 330.142);
--foreground: oklch(1 0 180);
--muted: oklch(0.245 0.03 114.104);
--muted-foreground: oklch(0.792 0.012 112.062);
--popover: oklch(0.087 0.016 330.142);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.109 0.02 330.142);
--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.33 0.084 331.84);
--primary-foreground: oklch(0.846 0.057 329.89);
--secondary: oklch(0.407 0.064 114.765);
--secondary-foreground: oklch(0.902 0.046 112.735);
--accent: oklch(0.378 0.044 206.688);
--accent-foreground: oklch(0.881 0.033 206.275);
--destructive: oklch(0.626 0.253 29.328);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.33 0.084 331.84);
--chart-1: oklch(0.33 0.084 331.84);
--chart-2: oklch(0.407 0.064 114.765);
--chart-3: oklch(0.378 0.044 206.688);
--chart-4: oklch(0.443 0.07 114.819);
--chart-5: oklch(0.331 0.09 332.02);
}