Implication is a shadcn/ui theme built around a light teal primary color (#baf2e9) with light red accents (#f2bac4). The light mode uses a neutral background (#fbfefe). Dark mode keeps the light teal primary (#baf2e9) on a neutral background (#020807).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #020807black |
| Foreground | #010404black | #ffffffwhite |
| Card | #fbfefewhite | #020807black |
| Card foreground | #010404black | #ffffffwhite |
| Popover | #fbfefewhite | #020807black |
| Popover foreground | #010404black | #ffffffwhite |
| Primary | #baf2e9paleturquoise | #baf2e9paleturquoise |
| Primary foreground | #03110fblack | #03110fblack |
| Secondary | #f2bac4lightpink | #f2bac4lightpink |
| Secondary foreground | #671421maroon | #671421maroon |
| Muted | #e7e4e4gainsboro | #1b1818black |
| Muted foreground | #47393bdarkslategray | #c6b8bbsilver |
| Accent | #f2bac4lightpink | #f2bac4lightpink |
| Accent foreground | #671421maroon | #671421maroon |
| Destructive | #d33212firebrick | #ef6043tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #baf2e9paleturquoise | #baf2e9paleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.30:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 15.55:1 | AAA |
| Secondary button | 7.43:1 | AAA |
| Muted text | 8.66:1 | AAA |
| Accent | 7.43:1 | AAA |
| Destructive | 4.94:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 15.55:1 | AAA |
| Secondary button | 7.43:1 | AAA |
| Muted text | 9.22:1 | AAA |
| Accent | 7.43:1 | AAA |
| Destructive | 6.40:1 | AA |
Paste this into your globals.css to use Implication in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 185.352);
--foreground: oklch(0.1 0.013 185.085);
--muted: oklch(0.921 0.004 5.56);
--muted-foreground: oklch(0.359 0.02 6.879);
--popover: oklch(0.995 0.004 185.352);
--popover-foreground: oklch(0.1 0.013 185.085);
--card: oklch(0.995 0.004 185.352);
--card-foreground: oklch(0.1 0.013 185.085);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.92 0.058 183.712);
--primary-foreground: oklch(0.164 0.022 182.71);
--secondary: oklch(0.843 0.065 7.413);
--secondary-foreground: oklch(0.341 0.116 17.061);
--accent: oklch(0.843 0.065 7.413);
--accent-foreground: oklch(0.341 0.116 17.061);
--destructive: oklch(0.569 0.201 32.681);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.92 0.058 183.712);
--chart-1: oklch(0.92 0.058 183.712);
--chart-2: oklch(0.843 0.065 7.413);
--chart-3: oklch(0.843 0.065 7.413);
--chart-4: oklch(0.872 0.052 6.969);
--chart-5: oklch(0.923 0.06 183.639);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.014 185.133);
--foreground: oklch(1 0 180);
--muted: oklch(0.212 0.006 6.147);
--muted-foreground: oklch(0.796 0.016 5.974);
--popover: oklch(0.124 0.014 185.133);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.124 0.014 185.133);
--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.92 0.058 183.712);
--primary-foreground: oklch(0.164 0.022 182.71);
--secondary: oklch(0.843 0.065 7.413);
--secondary-foreground: oklch(0.341 0.116 17.061);
--accent: oklch(0.843 0.065 7.413);
--accent-foreground: oklch(0.341 0.116 17.061);
--destructive: oklch(0.667 0.182 33.137);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.92 0.058 183.712);
--chart-1: oklch(0.92 0.058 183.712);
--chart-2: oklch(0.843 0.065 7.413);
--chart-3: oklch(0.843 0.065 7.413);
--chart-4: oklch(0.872 0.052 6.969);
--chart-5: oklch(0.923 0.06 183.639);
}