Complicated is a shadcn/ui theme built around a vivid light indigo primary color (#a4a2fb) with vivid light violet accents (#d0a2fb). The light mode uses a neutral background (#f7f7fd). Dark mode keeps the vivid light indigo primary (#a4a2fb) on an indigo-tinted background (#07070d).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f7fdghostwhite | #07070dblack |
| Foreground | #030312black | #f9f9faghostwhite |
| Card | #f7f7fdghostwhite | #07070dblack |
| Card foreground | #030312black | #f9f9faghostwhite |
| Popover | #f7f7fdghostwhite | #07070dblack |
| Popover foreground | #030312black | #f9f9faghostwhite |
| Primary | #a4a2fblightsteelblue | #a4a2fblightsteelblue |
| Primary foreground | #060566navy | #060566navy |
| Secondary | #a2cdfblightblue | #a2cdfblightblue |
| Secondary foreground | #053466midnightblue | #053466midnightblue |
| Muted | #e3e5e8gainsboro | #17191cblack |
| Muted foreground | #424548darkslategray | #b7babdsilver |
| Accent | #d0a2fbplum | #d0a2fbplum |
| Accent foreground | #370566indigo | #370566indigo |
| Destructive | #b3240ffirebrick | #ee452btomato |
| Destructive foreground | #fef7f6snow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a4a2fblightsteelblue | #a4a2fblightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.16:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 7.50:1 | AAA |
| Secondary button | 7.50:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 7.46:1 | AAA |
| Destructive | 6.22:1 | AA |
| Text on background | 19.09:1 | AAA |
| Text on card | 19.09:1 | AAA |
| Primary button | 7.50:1 | AAA |
| Secondary button | 7.50:1 | AAA |
| Muted text | 9.00:1 | AAA |
| Accent | 7.46:1 | AAA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Complicated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.977 0.008 287.017);
--foreground: oklch(0.11 0.039 279.13);
--muted: oklch(0.922 0.004 249.696);
--muted-foreground: oklch(0.388 0.006 249.792);
--popover: oklch(0.977 0.008 287.017);
--popover-foreground: oklch(0.11 0.039 279.13);
--card: oklch(0.977 0.008 287.017);
--card-foreground: oklch(0.11 0.039 279.13);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.75 0.126 283.698);
--primary-foreground: oklch(0.24 0.154 267.078);
--secondary: oklch(0.834 0.079 250.468);
--secondary-foreground: oklch(0.327 0.1 254.632);
--accent: oklch(0.787 0.131 307.333);
--accent-foreground: oklch(0.286 0.147 299.157);
--destructive: oklch(0.5 0.181 31.528);
--destructive-foreground: oklch(0.981 0.008 27.976);
--ring: oklch(0.75 0.126 283.698);
--chart-1: oklch(0.75 0.126 283.698);
--chart-2: oklch(0.834 0.079 250.468);
--chart-3: oklch(0.787 0.131 307.333);
--chart-4: oklch(0.86 0.066 250.311);
--chart-5: oklch(0.747 0.13 283.549);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.132 0.015 285.027);
--foreground: oklch(0.983 0.001 287.142);
--muted: oklch(0.214 0.006 249.92);
--muted-foreground: oklch(0.788 0.005 249.71);
--popover: oklch(0.132 0.015 285.027);
--popover-foreground: oklch(0.983 0.001 287.142);
--card: oklch(0.132 0.015 285.027);
--card-foreground: oklch(0.983 0.001 287.142);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.75 0.126 283.698);
--primary-foreground: oklch(0.24 0.154 267.078);
--secondary: oklch(0.834 0.079 250.468);
--secondary-foreground: oklch(0.327 0.1 254.632);
--accent: oklch(0.787 0.131 307.333);
--accent-foreground: oklch(0.286 0.147 299.157);
--destructive: oklch(0.633 0.21 31.647);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.75 0.126 283.698);
--chart-1: oklch(0.75 0.126 283.698);
--chart-2: oklch(0.834 0.079 250.468);
--chart-3: oklch(0.787 0.131 307.333);
--chart-4: oklch(0.86 0.066 250.311);
--chart-5: oklch(0.747 0.13 283.549);
}