Complicated is a shadcn/ui theme built around a deep teal primary color (#182f29) with deep yellow accents (#2f2918). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the deep teal primary (#182f29) on a neutral background (#030806).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #030806black |
| Foreground | #010403black | #fbfdfdwhite |
| Card | #f8fcfbmintcream | #040b09black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fcfbmintcream | #040b09black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #182f29darkslategray | #182f29darkslategray |
| Primary foreground | #a7d3c6lightsteelblue | #a7d3c6lightsteelblue |
| Secondary | #29182fdarkslategray | #29182fdarkslategray |
| Secondary foreground | #c6a7d3plum | #c6a7d3plum |
| Muted | #eee3f3lavender | #180c1cblack |
| Muted foreground | #524757darkslategray | #b3a8b8darkgray |
| Accent | #2f2918black | #2f2918black |
| Accent foreground | #d3c6a7silver | #d3c6a7silver |
| Destructive | #cd0404firebrick | #fb3232crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #182f29darkslategray | #182f29darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.22:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 8.60:1 | AAA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 7.03:1 | AAA |
| Accent | 8.55:1 | AAA |
| Destructive | 5.81:1 | AA |
| Text on background | 19.79:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 8.60:1 | AAA |
| Secondary button | 7.79:1 | AAA |
| Muted text | 8.29:1 | AAA |
| Accent | 8.55:1 | AAA |
| Destructive | 3.75:1 | AA Large |
Paste this into your globals.css to use Complicated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 177.659);
--foreground: oklch(0.099 0.012 177.862);
--muted: oklch(0.928 0.024 316.532);
--muted-foreground: oklch(0.416 0.03 316.4);
--popover: oklch(0.987 0.004 177.603);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.004 177.603);
--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.285 0.032 173.742);
--primary-foreground: oklch(0.831 0.049 175.875);
--secondary: oklch(0.242 0.049 315.94);
--secondary-foreground: oklch(0.77 0.07 316.34);
--accent: oklch(0.283 0.03 88.801);
--accent-foreground: oklch(0.829 0.044 89.012);
--destructive: oklch(0.534 0.217 29.064);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.285 0.032 173.742);
--chart-1: oklch(0.285 0.032 173.742);
--chart-2: oklch(0.242 0.049 315.94);
--chart-3: oklch(0.283 0.03 88.801);
--chart-4: oklch(0.271 0.058 315.894);
--chart-5: oklch(0.288 0.035 173.39);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.013 177.843);
--foreground: oklch(0.994 0.002 177.648);
--muted: oklch(0.181 0.036 315.961);
--muted-foreground: oklch(0.746 0.026 316.508);
--popover: oklch(0.141 0.015 177.533);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.141 0.015 177.533);
--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.285 0.032 173.742);
--primary-foreground: oklch(0.831 0.049 175.875);
--secondary: oklch(0.242 0.049 315.94);
--secondary-foreground: oklch(0.77 0.07 316.34);
--accent: oklch(0.283 0.03 88.801);
--accent-foreground: oklch(0.829 0.044 89.012);
--destructive: oklch(0.641 0.234 26.966);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.285 0.032 173.742);
--chart-1: oklch(0.285 0.032 173.742);
--chart-2: oklch(0.242 0.049 315.94);
--chart-3: oklch(0.283 0.03 88.801);
--chart-4: oklch(0.271 0.058 315.894);
--chart-5: oklch(0.288 0.035 173.39);
}