Piercing is a shadcn/ui theme built around a vivid teal primary color (#14fa8b) with vivid pink accents (#fa1483). The light mode uses a neutral background (#f6fdfa). Dark mode keeps the vivid teal primary (#14fa8b) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fdfamintcream | #010403black |
| Foreground | #010403black | #fcfdfcwhite |
| Card | #f2fdf8mintcream | #020805black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f2fdf8mintcream | #020805black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #14fa8bspringgreen | #14fa8bspringgreen |
| Primary foreground | #014122darkgreen | #014122darkgreen |
| Secondary | #fa1483deeppink | #fa1483deeppink |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e1dbdegainsboro | #241e21black |
| Muted foreground | #423e40darkslategray | #c1bdbfsilver |
| Accent | #fa1483deeppink | #fa1483deeppink |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #b63511firebrick | #eb5328chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #14fa8bspringgreen | #14fa8bspringgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.01:1 | AAA |
| Text on card | 20.12:1 | AAA |
| Primary button | 8.48:1 | AAA |
| Secondary button | 3.81:1 | AA Large |
| Muted text | 7.71:1 | AAA |
| Accent | 3.81:1 | AA Large |
| Destructive | 5.99:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 8.48:1 | AAA |
| Secondary button | 3.81:1 | AA Large |
| Muted text | 8.77:1 | AAA |
| Accent | 3.81:1 | AA Large |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Piercing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.009 165.786);
--foreground: oklch(0.098 0.013 166.199);
--muted: oklch(0.897 0.007 346.216);
--muted-foreground: oklch(0.368 0.006 346.451);
--popover: oklch(0.984 0.013 165.666);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.984 0.013 165.666);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.865 0.218 153.386);
--primary-foreground: oklch(0.33 0.08 155.106);
--secondary: oklch(0.642 0.253 1.07);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.642 0.253 1.07);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.519 0.172 35.014);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.865 0.218 153.386);
--chart-1: oklch(0.865 0.218 153.386);
--chart-2: oklch(0.642 0.253 1.07);
--chart-3: oklch(0.642 0.253 1.07);
--chart-4: oklch(0.65 0.249 359.179);
--chart-5: oklch(0.874 0.223 153.072);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.012 166.188);
--foreground: oklch(0.993 0.001 165.994);
--muted: oklch(0.244 0.009 347.008);
--muted-foreground: oklch(0.803 0.005 346.182);
--popover: oklch(0.123 0.016 166.188);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.123 0.016 166.188);
--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.865 0.218 153.386);
--primary-foreground: oklch(0.33 0.08 155.106);
--secondary: oklch(0.642 0.253 1.07);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.642 0.253 1.07);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.643 0.196 35.72);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.865 0.218 153.386);
--chart-1: oklch(0.865 0.218 153.386);
--chart-2: oklch(0.642 0.253 1.07);
--chart-3: oklch(0.642 0.253 1.07);
--chart-4: oklch(0.65 0.249 359.179);
--chart-5: oklch(0.874 0.223 153.072);
}