Skinny is a shadcn/ui theme built around a violet primary color (#62199a) with muted light violet accents (#cec0d8). The light mode uses a neutral background (#faf7fd). Dark mode keeps the violet primary (#62199a) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #faf7fdghostwhite | #000000black |
| Foreground | #0e0316black | #f8f6f8whitesmoke |
| Card | #faf7fdghostwhite | #000000black |
| Card foreground | #0e0316black | #f8f6f8whitesmoke |
| Popover | #faf7fdghostwhite | #000000black |
| Popover foreground | #0e0316black | #f8f6f8whitesmoke |
| Primary | #62199arebeccapurple | #62199arebeccapurple |
| Primary foreground | #f3e9fblavender | #f3e9fblavender |
| Secondary | #d9d3degainsboro | #2c2631darkslategray |
| Secondary foreground | #413749darkslategray | #c5bdcbsilver |
| Muted | #ece3f2lavender | #150d1cblack |
| Muted foreground | #433e46darkslategray | #bdb9c1silver |
| Accent | #cec0d8thistle | #3c3045darkslategray |
| Accent foreground | #35273fdarkslategray | #d5ccdblightgrey |
| Destructive | #be3c04firebrick | #fb6423tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #62199arebeccapurple | #62199arebeccapurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.00:1 | AAA |
| Text on card | 19.00:1 | AAA |
| Primary button | 8.42:1 | AAA |
| Secondary button | 7.69:1 | AAA |
| Muted text | 8.36:1 | AAA |
| Accent | 8.03:1 | AAA |
| Destructive | 5.48:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 8.42:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 9.81:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 6.92:1 | AA |
Paste this into your globals.css to use Skinny in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.008 311.017);
--foreground: oklch(0.137 0.045 309.796);
--muted: oklch(0.928 0.021 310.888);
--muted-foreground: oklch(0.373 0.015 310.744);
--popover: oklch(0.981 0.008 311.017);
--popover-foreground: oklch(0.137 0.045 309.796);
--card: oklch(0.981 0.008 311.017);
--card-foreground: oklch(0.137 0.045 309.796);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.407 0.19 304.346);
--primary-foreground: oklch(0.948 0.027 310.839);
--secondary: oklch(0.876 0.016 310.926);
--secondary-foreground: oklch(0.354 0.033 310.271);
--accent: oklch(0.827 0.035 310.714);
--accent-foreground: oklch(0.3 0.045 309.756);
--destructive: oklch(0.54 0.175 37.972);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.407 0.19 304.346);
--chart-1: oklch(0.407 0.19 304.346);
--chart-2: oklch(0.876 0.016 310.926);
--chart-3: oklch(0.827 0.035 310.714);
--chart-4: oklch(0.901 0.013 310.962);
--chart-5: oklch(0.408 0.194 303.907);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.003 311.055);
--muted: oklch(0.179 0.031 309.528);
--muted-foreground: oklch(0.791 0.012 310.951);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.003 311.055);
--card: oklch(0 0 0);
--card-foreground: oklch(0.975 0.003 311.055);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.407 0.19 304.346);
--primary-foreground: oklch(0.948 0.027 310.839);
--secondary: oklch(0.28 0.021 310.449);
--secondary-foreground: oklch(0.81 0.021 310.856);
--accent: oklch(0.332 0.04 310.037);
--accent-foreground: oklch(0.857 0.023 310.848);
--destructive: oklch(0.687 0.198 40.415);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.407 0.19 304.346);
--chart-1: oklch(0.407 0.19 304.346);
--chart-2: oklch(0.28 0.021 310.449);
--chart-3: oklch(0.332 0.04 310.037);
--chart-4: oklch(0.309 0.024 310.424);
--chart-5: oklch(0.408 0.194 303.907);
}