Crisp is a shadcn/ui theme built around a light pink primary color (#eec8d9) with light red accents (#eecac8). The light mode uses a neutral background (#ffffff). Dark mode keeps the light pink primary (#eec8d9) on a neutral background (#040102).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040102black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #ffffffwhite | #040102black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #ffffffwhite | #040102black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #eec8d9pink | #eec8d9pink |
| Primary foreground | #651f3fbrown | #651f3fbrown |
| Secondary | #eec8ecthistle | #eec8ecthistle |
| Secondary foreground | #651f62purple | #651f62purple |
| Muted | #f0eaf0whitesmoke | #150f14black |
| Muted foreground | #705c6fdimgray | #a38fa2darkgray |
| Accent | #eecac8pink | #eecac8pink |
| Accent foreground | #65231fsaddlebrown | #65231fsaddlebrown |
| Destructive | #a13f12saddlebrown | #e65d1echocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eec8d9pink | #eec8d9pink |
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 | 7.65:1 | AAA |
| Secondary button | 7.35:1 | AAA |
| Muted text | 5.15:1 | AA |
| Accent | 7.69:1 | AAA |
| Destructive | 6.50:1 | AA |
| Text on background | 20.28:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 7.35:1 | AAA |
| Muted text | 6.31:1 | AA |
| Accent | 7.69:1 | AAA |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Crisp in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.944 0.009 327.125);
--muted-foreground: oklch(0.501 0.039 327.738);
--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.871 0.048 349.264);
--primary-foreground: oklch(0.36 0.106 356.016);
--secondary: oklch(0.877 0.064 327.685);
--secondary-foreground: oklch(0.377 0.131 329.885);
--accent: oklch(0.87 0.041 21.533);
--accent-foreground: oklch(0.356 0.097 26.235);
--destructive: oklch(0.496 0.14 41.52);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.871 0.048 349.264);
--chart-1: oklch(0.871 0.048 349.264);
--chart-2: oklch(0.877 0.064 327.685);
--chart-3: oklch(0.87 0.041 21.533);
--chart-4: oklch(0.903 0.05 327.533);
--chart-5: oklch(0.87 0.051 349.347);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.017 347.492);
--foreground: oklch(0.992 0.001 347.85);
--muted: oklch(0.178 0.013 327.708);
--muted-foreground: oklch(0.674 0.037 327.528);
--popover: oklch(0.084 0.017 347.492);
--popover-foreground: oklch(0.992 0.001 347.85);
--card: oklch(0.084 0.017 347.492);
--card-foreground: oklch(0.992 0.001 347.85);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.871 0.048 349.264);
--primary-foreground: oklch(0.36 0.106 356.016);
--secondary: oklch(0.877 0.064 327.685);
--secondary-foreground: oklch(0.377 0.131 329.885);
--accent: oklch(0.87 0.041 21.533);
--accent-foreground: oklch(0.356 0.097 26.235);
--destructive: oklch(0.647 0.184 41.479);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.871 0.048 349.264);
--chart-1: oklch(0.871 0.048 349.264);
--chart-2: oklch(0.877 0.064 327.685);
--chart-3: oklch(0.87 0.041 21.533);
--chart-4: oklch(0.903 0.05 327.533);
--chart-5: oklch(0.87 0.051 349.347);
}