Slump is a shadcn/ui theme built around a vivid purple primary color (#f76eea) with vivid pink accents (#f76ea5). The light mode uses a neutral background (#fdfcfd). Dark mode keeps the vivid purple primary (#f76eea) on a purple-tinted background (#0c040b).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfdwhite | #0c040bblack |
| Foreground | #090108black | #fdfcfdwhite |
| Card | #fcf8fbsnow | #10050eblack |
| Card foreground | #050104black | #ffffffwhite |
| Popover | #fcf8fbsnow | #10050eblack |
| Popover foreground | #050104black | #ffffffwhite |
| Primary | #f76eeaviolet | #f76eeaviolet |
| Primary foreground | #30032cblack | #30032cblack |
| Secondary | #c06ef7orchid | #c06ef7orchid |
| Secondary foreground | #1e0330black | #1e0330black |
| Muted | #eee9f2lavender | #130d16black |
| Muted foreground | #413847darkslategray | #c1b8c7silver |
| Accent | #f76ea5hotpink | #f76ea5hotpink |
| Accent foreground | #300315black | #300315black |
| Destructive | #de2e02orangered | #fd3d0dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f76eeaviolet | #f76eeaviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.08:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 6.13:1 | AA |
| Muted text | 9.31:1 | AAA |
| Accent | 6.71:1 | AA |
| Destructive | 4.66:1 | AA |
| Text on background | 19.80:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 6.13:1 | AA |
| Muted text | 9.96:1 | AAA |
| Accent | 6.71:1 | AA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Slump in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 328.623);
--foreground: oklch(0.105 0.036 330.409);
--muted: oklch(0.94 0.013 312.254);
--muted-foreground: oklch(0.357 0.029 311.762);
--popover: oklch(0.983 0.005 328.655);
--popover-foreground: oklch(0.083 0.028 330.409);
--card: oklch(0.983 0.005 328.655);
--card-foreground: oklch(0.083 0.028 330.409);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.745 0.219 331.536);
--primary-foreground: oklch(0.218 0.092 332.768);
--secondary: oklch(0.686 0.206 309.735);
--secondary-foreground: oklch(0.188 0.088 307.705);
--accent: oklch(0.718 0.177 357.438);
--accent-foreground: oklch(0.206 0.076 1.44);
--destructive: oklch(0.585 0.215 32.925);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.745 0.219 331.536);
--chart-1: oklch(0.745 0.219 331.536);
--chart-2: oklch(0.686 0.206 309.735);
--chart-3: oklch(0.718 0.177 357.438);
--chart-4: oklch(0.714 0.186 310.185);
--chart-5: oklch(0.746 0.225 331.614);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.026 329.947);
--foreground: oklch(0.992 0.001 328.605);
--muted: oklch(0.172 0.02 311.492);
--muted-foreground: oklch(0.794 0.024 312.138);
--popover: oklch(0.139 0.03 330.389);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.139 0.03 330.389);
--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.745 0.219 331.536);
--primary-foreground: oklch(0.218 0.092 332.768);
--secondary: oklch(0.686 0.206 309.735);
--secondary-foreground: oklch(0.188 0.088 307.705);
--accent: oklch(0.718 0.177 357.438);
--accent-foreground: oklch(0.206 0.076 1.44);
--destructive: oklch(0.649 0.232 33.373);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.745 0.219 331.536);
--chart-1: oklch(0.745 0.219 331.536);
--chart-2: oklch(0.686 0.206 309.735);
--chart-3: oklch(0.718 0.177 357.438);
--chart-4: oklch(0.714 0.186 310.185);
--chart-5: oklch(0.746 0.225 331.614);
}