Wiggly is a shadcn/ui theme built around a red primary color (#d98c9f) with orange accents (#d99f8c). The light mode uses a neutral background (#fefbfc). Dark mode keeps the red primary (#d98c9f) on a neutral background (#040202).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #040202black |
| Foreground | #090103black | #f9f5f6whitesmoke |
| Card | #fefbfcsnow | #040202black |
| Card foreground | #090103black | #f9f5f6whitesmoke |
| Popover | #fefbfcsnow | #040202black |
| Popover foreground | #090103black | #f9f5f6whitesmoke |
| Primary | #d98c9fpalevioletred | #d98c9fpalevioletred |
| Primary foreground | #260d13black | #260d13black |
| Secondary | #d98cc6plum | #d98cc6plum |
| Secondary foreground | #260d20black | #260d20black |
| Muted | #ead7e5gainsboro | #281523black |
| Muted foreground | #5b4355dimgray | #bca4b6darkgray |
| Accent | #d99f8ctan | #d99f8ctan |
| Accent foreground | #26130dblack | #26130dblack |
| Destructive | #d84e0echocolate | #dd4f0echocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d98c9fpalevioletred | #d98c9fpalevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.05:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 6.44:1 | AA |
| Accent | 7.87:1 | AAA |
| Destructive | 4.20:1 | AA Large |
| Text on background | 19.18:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 7.45:1 | AAA |
| Accent | 7.87:1 | AAA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use Wiggly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 359.961);
--foreground: oklch(0.101 0.025 359.753);
--muted: oklch(0.898 0.028 334.395);
--muted-foreground: oklch(0.416 0.043 335.511);
--popover: oklch(0.99 0.003 359.961);
--popover-foreground: oklch(0.101 0.025 359.753);
--card: oklch(0.99 0.003 359.961);
--card-foreground: oklch(0.101 0.025 359.753);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.724 0.096 3.471);
--primary-foreground: oklch(0.201 0.044 6.072);
--secondary: oklch(0.737 0.118 336.385);
--secondary-foreground: oklch(0.207 0.052 337.828);
--accent: oklch(0.753 0.074 39.217);
--accent-foreground: oklch(0.213 0.034 39.167);
--destructive: oklch(0.604 0.185 39.887);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.724 0.096 3.471);
--chart-1: oklch(0.724 0.096 3.471);
--chart-2: oklch(0.737 0.118 336.385);
--chart-3: oklch(0.753 0.074 39.217);
--chart-4: oklch(0.762 0.106 336.062);
--chart-5: oklch(0.722 0.102 3.708);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.01 359.815);
--foreground: oklch(0.975 0.004 359.995);
--muted: oklch(0.228 0.039 336.552);
--muted-foreground: oklch(0.745 0.037 334.687);
--popover: oklch(0.086 0.01 359.815);
--popover-foreground: oklch(0.975 0.004 359.995);
--card: oklch(0.086 0.01 359.815);
--card-foreground: oklch(0.975 0.004 359.995);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.724 0.096 3.471);
--primary-foreground: oklch(0.201 0.044 6.072);
--secondary: oklch(0.737 0.118 336.385);
--secondary-foreground: oklch(0.207 0.052 337.828);
--accent: oklch(0.753 0.074 39.217);
--accent-foreground: oklch(0.213 0.034 39.167);
--destructive: oklch(0.614 0.188 39.853);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.724 0.096 3.471);
--chart-1: oklch(0.724 0.096 3.471);
--chart-2: oklch(0.737 0.118 336.385);
--chart-3: oklch(0.753 0.074 39.217);
--chart-4: oklch(0.762 0.106 336.062);
--chart-5: oklch(0.722 0.102 3.708);
}