Skeletal is a shadcn/ui theme built around a green primary color (#38a84d) with purple accents (#a83894). The light mode uses a neutral background (#fbfefc). Dark mode keeps the green primary (#38a84d) on a green-tinted background (#050a06).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #050a06black |
| Foreground | #041006black | #fcfdfcwhite |
| Card | #f7fdf8mintcream | #070d08black |
| Card foreground | #030c05black | #ffffffwhite |
| Popover | #f7fdf8mintcream | #070d08black |
| Popover foreground | #030c05black | #ffffffwhite |
| Primary | #38a84dseagreen | #38a84dseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #a83894mediumvioletred | #a83894mediumvioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f1e9f0whitesmoke | #160e14black |
| Muted foreground | #584b56dimgray | #b4a7b2darkgray |
| Accent | #a83894mediumvioletred | #a83894mediumvioletred |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #861104darkred | #f21f07red |
| Destructive foreground | #fdc5bfpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #38a84dseagreen | #38a84dseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.09:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 3.04:1 | AA Large |
| Secondary button | 5.72:1 | AA |
| Muted text | 6.92:1 | AA |
| Accent | 5.72:1 | AA |
| Destructive | 6.66:1 | AA |
| Text on background | 19.55:1 | AAA |
| Text on card | 19.58:1 | AAA |
| Primary button | 3.04:1 | AA Large |
| Secondary button | 5.72:1 | AA |
| Muted text | 8.23:1 | AAA |
| Accent | 5.72:1 | AA |
| Destructive | 4.20:1 | AA Large |
Paste this into your globals.css to use Skeletal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 151.35);
--foreground: oklch(0.158 0.029 149.76);
--muted: oklch(0.943 0.011 331.578);
--muted-foreground: oklch(0.43 0.024 332.184);
--popover: oklch(0.988 0.008 151.291);
--popover-foreground: oklch(0.141 0.025 150.319);
--card: oklch(0.988 0.008 151.291);
--card-foreground: oklch(0.141 0.025 150.319);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.649 0.165 146.583);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.534 0.179 335.895);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.534 0.179 335.895);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.397 0.151 30.702);
--destructive-foreground: oklch(0.871 0.065 25.774);
--ring: oklch(0.649 0.165 146.583);
--chart-1: oklch(0.649 0.165 146.583);
--chart-2: oklch(0.534 0.179 335.895);
--chart-3: oklch(0.534 0.179 335.895);
--chart-4: oklch(0.56 0.189 335.921);
--chart-5: oklch(0.656 0.172 146.342);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.014 150.873);
--foreground: oklch(0.993 0.003 151.37);
--muted: oklch(0.177 0.017 332.731);
--muted-foreground: oklch(0.742 0.021 331.806);
--popover: oklch(0.152 0.016 150.504);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.152 0.016 150.504);
--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.649 0.165 146.583);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.534 0.179 335.895);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.534 0.179 335.895);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.613 0.24 30.325);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.649 0.165 146.583);
--chart-1: oklch(0.649 0.165 146.583);
--chart-2: oklch(0.534 0.179 335.895);
--chart-3: oklch(0.534 0.179 335.895);
--chart-4: oklch(0.56 0.189 335.921);
--chart-5: oklch(0.656 0.172 146.342);
}