Complete is a shadcn/ui theme built around a cyan primary color (#548a9c) with blue accents (#54669c). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#548a9c) on a cyan-tinted background (#040d10).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040d10black |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #040d10black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #040d10black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #548a9ccadetblue | #548a9ccadetblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #549c8acadetblue | #549c8acadetblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #eaf5f2whitesmoke | #0a1512black |
| Muted foreground | #57756edimgray | #8aa8a1darkseagreen |
| Accent | #54669csteelblue | #54669csteelblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #7f1e05maroon | #f65128tomato |
| Destructive foreground | #fcc8bapeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #548a9ccadetblue | #548a9ccadetblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 3.83:1 | AA Large |
| Secondary button | 6.48:1 | AA |
| Muted text | 4.52:1 | AA |
| Accent | 5.59:1 | AA |
| Destructive | 6.74:1 | AA |
| Text on background | 19.60:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 3.83:1 | AA Large |
| Secondary button | 6.48:1 | AA |
| Muted text | 7.27:1 | AAA |
| Accent | 5.59:1 | AA |
| Destructive | 3.42:1 | AA Large |
Paste this into your globals.css to use Complete in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.962 0.012 179.501);
--muted-foreground: oklch(0.537 0.037 177.706);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--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.602 0.063 221.286);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.64 0.078 175.561);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.519 0.088 269.157);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.395 0.136 34.105);
--destructive-foreground: oklch(0.874 0.063 34.402);
--ring: oklch(0.602 0.063 221.286);
--chart-1: oklch(0.602 0.063 221.286);
--chart-2: oklch(0.64 0.078 175.561);
--chart-3: oklch(0.519 0.088 269.157);
--chart-4: oklch(0.669 0.082 175.535);
--chart-5: oklch(0.606 0.069 221.571);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.151 0.016 218.346);
--foreground: oklch(1 0 180);
--muted: oklch(0.183 0.017 176.818);
--muted-foreground: oklch(0.707 0.036 178.353);
--popover: oklch(0.151 0.016 218.346);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.151 0.016 218.346);
--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.602 0.063 221.286);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.64 0.078 175.561);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.519 0.088 269.157);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.658 0.208 34.716);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.602 0.063 221.286);
--chart-1: oklch(0.602 0.063 221.286);
--chart-2: oklch(0.64 0.078 175.561);
--chart-3: oklch(0.519 0.088 269.157);
--chart-4: oklch(0.669 0.082 175.535);
--chart-5: oklch(0.606 0.069 221.571);
}