Herb Robert Porpoise is a shadcn/ui theme built around a purple primary color (#d89ddd) with pink accents (#dd9dc1). The light mode uses a neutral background (#fcf8fc). Dark mode keeps the purple primary (#d89ddd) on a neutral background (#070307).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fcsnow | #070307black |
| Foreground | #040104black | #fdfcfdwhite |
| Card | #faf4faghostwhite | #0a050ablack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #faf4faghostwhite | #0a050ablack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #d89dddplum | #d89dddplum |
| Primary foreground | #331335midnightblue | #331335midnightblue |
| Secondary | #b89dddplum | #b89dddplum |
| Secondary foreground | #211335midnightblue | #211335midnightblue |
| Muted | #d8d6dbgainsboro | #262429darkslategray |
| Muted foreground | #666369dimgray | #99969cdarkgray |
| Accent | #dd9dc1plum | #dd9dc1plum |
| Accent foreground | #351326black | #351326black |
| Destructive | #761d0amaroon | #ec3f18orangered |
| Destructive foreground | #f9c4b8lightpink | #ffffffwhite |
| Border | #efebefwhitesmoke | #1c161dblack |
| Input | #efebefwhitesmoke | #1c161dblack |
| Ring | #d89dddplum | #d89dddplum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.72:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 7.61:1 | AAA |
| Secondary button | 7.36:1 | AAA |
| Muted text | 4.10:1 | AA Large |
| Accent | 7.57:1 | AAA |
| Destructive | 6.96:1 | AA |
| Text on background | 20.00:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 7.61:1 | AAA |
| Secondary button | 7.36:1 | AAA |
| Muted text | 5.28:1 | AA |
| Accent | 7.57:1 | AAA |
| Destructive | 3.96:1 | AA Large |
Paste this into your globals.css to use Herb Robert Porpoise in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 323.669);
--foreground: oklch(0.084 0.026 325.822);
--muted: oklch(0.88 0.008 305.623);
--muted-foreground: oklch(0.504 0.01 305.473);
--popover: oklch(0.974 0.01 323.687);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.974 0.01 323.687);
--card-foreground: oklch(0 0 0);
--border: oklch(0.944 0.007 323.675);
--input: oklch(0.944 0.007 323.675);
--primary: oklch(0.773 0.11 324.323);
--primary-foreground: oklch(0.25 0.074 324.896);
--secondary: oklch(0.743 0.095 304.019);
--secondary-foreground: oklch(0.225 0.065 301.328);
--accent: oklch(0.767 0.089 344.396);
--accent-foreground: oklch(0.246 0.062 347.46);
--destructive: oklch(0.377 0.126 33.684);
--destructive-foreground: oklch(0.865 0.063 32.869);
--ring: oklch(0.773 0.11 324.323);
--chart-1: oklch(0.773 0.11 324.323);
--chart-2: oklch(0.743 0.095 304.019);
--chart-3: oklch(0.767 0.089 344.396);
--chart-4: oklch(0.773 0.083 304.297);
--chart-5: oklch(0.772 0.116 324.361);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.016 324.748);
--foreground: oklch(0.992 0.002 323.648);
--muted: oklch(0.263 0.01 305.215);
--muted-foreground: oklch(0.677 0.009 305.555);
--popover: oklch(0.127 0.018 324.731);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.127 0.018 324.731);
--card-foreground: oklch(1 0 180);
--border: oklch(0.212 0.015 323.987);
--input: oklch(0.212 0.015 323.987);
--primary: oklch(0.773 0.11 324.323);
--primary-foreground: oklch(0.25 0.074 324.896);
--secondary: oklch(0.743 0.095 304.019);
--secondary-foreground: oklch(0.225 0.065 301.328);
--accent: oklch(0.767 0.089 344.396);
--accent-foreground: oklch(0.246 0.062 347.46);
--destructive: oklch(0.624 0.215 33.421);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.773 0.11 324.323);
--chart-1: oklch(0.773 0.11 324.323);
--chart-2: oklch(0.743 0.095 304.019);
--chart-3: oklch(0.767 0.089 344.396);
--chart-4: oklch(0.773 0.083 304.297);
--chart-5: oklch(0.772 0.116 324.361);
}