Skull is a shadcn/ui theme built around a muted green primary color (#5f7150) with muted violet accents (#635071). The light mode uses a neutral background (#fcfefb). Dark mode keeps the muted green primary (#5f7150) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #000000black |
| Foreground | #050803black | #ffffffwhite |
| Card | #fafcf8snow | #030303black |
| Card foreground | #020401black | #ffffffwhite |
| Popover | #fafcf8snow | #030303black |
| Popover foreground | #020401black | #ffffffwhite |
| Primary | #5f7150dimgray | #5f7150dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #635071dimgray | #635071dimgray |
| Secondary foreground | #faf9fbghostwhite | #faf9fbghostwhite |
| Muted | #e6e4e7gainsboro | #1a181bblack |
| Muted foreground | #4d4950darkslategray | #b3afb6darkgray |
| Accent | #635071dimgray | #635071dimgray |
| Accent foreground | #faf9fbghostwhite | #faf9fbghostwhite |
| Destructive | #990d06darkred | #f72c22orangered |
| Destructive foreground | #fdd5d3mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5f7150dimgray | #5f7150dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.82:1 | AAA |
| Text on card | 19.94:1 | AAA |
| Primary button | 5.27:1 | AA |
| Secondary button | 6.82:1 | AA |
| Muted text | 6.97:1 | AA |
| Accent | 6.82:1 | AA |
| Destructive | 6.49:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 5.27:1 | AA |
| Secondary button | 6.82:1 | AA |
| Muted text | 8.16:1 | AAA |
| Accent | 6.82:1 | AA |
| Destructive | 3.93:1 | AA Large |
Paste this into your globals.css to use Skull in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 131.114);
--foreground: oklch(0.125 0.018 129.863);
--muted: oklch(0.921 0.004 311.049);
--muted-foreground: oklch(0.413 0.011 310.853);
--popover: oklch(0.988 0.007 131.143);
--popover-foreground: oklch(0.099 0.014 129.863);
--card: oklch(0.988 0.007 131.143);
--card-foreground: oklch(0.099 0.014 129.863);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.525 0.055 132.071);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.465 0.057 310.012);
--secondary-foreground: oklch(0.983 0.003 311.062);
--accent: oklch(0.465 0.057 310.012);
--accent-foreground: oklch(0.983 0.003 311.062);
--destructive: oklch(0.433 0.171 29.548);
--destructive-foreground: oklch(0.906 0.046 21.585);
--ring: oklch(0.525 0.055 132.071);
--chart-1: oklch(0.525 0.055 132.071);
--chart-2: oklch(0.465 0.057 310.012);
--chart-3: oklch(0.465 0.057 310.012);
--chart-4: oklch(0.49 0.061 310.001);
--chart-5: oklch(0.532 0.064 132.246);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.213 0.005 310.864);
--muted-foreground: oklch(0.76 0.009 310.976);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.525 0.055 132.071);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.465 0.057 310.012);
--secondary-foreground: oklch(0.983 0.003 311.062);
--accent: oklch(0.465 0.057 310.012);
--accent-foreground: oklch(0.983 0.003 311.062);
--destructive: oklch(0.629 0.236 29.064);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.525 0.055 132.071);
--chart-1: oklch(0.525 0.055 132.071);
--chart-2: oklch(0.465 0.057 310.012);
--chart-3: oklch(0.465 0.057 310.012);
--chart-4: oklch(0.49 0.061 310.001);
--chart-5: oklch(0.532 0.064 132.246);
}