Skeletal is a shadcn/ui theme built around a muted green primary color (#808c73) with muted pink accents (#8c7380). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#808c73) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #f7f9f6whitesmoke |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #000000black | #fafbf9snow |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #000000black | #fafbf9snow |
| Primary | #808c73gray | #808c73gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #73808cslategray | #73808cslategray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e3e8edlavender | #12171cblack |
| Muted foreground | #454d54darkslategray | #abb3badarkgray |
| Accent | #8c7380gray | #8c7380gray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #c44a03chocolate | #fb6209orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #808c73gray | #808c73gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 5.92:1 | AA |
| Secondary button | 4.06:1 | AA Large |
| Muted text | 6.97:1 | AA |
| Accent | 4.31:1 | AA Large |
| Destructive | 4.86:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 5.92:1 | AA |
| Secondary button | 4.06:1 | AA Large |
| Muted text | 8.49:1 | AAA |
| Accent | 4.31:1 | AA Large |
| Destructive | 6.85:1 | AA |
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 0 0);
--muted: oklch(0.929 0.009 247.92);
--muted-foreground: oklch(0.414 0.016 248.218);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.623 0.04 129.203);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.592 0.025 248.244);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.583 0.037 346.716);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.567 0.169 42.124);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.623 0.04 129.203);
--chart-1: oklch(0.623 0.04 129.203);
--chart-2: oklch(0.592 0.025 248.244);
--chart-3: oklch(0.583 0.037 346.716);
--chart-4: oklch(0.618 0.023 248.199);
--chart-5: oklch(0.631 0.052 129.42);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.98 0.004 128.51);
--muted: oklch(0.201 0.013 248.461);
--muted-foreground: oklch(0.761 0.014 248.011);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.987 0.003 128.493);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.987 0.003 128.493);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.623 0.04 129.203);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.592 0.025 248.244);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.583 0.037 346.716);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.685 0.203 42.194);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.623 0.04 129.203);
--chart-1: oklch(0.623 0.04 129.203);
--chart-2: oklch(0.592 0.025 248.244);
--chart-3: oklch(0.583 0.037 346.716);
--chart-4: oklch(0.618 0.023 248.199);
--chart-5: oklch(0.631 0.052 129.42);
}