Pesky is a shadcn/ui theme built around a light blue primary color (#b7c0eb) with muted light blue accents (#ced0da). The light mode uses a neutral background (#f7f8fd). Dark mode keeps the light blue primary (#b7c0eb) on a neutral background (#030407).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fdghostwhite | #030407black |
| Foreground | #040610black | #f9f9fbghostwhite |
| Card | #f3f5fbaliceblue | #05060ablack |
| Card foreground | #03050cblack | #fcfcfdwhite |
| Popover | #f3f5fbaliceblue | #05060ablack |
| Popover foreground | #03050cblack | #fcfcfdwhite |
| Primary | #b7c0eblightsteelblue | #b7c0eblightsteelblue |
| Primary foreground | #182358midnightblue | #182358midnightblue |
| Secondary | #e4e4e7gainsboro | #2b2c31darkslategray |
| Secondary foreground | #474952darkslategray | #c3c4cbsilver |
| Muted | #f1f2f3whitesmoke | #0c0c0eblack |
| Muted foreground | #5c5f70dimgray | #8f92a3lightslategray |
| Accent | #ced0dalightgrey | #3a3d4bdarkslategray |
| Accent foreground | #323543darkslategray | #d7d8e0gainsboro |
| Destructive | #772109maroon | #ee491borangered |
| Destructive foreground | #fac6b8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b7c0eblightsteelblue | #b7c0eblightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.08:1 | AAA |
| Text on card | 18.66:1 | AAA |
| Primary button | 8.25:1 | AAA |
| Secondary button | 7.07:1 | AAA |
| Muted text | 5.62:1 | AA |
| Accent | 7.88:1 | AAA |
| Destructive | 6.92:1 | AA |
| Text on background | 19.49:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 8.25:1 | AAA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 6.33:1 | AA |
| Accent | 7.63:1 | AAA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Pesky in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.006 277.176);
--foreground: oklch(0.127 0.024 270.757);
--muted: oklch(0.961 0.002 277.235);
--muted-foreground: oklch(0.489 0.027 276.417);
--popover: oklch(0.97 0.009 277.132);
--popover-foreground: oklch(0.115 0.021 270.19);
--card: oklch(0.97 0.009 277.132);
--card-foreground: oklch(0.115 0.021 270.19);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.815 0.062 276.079);
--primary-foreground: oklch(0.281 0.097 270.423);
--secondary: oklch(0.92 0.004 277.199);
--secondary-foreground: oklch(0.407 0.015 276.721);
--accent: oklch(0.858 0.014 277.029);
--accent-foreground: oklch(0.333 0.024 276.13);
--destructive: oklch(0.382 0.124 35.231);
--destructive-foreground: oklch(0.869 0.062 35.979);
--ring: oklch(0.815 0.062 276.079);
--chart-1: oklch(0.815 0.062 276.079);
--chart-2: oklch(0.92 0.004 277.199);
--chart-3: oklch(0.858 0.014 277.029);
--chart-4: oklch(0.944 0.003 277.218);
--chart-5: oklch(0.812 0.066 276.004);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.01 273.759);
--foreground: oklch(0.983 0.003 277.223);
--muted: oklch(0.156 0.003 277.014);
--muted-foreground: oklch(0.663 0.025 276.702);
--popover: oklch(0.123 0.011 273.759);
--popover-foreground: oklch(0.991 0.001 277.241);
--card: oklch(0.123 0.011 273.759);
--card-foreground: oklch(0.991 0.001 277.241);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.815 0.062 276.079);
--primary-foreground: oklch(0.281 0.097 270.423);
--secondary: oklch(0.293 0.01 276.776);
--secondary-foreground: oklch(0.822 0.009 277.104);
--accent: oklch(0.361 0.025 276.197);
--accent-foreground: oklch(0.884 0.011 277.091);
--destructive: oklch(0.636 0.208 35.104);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.815 0.062 276.079);
--chart-1: oklch(0.815 0.062 276.079);
--chart-2: oklch(0.293 0.01 276.776);
--chart-3: oklch(0.361 0.025 276.197);
--chart-4: oklch(0.323 0.011 276.758);
--chart-5: oklch(0.812 0.066 276.004);
}