Impediment is a shadcn/ui theme built around a teal primary color (#68dfd5) with muted light teal accents (#d2dbda). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#68dfd5) on a teal-tinted background (#050a0a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050a0ablack |
| Foreground | #020808black | #fcfdfdwhite |
| Card | #fcfcfcsnow | #070d0dblack |
| Card foreground | #010404black | #ffffffwhite |
| Popover | #ffffffwhite | #050a0ablack |
| Popover foreground | #020808black | #fcfdfdwhite |
| Primary | #68dfd5mediumturquoise | #68dfd5mediumturquoise |
| Primary foreground | #041110black | #041110black |
| Secondary | #eaebeblavender | #252727darkslategray |
| Secondary foreground | #505353darkslategray | #bec1c0silver |
| Muted | #d6dbdbgainsboro | #242928darkslategray |
| Muted foreground | #465352darkslategray | #acb9b8darkgray |
| Accent | #d2dbdagainsboro | #333d3cdarkslategray |
| Accent foreground | #364443darkslategray | #cdd5d5lightgrey |
| Destructive | #d61f0afirebrick | #f64f3ctomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #68dfd5mediumturquoise | #68dfd5mediumturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.17:1 | AAA |
| Text on card | 20.13:1 | AAA |
| Primary button | 11.97:1 | AAA |
| Secondary button | 6.50:1 | AA |
| Muted text | 5.74:1 | AA |
| Accent | 7.18:1 | AAA |
| Destructive | 5.16:1 | AA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 11.97:1 | AAA |
| Secondary button | 8.27:1 | AAA |
| Muted text | 7.30:1 | AAA |
| Accent | 7.49:1 | AAA |
| Destructive | 3.44:1 | AA Large |
Paste this into your globals.css to use Impediment in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.126 0.015 190.32);
--muted: oklch(0.888 0.006 191.106);
--muted-foreground: oklch(0.43 0.016 190.451);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.126 0.015 190.32);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.1 0.012 190.32);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.832 0.109 187.95);
--primary-foreground: oklch(0.163 0.021 188.948);
--secondary: oklch(0.939 0.001 191.229);
--secondary-foreground: oklch(0.44 0.004 191.039);
--accent: oklch(0.883 0.01 191.008);
--accent-foreground: oklch(0.374 0.018 190.211);
--destructive: oklch(0.561 0.216 30.422);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.832 0.109 187.95);
--chart-1: oklch(0.832 0.109 187.95);
--chart-2: oklch(0.939 0.001 191.229);
--chart-3: oklch(0.883 0.01 191.008);
--chart-4: oklch(0.962 0.001 191.237);
--chart-5: oklch(0.838 0.112 187.828);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.009 190.688);
--foreground: oklch(0.993 0.001 191.225);
--muted: oklch(0.275 0.008 190.636);
--muted-foreground: oklch(0.775 0.014 190.863);
--popover: oklch(0.139 0.009 190.688);
--popover-foreground: oklch(0.993 0.001 191.225);
--card: oklch(0.154 0.011 189.969);
--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.832 0.109 187.95);
--primary-foreground: oklch(0.163 0.021 188.948);
--secondary: oklch(0.271 0.002 191.069);
--secondary-foreground: oklch(0.807 0.003 191.173);
--accent: oklch(0.351 0.013 190.402);
--accent-foreground: oklch(0.867 0.009 191.022);
--destructive: oklch(0.658 0.206 29.884);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.832 0.109 187.95);
--chart-1: oklch(0.832 0.109 187.95);
--chart-2: oklch(0.271 0.002 191.069);
--chart-3: oklch(0.351 0.013 190.402);
--chart-4: oklch(0.303 0.003 191.061);
--chart-5: oklch(0.838 0.112 187.828);
}