Blackcurrant Clownfish is a shadcn/ui theme built around a deep purple primary color (#2e1736) with deep teal accents (#17362e). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the deep purple primary (#2e1736) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #030104black |
| Foreground | #040104black | #ffffffwhite |
| Card | #fdfbfewhite | #030104black |
| Card foreground | #040104black | #ffffffwhite |
| Popover | #fdfbfewhite | #030104black |
| Popover foreground | #040104black | #ffffffwhite |
| Primary | #2e1736darkslategray | #2e1736darkslategray |
| Primary foreground | #cda6d9plum | #cda6d9plum |
| Secondary | #362e17darkslategray | #362e17darkslategray |
| Secondary foreground | #d9cda6palegoldenrod | #d9cda6palegoldenrod |
| Muted | #e4e4e2gainsboro | #1d1d1bblack |
| Muted foreground | #716b56dimgray | #a9a38erosybrown |
| Accent | #17362edarkslategray | #17362edarkslategray |
| Accent foreground | #a6d9cdlightblue | #a6d9cdlightblue |
| Destructive | #6c2704maroon | #f65b0eorangered |
| Destructive foreground | #fcc3a6navajowhite | #000000black |
| Border | #eeecefwhitesmoke | #201c21black |
| Input | #eeecefwhitesmoke | #201c21black |
| Ring | #2e1736darkslategray | #2e1736darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.15:1 | AAA |
| Text on card | 20.15:1 | AAA |
| Primary button | 7.77:1 | AAA |
| Secondary button | 8.46:1 | AAA |
| Muted text | 4.18:1 | AA Large |
| Accent | 8.41:1 | AAA |
| Destructive | 6.99:1 | AA |
| Text on background | 20.75:1 | AAA |
| Text on card | 20.75:1 | AAA |
| Primary button | 7.77:1 | AAA |
| Secondary button | 8.46:1 | AAA |
| Muted text | 6.69:1 | AA |
| Accent | 8.41:1 | AAA |
| Destructive | 6.44:1 | AA |
Paste this into your globals.css to use Blackcurrant Clownfish in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.005 318.325);
--foreground: oklch(0.082 0.024 320.774);
--muted: oklch(0.918 0.003 92.689);
--muted-foreground: oklch(0.527 0.033 93.118);
--popover: oklch(0.99 0.005 318.325);
--popover-foreground: oklch(0.082 0.024 320.774);
--card: oklch(0.99 0.005 318.325);
--card-foreground: oklch(0.082 0.024 320.774);
--border: oklch(0.945 0.005 318.325);
--input: oklch(0.945 0.005 318.325);
--primary: oklch(0.252 0.063 317.921);
--primary-foreground: oklch(0.776 0.083 318.217);
--secondary: oklch(0.304 0.039 92.971);
--secondary-foreground: oklch(0.848 0.054 93.12);
--accent: oklch(0.305 0.039 176.405);
--accent-foreground: oklch(0.846 0.055 178.966);
--destructive: oklch(0.371 0.108 42.14);
--destructive-foreground: oklch(0.861 0.076 47.818);
--ring: oklch(0.252 0.063 317.921);
--chart-1: oklch(0.252 0.063 317.921);
--chart-2: oklch(0.304 0.039 92.971);
--chart-3: oklch(0.305 0.039 176.405);
--chart-4: oklch(0.341 0.045 92.919);
--chart-5: oklch(0.252 0.068 317.861);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.015 319.841);
--foreground: oklch(1 0 180);
--muted: oklch(0.23 0.004 92.828);
--muted-foreground: oklch(0.715 0.031 93.017);
--popover: oklch(0.086 0.015 319.841);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.086 0.015 319.841);
--card-foreground: oklch(1 0 180);
--border: oklch(0.233 0.012 318.278);
--input: oklch(0.233 0.012 318.278);
--primary: oklch(0.252 0.063 317.921);
--primary-foreground: oklch(0.776 0.083 318.217);
--secondary: oklch(0.304 0.039 92.971);
--secondary-foreground: oklch(0.848 0.054 93.12);
--accent: oklch(0.305 0.039 176.405);
--accent-foreground: oklch(0.846 0.055 178.966);
--destructive: oklch(0.669 0.203 40.567);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.252 0.063 317.921);
--chart-1: oklch(0.252 0.063 317.921);
--chart-2: oklch(0.304 0.039 92.971);
--chart-3: oklch(0.305 0.039 176.405);
--chart-4: oklch(0.341 0.045 92.919);
--chart-5: oklch(0.252 0.068 317.861);
}