Slippery is a shadcn/ui theme built around a deep orange primary color (#744b11) with muted light orange accents (#cfc6b9). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the deep orange primary (#744b11) on a neutral background (#070503).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfaf8snow | #070503black |
| Foreground | #0c0804black | #ffffffwhite |
| Card | #fcfaf8snow | #070503black |
| Card foreground | #0c0804black | #ffffffwhite |
| Popover | #fcfaf8snow | #070503black |
| Popover foreground | #0c0804black | #ffffffwhite |
| Primary | #744b11saddlebrown | #744b11saddlebrown |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e2dfdagainsboro | #322f2adarkslategray |
| Secondary foreground | #4d463ddarkslategray | #ccc8c2silver |
| Muted | #e1dad0gainsboro | #2f281edarkslategray |
| Muted foreground | #464139darkslategray | #c6c0b9silver |
| Accent | #cfc6b9silver | #514739darkolivegreen |
| Accent foreground | #342d23darkslategray | #e3dfd8gainsboro |
| Destructive | #6c2304maroon | #f66628tomato |
| Destructive foreground | #fbc0a7lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #744b11saddlebrown | #744b11saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.18:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 7.64:1 | AAA |
| Secondary button | 6.96:1 | AA |
| Muted text | 7.30:1 | AAA |
| Accent | 8.06:1 | AAA |
| Destructive | 7.01:1 | AAA |
| Text on background | 20.31:1 | AAA |
| Text on card | 20.31:1 | AAA |
| Primary button | 7.64:1 | AAA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 8.10:1 | AAA |
| Accent | 6.87:1 | AA |
| Destructive | 6.83:1 | AA |
Paste this into your globals.css to use Slippery in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.003 76.637);
--foreground: oklch(0.139 0.015 82.879);
--muted: oklch(0.892 0.015 76.565);
--muted-foreground: oklch(0.377 0.014 76.419);
--popover: oklch(0.986 0.003 76.637);
--popover-foreground: oklch(0.139 0.015 82.879);
--card: oklch(0.986 0.003 76.637);
--card-foreground: oklch(0.139 0.015 82.879);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.448 0.089 69.622);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.903 0.007 76.615);
--secondary-foreground: oklch(0.399 0.018 76.35);
--accent: oklch(0.831 0.021 76.517);
--accent-foreground: oklch(0.3 0.019 76.143);
--destructive: oklch(0.365 0.11 39.938);
--destructive-foreground: oklch(0.856 0.077 44.281);
--ring: oklch(0.448 0.089 69.622);
--chart-1: oklch(0.448 0.089 69.622);
--chart-2: oklch(0.903 0.007 76.615);
--chart-3: oklch(0.831 0.021 76.517);
--chart-4: oklch(0.926 0.006 76.625);
--chart-5: oklch(0.451 0.091 69.054);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.008 81.288);
--foreground: oklch(1 0 180);
--muted: oklch(0.28 0.02 76.046);
--muted-foreground: oklch(0.811 0.012 76.579);
--popover: oklch(0.119 0.008 81.288);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.119 0.008 81.288);
--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.448 0.089 69.622);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.305 0.01 76.466);
--secondary-foreground: oklch(0.834 0.009 76.598);
--accent: oklch(0.403 0.026 76.155);
--accent-foreground: oklch(0.905 0.01 76.598);
--destructive: oklch(0.683 0.191 40.835);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.448 0.089 69.622);
--chart-1: oklch(0.448 0.089 69.622);
--chart-2: oklch(0.305 0.01 76.466);
--chart-3: oklch(0.403 0.026 76.155);
--chart-4: oklch(0.336 0.011 76.457);
--chart-5: oklch(0.451 0.091 69.054);
}