Blue Ruin Guppy is a shadcn/ui theme built around a blue primary color (#2e66d6) with green accents (#66d62e). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the blue primary (#2e66d6) on a neutral background (#020408).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #020408black |
| Foreground | #03060dblack | #fcfcfdwhite |
| Card | #fbfcfewhite | #020408black |
| Card foreground | #03060dblack | #fcfcfdwhite |
| Popover | #fbfcfewhite | #020408black |
| Popover foreground | #03060dblack | #fcfcfdwhite |
| Primary | #2e66d6royalblue | #2e66d6royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d62e66mediumvioletred | #d62e66mediumvioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e8dee1gainsboro | #21171ablack |
| Muted foreground | #584b4fdarkslategray | #b4a7abdarkgray |
| Accent | #66d62elimegreen | #66d62elimegreen |
| Accent foreground | #162f09black | #162f09black |
| Destructive | #b84e14sienna | #e86e2cchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #ebedeflavender | #17191cblack |
| Input | #ebedeflavender | #17191cblack |
| Ring | #2e66d6royalblue | #2e66d6royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 5.25:1 | AA |
| Secondary button | 4.72:1 | AA |
| Muted text | 6.28:1 | AA |
| Accent | 7.75:1 | AAA |
| Destructive | 5.10:1 | AA |
| Text on background | 19.98:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 5.25:1 | AA |
| Secondary button | 4.72:1 | AA |
| Muted text | 7.53:1 | AAA |
| Accent | 7.75:1 | AAA |
| Destructive | 6.66:1 | AA |
Paste this into your globals.css to use Blue Ruin Guppy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 264.544);
--foreground: oklch(0.12 0.019 255.352);
--muted: oklch(0.909 0.013 354.983);
--muted-foreground: oklch(0.428 0.019 355.819);
--popover: oklch(0.991 0.002 264.544);
--popover-foreground: oklch(0.12 0.019 255.352);
--card: oklch(0.991 0.002 264.544);
--card-foreground: oklch(0.12 0.019 255.352);
--border: oklch(0.945 0.003 264.54);
--input: oklch(0.945 0.003 264.54);
--primary: oklch(0.538 0.182 262.197);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.583 0.204 6.986);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.779 0.221 137.766);
--accent-foreground: oklch(0.275 0.069 136.927);
--destructive: oklch(0.553 0.152 43.818);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.538 0.182 262.197);
--chart-1: oklch(0.538 0.182 262.197);
--chart-2: oklch(0.583 0.204 6.986);
--chart-3: oklch(0.779 0.221 137.766);
--chart-4: oklch(0.6 0.196 5.373);
--chart-5: oklch(0.537 0.189 262.155);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.013 257.407);
--foreground: oklch(0.991 0.002 264.546);
--muted: oklch(0.218 0.018 356.899);
--muted-foreground: oklch(0.74 0.016 355.212);
--popover: oklch(0.108 0.013 257.407);
--popover-foreground: oklch(0.991 0.002 264.546);
--card: oklch(0.108 0.013 257.407);
--card-foreground: oklch(0.991 0.002 264.546);
--border: oklch(0.212 0.007 264.41);
--input: oklch(0.212 0.007 264.41);
--primary: oklch(0.538 0.182 262.197);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.583 0.204 6.986);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.779 0.221 137.766);
--accent-foreground: oklch(0.275 0.069 136.927);
--destructive: oklch(0.673 0.169 45.341);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.538 0.182 262.197);
--chart-1: oklch(0.538 0.182 262.197);
--chart-2: oklch(0.583 0.204 6.986);
--chart-3: oklch(0.779 0.221 137.766);
--chart-4: oklch(0.6 0.196 5.373);
--chart-5: oklch(0.537 0.189 262.155);
}