Show-stopper is a shadcn/ui theme built around a muted light teal primary color (#c7dcd6) with muted light cyan accents (#c7d6dc). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted light teal primary (#c7dcd6) on a teal-tinted background (#050a09).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #050a09black |
| Foreground | #010403black | #ffffffwhite |
| Card | #fbfefdwhite | #050a09black |
| Card foreground | #010403black | #ffffffwhite |
| Popover | #fbfefdwhite | #050a09black |
| Popover foreground | #010403black | #ffffffwhite |
| Primary | #c7dcd6lightgrey | #c7dcd6lightgrey |
| Primary foreground | #2b453fdarkslategray | #2b453fdarkslategray |
| Secondary | #c7dccclightgrey | #c7dccclightgrey |
| Secondary foreground | #2b4532darkslategray | #2b4532darkslategray |
| Muted | #dbe6degainsboro | #19241cblack |
| Muted foreground | #445548darkslategray | #aabbaedarkgray |
| Accent | #c7d6dclightgrey | #c7d6dclightgrey |
| Accent foreground | #2b3f45darkslategray | #2b3f45darkslategray |
| Destructive | #9c2d11brown | #eb6847tomato |
| Destructive foreground | #fce8e3mistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c7dcd6lightgrey | #c7dcd6lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.27:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 6.20:1 | AA |
| Accent | 7.42:1 | AAA |
| Destructive | 6.35:1 | AA |
| Text on background | 19.91:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 7.94:1 | AAA |
| Accent | 7.42:1 | AAA |
| Destructive | 6.59:1 | AA |
Paste this into your globals.css to use Show-stopper in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 179.776);
--foreground: oklch(0.099 0.011 179.912);
--muted: oklch(0.914 0.016 153.574);
--muted-foreground: oklch(0.431 0.029 152.653);
--popover: oklch(0.994 0.003 179.776);
--popover-foreground: oklch(0.099 0.011 179.912);
--card: oklch(0.994 0.003 179.776);
--card-foreground: oklch(0.099 0.011 179.912);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.876 0.024 179.076);
--primary-foreground: oklch(0.367 0.034 176.88);
--secondary: oklch(0.873 0.031 153.255);
--secondary-foreground: oklch(0.363 0.046 151.455);
--accent: oklch(0.867 0.019 219.685);
--accent-foreground: oklch(0.352 0.027 220.517);
--destructive: oklch(0.465 0.151 34.521);
--destructive-foreground: oklch(0.946 0.022 34.298);
--ring: oklch(0.876 0.024 179.076);
--chart-1: oklch(0.876 0.024 179.076);
--chart-2: oklch(0.873 0.031 153.255);
--chart-3: oklch(0.867 0.019 219.685);
--chart-4: oklch(0.895 0.026 153.377);
--chart-5: oklch(0.878 0.027 178.975);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.01 179.895);
--foreground: oklch(1 0 180);
--muted: oklch(0.247 0.022 152.25);
--muted-foreground: oklch(0.775 0.026 153.303);
--popover: oklch(0.138 0.01 179.895);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.138 0.01 179.895);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.876 0.024 179.076);
--primary-foreground: oklch(0.367 0.034 176.88);
--secondary: oklch(0.873 0.031 153.255);
--secondary-foreground: oklch(0.363 0.046 151.455);
--accent: oklch(0.867 0.019 219.685);
--accent-foreground: oklch(0.352 0.027 220.517);
--destructive: oklch(0.672 0.169 35.211);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.876 0.024 179.076);
--chart-1: oklch(0.876 0.024 179.076);
--chart-2: oklch(0.873 0.031 153.255);
--chart-3: oklch(0.867 0.019 219.685);
--chart-4: oklch(0.895 0.026 153.377);
--chart-5: oklch(0.878 0.027 178.975);
}