Chocolate Melange Dolphin is a shadcn/ui theme built around a vivid deep red primary color (#340f04) with muted light red accents (#d8c1ba). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the vivid deep red primary (#340f04) on a neutral background (#030202).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #030202black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #fcf9f8snow | #070404black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdfcfcsnow | #030202black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #340f04black | #340f04black |
| Primary foreground | #f59375darksalmon | #f59375darksalmon |
| Secondary | #e4dad7gainsboro | #201e1dblack |
| Secondary foreground | #533e37darkolivegreen | #bab6b5silver |
| Muted | #efeceblinen | #141110black |
| Muted foreground | #4e403bdarkslategray | #c4b5b1silver |
| Accent | #d8c1basilver | #3e3532darkslategray |
| Accent foreground | #3e2923darkslategray | #d6cfcdlightgrey |
| Destructive | #d22f0ffirebrick | #ef421forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #ebeaealinen | #1b1918black |
| Input | #ebeaealinen | #1b1918black |
| Ring | #340f04black | #340f04black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.50:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 7.64:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 8.43:1 | AAA |
| Accent | 7.96:1 | AAA |
| Destructive | 5.06:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.41:1 | AAA |
| Primary button | 7.64:1 | AAA |
| Secondary button | 8.26:1 | AAA |
| Muted text | 9.49:1 | AAA |
| Accent | 7.75:1 | AAA |
| Destructive | 3.83:1 | AA Large |
Paste this into your globals.css to use Chocolate Melange Dolphin in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 37.734);
--foreground: oklch(0 0 0);
--muted: oklch(0.945 0.004 37.722);
--muted-foreground: oklch(0.385 0.022 37.593);
--popover: oklch(0.992 0.002 37.734);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.984 0.003 37.726);
--card-foreground: oklch(0 0 0);
--border: oklch(0.938 0.001 37.735);
--input: oklch(0.938 0.001 37.735);
--primary: oklch(0.228 0.063 38.627);
--primary-foreground: oklch(0.759 0.126 37.708);
--secondary: oklch(0.897 0.012 37.681);
--secondary-foreground: oklch(0.383 0.032 37.599);
--accent: oklch(0.83 0.028 37.622);
--accent-foreground: oklch(0.305 0.033 37.63);
--destructive: oklch(0.564 0.203 32.521);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.228 0.063 38.627);
--chart-1: oklch(0.228 0.063 38.627);
--chart-2: oklch(0.897 0.012 37.681);
--chart-3: oklch(0.83 0.028 37.622);
--chart-4: oklch(0.921 0.009 37.695);
--chart-5: oklch(0.229 0.065 38.895);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.09 0.006 41.124);
--foreground: oklch(0.992 0.001 37.735);
--muted: oklch(0.18 0.006 37.624);
--muted-foreground: oklch(0.784 0.018 37.648);
--popover: oklch(0.09 0.006 41.124);
--popover-foreground: oklch(0.992 0.001 37.735);
--card: oklch(0.113 0.007 41.124);
--card-foreground: oklch(1 0 180);
--border: oklch(0.215 0.003 37.686);
--input: oklch(0.215 0.003 37.686);
--primary: oklch(0.228 0.063 38.627);
--primary-foreground: oklch(0.759 0.126 37.708);
--secondary: oklch(0.237 0.003 37.683);
--secondary-foreground: oklch(0.78 0.005 37.709);
--accent: oklch(0.338 0.013 37.612);
--accent-foreground: oklch(0.858 0.008 37.696);
--destructive: oklch(0.632 0.215 32.942);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.228 0.063 38.627);
--chart-1: oklch(0.228 0.063 38.627);
--chart-2: oklch(0.237 0.003 37.683);
--chart-3: oklch(0.338 0.013 37.612);
--chart-4: oklch(0.269 0.004 37.679);
--chart-5: oklch(0.229 0.065 38.895);
}