Wiggly is a shadcn/ui theme built around a vivid deep cyan primary color (#06222d) with vivid deep orange accents (#2d1106). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the vivid deep cyan primary (#06222d) on a cyan-tinted background (#05090a).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fbfdghostwhite | #05090ablack |
| Foreground | #020608black | #f6f8f9whitesmoke |
| Card | #f7fbfdghostwhite | #05090ablack |
| Card foreground | #020608black | #f6f8f9whitesmoke |
| Popover | #f7fbfdghostwhite | #05090ablack |
| Popover foreground | #020608black | #f6f8f9whitesmoke |
| Primary | #06222dblack | #06222dblack |
| Primary foreground | #1cabe3dodgerblue | #1cabe3dodgerblue |
| Secondary | #2d1106black | #2d1106black |
| Secondary foreground | #ee9977darksalmon | #ee9977darksalmon |
| Muted | #f3f2f2whitesmoke | #0d0c0cblack |
| Muted foreground | #525252darkslategray | #adadaddarkgray |
| Accent | #2d1106black | #2d1106black |
| Accent foreground | #ee9977darksalmon | #ee9977darksalmon |
| Destructive | #aa0909darkred | #f53d3dtomato |
| Destructive foreground | #fee7e7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #06222dblack | #06222dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.57:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 6.25:1 | AA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 6.98:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 6.49:1 | AA |
| Text on background | 18.79:1 | AAA |
| Text on card | 18.79:1 | AAA |
| Primary button | 6.25:1 | AA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 8.68:1 | AAA |
| Accent | 7.91:1 | AAA |
| Destructive | 3.74:1 | AA Large |
Paste this into your globals.css to use Wiggly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.006 223.187);
--foreground: oklch(0.118 0.011 218.213);
--muted: oklch(0.962 0.001 43.12);
--muted-foreground: oklch(0.437 0 180);
--popover: oklch(0.986 0.006 223.187);
--popover-foreground: oklch(0.118 0.011 218.213);
--card: oklch(0.986 0.006 223.187);
--card-foreground: oklch(0.118 0.011 218.213);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.237 0.04 228.064);
--primary-foreground: oklch(0.696 0.137 232.108);
--secondary: oklch(0.219 0.051 42.234);
--secondary-foreground: oklch(0.761 0.113 42.259);
--accent: oklch(0.219 0.051 42.234);
--accent-foreground: oklch(0.761 0.113 42.259);
--destructive: oklch(0.466 0.187 28.698);
--destructive-foreground: oklch(0.946 0.025 17.605);
--ring: oklch(0.237 0.04 228.064);
--chart-1: oklch(0.237 0.04 228.064);
--chart-2: oklch(0.219 0.051 42.234);
--chart-3: oklch(0.219 0.051 42.234);
--chart-4: oklch(0.254 0.064 41.13);
--chart-5: oklch(0.238 0.041 228.256);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.134 0.008 219.875);
--foreground: oklch(0.978 0.002 223.154);
--muted: oklch(0.158 0.002 43.032);
--muted-foreground: oklch(0.749 0 158.199);
--popover: oklch(0.134 0.008 219.875);
--popover-foreground: oklch(0.978 0.002 223.154);
--card: oklch(0.134 0.008 219.875);
--card-foreground: oklch(0.978 0.002 223.154);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.237 0.04 228.064);
--primary-foreground: oklch(0.696 0.137 232.108);
--secondary: oklch(0.219 0.051 42.234);
--secondary-foreground: oklch(0.761 0.113 42.259);
--accent: oklch(0.219 0.051 42.234);
--accent-foreground: oklch(0.761 0.113 42.259);
--destructive: oklch(0.64 0.22 26.017);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.237 0.04 228.064);
--chart-1: oklch(0.237 0.04 228.064);
--chart-2: oklch(0.219 0.051 42.234);
--chart-3: oklch(0.219 0.051 42.234);
--chart-4: oklch(0.254 0.064 41.13);
--chart-5: oklch(0.238 0.041 228.256);
}