Incomplete is a shadcn/ui theme built around a muted violet primary color (#543f5f) with muted light violet accents (#cec5d3). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted violet primary (#543f5f) on a violet-tinted background (#09040b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #09040bblack |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #09040bblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #09040bblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #543f5fdarkslategray | #543f5fdarkslategray |
| Primary foreground | #eae3edlavender | #eae3edlavender |
| Secondary | #dcdaddgainsboro | #2e2433darkslategray |
| Secondary foreground | #433f46darkslategray | #c8bacesilver |
| Muted | #eeeceewhitesmoke | #121113black |
| Muted foreground | #615568dimgray | #a497aadarkgray |
| Accent | #cec5d3thistle | #483252darkslategray |
| Accent foreground | #352c3adarkslategray | #ded3e4gainsboro |
| Destructive | #5e0908maroon | #ed2521crimson |
| Destructive foreground | #f7a2a1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #543f5fdarkslategray | #543f5fdarkslategray |
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 | 7.39:1 | AAA |
| Secondary button | 7.39:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 8.00:1 | AAA |
| Destructive | 6.98:1 | AA |
| Text on background | 20.32:1 | AAA |
| Text on card | 20.32:1 | AAA |
| Primary button | 7.39:1 | AAA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 6.81:1 | AA |
| Accent | 7.82:1 | AAA |
| Destructive | 4.29:1 | AA Large |
Paste this into your globals.css to use Incomplete in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.945 0.004 314.808);
--muted-foreground: oklch(0.468 0.034 314.477);
--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.404 0.058 314.111);
--primary-foreground: oklch(0.925 0.014 314.754);
--secondary: oklch(0.89 0.005 314.797);
--secondary-foreground: oklch(0.374 0.013 314.664);
--accent: oklch(0.836 0.021 314.707);
--accent-foreground: oklch(0.31 0.026 314.415);
--destructive: oklch(0.311 0.117 28.131);
--destructive-foreground: oklch(0.796 0.102 20.647);
--ring: oklch(0.404 0.058 314.111);
--chart-1: oklch(0.404 0.058 314.111);
--chart-2: oklch(0.89 0.005 314.797);
--chart-3: oklch(0.836 0.021 314.707);
--chart-4: oklch(0.914 0.004 314.804);
--chart-5: oklch(0.401 0.067 313.988);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.023 316.335);
--foreground: oklch(1 0 180);
--muted: oklch(0.179 0.006 314.672);
--muted-foreground: oklch(0.694 0.031 314.613);
--popover: oklch(0.121 0.023 316.335);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.121 0.023 316.335);
--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.404 0.058 314.111);
--primary-foreground: oklch(0.925 0.014 314.754);
--secondary: oklch(0.278 0.03 314.3);
--secondary-foreground: oklch(0.807 0.031 314.639);
--accent: oklch(0.357 0.06 313.974);
--accent-foreground: oklch(0.88 0.026 314.682);
--destructive: oklch(0.607 0.231 28.225);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.404 0.058 314.111);
--chart-1: oklch(0.404 0.058 314.111);
--chart-2: oklch(0.278 0.03 314.3);
--chart-3: oklch(0.357 0.06 313.974);
--chart-4: oklch(0.307 0.034 314.278);
--chart-5: oklch(0.401 0.067 313.988);
}