Petro Blue Skunk is a shadcn/ui theme built around a deep cyan primary color (#30595f) with muted light red accents (#d3caca). The light mode uses a neutral background (#f8fcfc). Dark mode keeps the deep cyan primary (#30595f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfcmintcream | #000000black |
| Foreground | #010404black | #f8fbfcghostwhite |
| Card | #f8fcfcmintcream | #000000black |
| Card foreground | #010404black | #f8fbfcghostwhite |
| Popover | #f8fcfcmintcream | #000000black |
| Popover foreground | #010404black | #f8fbfcghostwhite |
| Primary | #30595fdarkslategray | #30595fdarkslategray |
| Primary foreground | #d6e8eagainsboro | #d6e8eagainsboro |
| Secondary | #dbdbdbgainsboro | #2a3132darkslategray |
| Secondary foreground | #424242darkslategray | #c2cbccsilver |
| Muted | #f3e3e3mistyrose | #0c1a1cblack |
| Muted foreground | #604848darkolivegreen | #9fb3b7darkgray |
| Accent | #d3cacalightgrey | #374b4edarkslategray |
| Accent foreground | #3b3030darkslategray | #d5e0e1gainsboro |
| Destructive | #a61803firebrick | #ec2304orangered |
| Destructive foreground | #fee0dcmistyrose | #ffffffwhite |
| Border | #e5e6e6gainsboro | #1b1c1dblack |
| Input | #e5e6e6gainsboro | #1b1c1dblack |
| Ring | #30595fdarkslategray | #30595fdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 6.12:1 | AA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 6.69:1 | AA |
| Accent | 7.90:1 | AAA |
| Destructive | 6.14:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 6.12:1 | AA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 8.11:1 | AAA |
| Accent | 6.87:1 | AA |
| Destructive | 4.36:1 | AA Large |
Paste this into your globals.css to use Petro Blue Skunk in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 207.915);
--foreground: oklch(0.098 0.012 204.259);
--muted: oklch(0.927 0.017 17.472);
--muted-foreground: oklch(0.428 0.032 18.495);
--popover: oklch(0.987 0.004 207.915);
--popover-foreground: oklch(0.098 0.012 204.259);
--card: oklch(0.987 0.004 207.915);
--card-foreground: oklch(0.098 0.012 204.259);
--border: oklch(0.924 0.001 207.929);
--input: oklch(0.924 0.001 207.929);
--primary: oklch(0.436 0.047 208.317);
--primary-foreground: oklch(0.918 0.019 207.86);
--secondary: oklch(0.892 0 180);
--secondary-foreground: oklch(0.38 0 180);
--accent: oklch(0.846 0.011 17.37);
--accent-foreground: oklch(0.322 0.016 17.991);
--destructive: oklch(0.465 0.177 31.356);
--destructive-foreground: oklch(0.931 0.034 28.16);
--ring: oklch(0.436 0.047 208.317);
--chart-1: oklch(0.436 0.047 208.317);
--chart-2: oklch(0.892 0 180);
--chart-3: oklch(0.846 0.011 17.37);
--chart-4: oklch(0.916 0 180);
--chart-5: oklch(0.44 0.05 208.445);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.003 207.918);
--muted: oklch(0.207 0.02 208.123);
--muted-foreground: oklch(0.754 0.023 207.841);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.987 0.003 207.918);
--card: oklch(0 0 0);
--card-foreground: oklch(0.987 0.003 207.918);
--border: oklch(0.227 0.002 207.905);
--input: oklch(0.227 0.002 207.905);
--primary: oklch(0.436 0.047 208.317);
--primary-foreground: oklch(0.918 0.019 207.86);
--secondary: oklch(0.306 0.01 207.839);
--secondary-foreground: oklch(0.835 0.01 207.886);
--accent: oklch(0.396 0.025 207.879);
--accent-foreground: oklch(0.898 0.012 207.882);
--destructive: oklch(0.603 0.233 30.987);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.436 0.047 208.317);
--chart-1: oklch(0.436 0.047 208.317);
--chart-2: oklch(0.306 0.01 207.839);
--chart-3: oklch(0.396 0.025 207.879);
--chart-4: oklch(0.338 0.011 207.838);
--chart-5: oklch(0.44 0.05 208.445);
}