Complete is a shadcn/ui theme built around a vivid yellow primary color (#f7e302) with muted light yellow accents (#d0cebe). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid yellow primary (#f7e302) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040301black |
| Foreground | #090801black | #fdfdfcwhite |
| Card | #fcfcfcsnow | #070703black |
| Card foreground | #040401black | #ffffffwhite |
| Popover | #fcfcfcsnow | #070703black |
| Popover foreground | #040401black | #ffffffwhite |
| Primary | #f7e302gold | #f7e302gold |
| Primary foreground | #2d2a00black | #2d2a00black |
| Secondary | #deddd9gainsboro | #1f1e14black |
| Secondary foreground | #47463edarkslategray | #c2bfa3silver |
| Muted | #f5f4f0whitesmoke | #0f0f0ablack |
| Muted foreground | #5a5844darkolivegreen | #bbb9a5darkgray |
| Accent | #d0cebesilver | #3b3921darkslategray |
| Accent foreground | #353427darkslategray | #d7d4b7lightgrey |
| Destructive | #9c410dsaddlebrown | #de5d12chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f7e302gold | #f7e302gold |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.06:1 | AAA |
| Text on card | 20.08:1 | AAA |
| Primary button | 11.06:1 | AAA |
| Secondary button | 6.99:1 | AA |
| Muted text | 6.55:1 | AA |
| Accent | 7.94:1 | AAA |
| Destructive | 6.62:1 | AA |
| Text on background | 20.22:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 11.06:1 | AAA |
| Secondary button | 9.01:1 | AAA |
| Muted text | 9.69:1 | AAA |
| Accent | 7.79:1 | AAA |
| Destructive | 3.70: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.132 0.021 105.802);
--muted: oklch(0.967 0.006 102.317);
--muted-foreground: oklch(0.457 0.032 103.243);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.105 0.017 105.802);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.105 0.017 105.802);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.904 0.19 102.876);
--primary-foreground: oklch(0.279 0.058 104.257);
--secondary: oklch(0.898 0.006 102.325);
--secondary-foreground: oklch(0.393 0.014 102.772);
--accent: oklch(0.849 0.022 102.632);
--accent-foreground: oklch(0.322 0.023 103.268);
--destructive: oklch(0.49 0.134 44.64);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.904 0.19 102.876);
--chart-1: oklch(0.904 0.19 102.876);
--chart-2: oklch(0.898 0.006 102.325);
--chart-3: oklch(0.849 0.022 102.632);
--chart-4: oklch(0.92 0.005 102.298);
--chart-5: oklch(0.914 0.192 102.775);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.1 0.01 104.583);
--foreground: oklch(0.994 0.002 102.244);
--muted: oklch(0.167 0.009 103.073);
--muted-foreground: oklch(0.782 0.028 102.776);
--popover: oklch(0.126 0.013 104.583);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.126 0.013 104.583);
--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.904 0.19 102.876);
--primary-foreground: oklch(0.279 0.058 104.257);
--secondary: oklch(0.232 0.017 103.31);
--secondary-foreground: oklch(0.8 0.038 102.953);
--accent: oklch(0.34 0.039 103.787);
--accent-foreground: oklch(0.866 0.04 102.928);
--destructive: oklch(0.633 0.178 43.956);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.904 0.19 102.876);
--chart-1: oklch(0.904 0.19 102.876);
--chart-2: oklch(0.232 0.017 103.31);
--chart-3: oklch(0.34 0.039 103.787);
--chart-4: oklch(0.269 0.021 103.382);
--chart-5: oklch(0.914 0.192 102.775);
}