Skeletal is a shadcn/ui theme built around a light green primary color (#eef2cf) with light green accents (#dcf2cf). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#eef2cf) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #f8f8f6whitesmoke |
| Card | #ffffffwhite | #000000black |
| Card foreground | #000000black | #f8f8f6whitesmoke |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #000000black | #f8f8f6whitesmoke |
| Primary | #eef2cflightgoldenrodyellow | #eef2cflightgoldenrodyellow |
| Primary foreground | #1d2009black | #1d2009black |
| Secondary | #f2e4cfantiquewhite | #f2e4cfantiquewhite |
| Secondary foreground | #201709black | #201709black |
| Muted | #e6e4e0gainsboro | #1f1d19black |
| Muted foreground | #706657dimgray | #a89f8frosybrown |
| Accent | #dcf2cfgainsboro | #dcf2cfgainsboro |
| Accent foreground | #122009black | #122009black |
| Destructive | #832e07saddlebrown | #e9520corangered |
| Destructive foreground | #fcd3c0peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eef2cflightgoldenrodyellow | #eef2cflightgoldenrodyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 14.42:1 | AAA |
| Secondary button | 14.15:1 | AAA |
| Muted text | 4.43:1 | AA Large |
| Accent | 14.26:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.74:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 14.42:1 | AAA |
| Secondary button | 14.15:1 | AAA |
| Muted text | 6.42:1 | AA |
| Accent | 14.26:1 | AAA |
| Destructive | 3.70: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 0 0);
--muted: oklch(0.919 0.006 79.922);
--muted-foreground: oklch(0.517 0.027 79.707);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--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.949 0.046 112.679);
--primary-foreground: oklch(0.234 0.039 114.999);
--secondary: oklch(0.925 0.032 79.825);
--secondary-foreground: oklch(0.212 0.029 78.202);
--accent: oklch(0.936 0.052 133.377);
--accent-foreground: oklch(0.224 0.046 134.87);
--destructive: oklch(0.421 0.125 40.614);
--destructive-foreground: oklch(0.896 0.053 46.284);
--ring: oklch(0.949 0.046 112.679);
--chart-1: oklch(0.949 0.046 112.679);
--chart-2: oklch(0.925 0.032 79.825);
--chart-3: oklch(0.936 0.052 133.377);
--chart-4: oklch(0.944 0.024 79.867);
--chart-5: oklch(0.951 0.048 112.722);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.98 0.003 111.838);
--muted: oklch(0.231 0.009 79.808);
--muted-foreground: oklch(0.705 0.025 79.817);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.98 0.003 111.838);
--card: oklch(0 0 0);
--card-foreground: oklch(0.98 0.003 111.838);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.949 0.046 112.679);
--primary-foreground: oklch(0.234 0.039 114.999);
--secondary: oklch(0.925 0.032 79.825);
--secondary-foreground: oklch(0.212 0.029 78.202);
--accent: oklch(0.936 0.052 133.377);
--accent-foreground: oklch(0.224 0.046 134.87);
--destructive: oklch(0.637 0.198 39.452);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.949 0.046 112.679);
--chart-1: oklch(0.949 0.046 112.679);
--chart-2: oklch(0.925 0.032 79.825);
--chart-3: oklch(0.936 0.052 133.377);
--chart-4: oklch(0.944 0.024 79.867);
--chart-5: oklch(0.951 0.048 112.722);
}