Complicated is a shadcn/ui theme built around a blue primary color (#499dda) with orange accents (#da8549). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the blue primary (#499dda) on a blue-tinted background (#03080c).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #03080cblack |
| Foreground | #000000black | #ffffffwhite |
| Card | #fbfdfewhite | #03080cblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfdfewhite | #03080cblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #499ddacornflowerblue | #499ddacornflowerblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #da8549peru | #da8549peru |
| Secondary foreground | #000000black | #000000black |
| Muted | #e0dddcgainsboro | #23211fblack |
| Muted foreground | #493e37darkslategray | #c8beb6silver |
| Accent | #da8549peru | #da8549peru |
| Accent foreground | #000000black | #000000black |
| Destructive | #692102maroon | #fb6423tomato |
| Destructive foreground | #fdbca0lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #499ddacornflowerblue | #499ddacornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.54:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 7.43:1 | AAA |
| Muted text | 7.69:1 | AAA |
| Accent | 7.43:1 | AAA |
| Destructive | 7.08:1 | AAA |
| Text on background | 20.07:1 | AAA |
| Text on card | 20.07:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 7.43:1 | AAA |
| Muted text | 8.79:1 | AAA |
| Accent | 7.43:1 | AAA |
| Destructive | 6.92:1 | AA |
Paste this into your globals.css to use Complicated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 238.398);
--foreground: oklch(0 0 0);
--muted: oklch(0.901 0.004 58.301);
--muted-foreground: oklch(0.373 0.019 57.642);
--popover: oklch(0.992 0.002 238.398);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0.002 238.398);
--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.671 0.121 242.66);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.695 0.128 54.317);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.695 0.128 54.317);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.356 0.11 39.865);
--destructive-foreground: oklch(0.848 0.085 44.213);
--ring: oklch(0.671 0.121 242.66);
--chart-1: oklch(0.671 0.121 242.66);
--chart-2: oklch(0.695 0.128 54.317);
--chart-3: oklch(0.695 0.128 54.317);
--chart-4: oklch(0.715 0.12 55.024);
--chart-5: oklch(0.673 0.126 242.953);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.131 0.015 231.636);
--foreground: oklch(1 0 180);
--muted: oklch(0.249 0.005 58.056);
--muted-foreground: oklch(0.807 0.016 58.092);
--popover: oklch(0.131 0.015 231.636);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.131 0.015 231.636);
--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.671 0.121 242.66);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.695 0.128 54.317);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.695 0.128 54.317);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.687 0.198 40.415);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.671 0.121 242.66);
--chart-1: oklch(0.671 0.121 242.66);
--chart-2: oklch(0.695 0.128 54.317);
--chart-3: oklch(0.695 0.128 54.317);
--chart-4: oklch(0.715 0.12 55.024);
--chart-5: oklch(0.673 0.126 242.953);
}