Plymouth Notch Cobra is a shadcn/ui theme built around a muted red primary color (#ceb3ab) with muted yellow accents (#cec4ab). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted red primary (#ceb3ab) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040201black |
| Foreground | #000000black | #fcf9f8snow |
| Card | #ffffffwhite | #040201black |
| Card foreground | #000000black | #fcf9f8snow |
| Popover | #ffffffwhite | #040201black |
| Popover foreground | #000000black | #fcf9f8snow |
| Primary | #ceb3absilver | #ceb3absilver |
| Primary foreground | #2d1e1ablack | #2d1e1ablack |
| Secondary | #ceabb5silver | #ceabb5silver |
| Secondary foreground | #2d1a20black | #2d1a20black |
| Muted | #e6d6dagainsboro | #29191eblack |
| Muted foreground | #635f60dimgray | #a09c9ddarkgray |
| Accent | #cec4absilver | #cec4absilver |
| Accent foreground | #2d281ablack | #2d281ablack |
| Destructive | #dd4803orangered | #fb5d13orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #f4f1f0whitesmoke | #201a18black |
| Input | #f4f1f0whitesmoke | #201a18black |
| Ring | #ceb3absilver | #ceb3absilver |
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 | 8.12:1 | AAA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 4.48:1 | AA Large |
| Accent | 8.47:1 | AAA |
| Destructive | 4.19:1 | AA Large |
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 8.12:1 | AAA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 6.17:1 | AA |
| Accent | 8.47:1 | AAA |
| Destructive | 6.67:1 | AA |
Paste this into your globals.css to use Plymouth Notch Cobra in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.889 0.019 358.33);
--muted-foreground: oklch(0.489 0.005 358.019);
--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.961 0.003 36);
--input: oklch(0.961 0.003 36);
--primary: oklch(0.788 0.033 35.944);
--primary-foreground: oklch(0.254 0.024 36.038);
--secondary: oklch(0.776 0.042 359.223);
--secondary-foreground: oklch(0.246 0.031 1.135);
--accent: oklch(0.822 0.035 88.994);
--accent-foreground: oklch(0.277 0.024 88.948);
--destructive: oklch(0.607 0.195 38.497);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.788 0.033 35.944);
--chart-1: oklch(0.788 0.033 35.944);
--chart-2: oklch(0.776 0.042 359.223);
--chart-3: oklch(0.822 0.035 88.994);
--chart-4: oklch(0.802 0.037 358.996);
--chart-5: oklch(0.787 0.037 35.946);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.089 0.009 41.418);
--foreground: oklch(0.984 0.003 36.001);
--muted: oklch(0.236 0.028 0.921);
--muted-foreground: oklch(0.697 0.005 357.91);
--popover: oklch(0.089 0.009 41.418);
--popover-foreground: oklch(0.984 0.003 36.001);
--card: oklch(0.089 0.009 41.418);
--card-foreground: oklch(0.984 0.003 36.001);
--border: oklch(0.224 0.01 35.945);
--input: oklch(0.224 0.01 35.945);
--primary: oklch(0.788 0.033 35.944);
--primary-foreground: oklch(0.254 0.024 36.038);
--secondary: oklch(0.776 0.042 359.223);
--secondary-foreground: oklch(0.246 0.031 1.135);
--accent: oklch(0.822 0.035 88.994);
--accent-foreground: oklch(0.277 0.024 88.948);
--destructive: oklch(0.679 0.207 39.977);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.788 0.033 35.944);
--chart-1: oklch(0.788 0.033 35.944);
--chart-2: oklch(0.776 0.042 359.223);
--chart-3: oklch(0.822 0.035 88.994);
--chart-4: oklch(0.802 0.037 358.996);
--chart-5: oklch(0.787 0.037 35.946);
}