Improbable is a shadcn/ui theme built around a light pink primary color (#f1d5de) with light blue accents (#d5def1). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the light pink primary (#f1d5de) on a pink-tinted background (#100508).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f9snow | #100508black |
| Foreground | #0b0406black | #faf5f7whitesmoke |
| Card | #fcf8f9snow | #100508black |
| Card foreground | #0b0406black | #faf5f7whitesmoke |
| Popover | #fcf8f9snow | #100508black |
| Popover foreground | #0b0406black | #faf5f7whitesmoke |
| Primary | #f1d5demistyrose | #f1d5demistyrose |
| Primary foreground | #6f253ebrown | #6f253ebrown |
| Secondary | #def1d5gainsboro | #def1d5gainsboro |
| Secondary foreground | #13220bblack | #13220bblack |
| Muted | #e8f3e3beige | #121c0cblack |
| Muted foreground | #414f3bdarkslategray | #b7c4b0silver |
| Accent | #d5def1lavender | #d5def1lavender |
| Accent foreground | #253e6fdarkslategray | #253e6fdarkslategray |
| Destructive | #9d4210saddlebrown | #e76118chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f1d5demistyrose | #f1d5demistyrose |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.26:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 7.61:1 | AAA |
| Secondary button | 13.99:1 | AAA |
| Muted text | 7.60:1 | AAA |
| Accent | 7.79:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 18.61:1 | AAA |
| Text on card | 18.61:1 | AAA |
| Primary button | 7.61:1 | AAA |
| Secondary button | 13.99:1 | AAA |
| Muted text | 9.61:1 | AAA |
| Accent | 7.79:1 | AAA |
| Destructive | 6.09:1 | AA |
Paste this into your globals.css to use Improbable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 354.722);
--foreground: oklch(0.122 0.019 354.439);
--muted: oklch(0.951 0.024 134.953);
--muted-foreground: oklch(0.41 0.038 135.324);
--popover: oklch(0.982 0.005 354.722);
--popover-foreground: oklch(0.122 0.019 354.439);
--card: oklch(0.982 0.005 354.722);
--card-foreground: oklch(0.122 0.019 354.439);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.899 0.033 355.636);
--primary-foreground: oklch(0.383 0.107 3.007);
--secondary: oklch(0.937 0.042 135.056);
--secondary-foreground: oklch(0.233 0.046 136.177);
--accent: oklch(0.9 0.028 264.428);
--accent-foreground: oklch(0.37 0.09 262.75);
--destructive: oklch(0.493 0.134 43.934);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.899 0.033 355.636);
--chart-1: oklch(0.899 0.033 355.636);
--chart-2: oklch(0.937 0.042 135.056);
--chart-3: oklch(0.9 0.028 264.428);
--chart-4: oklch(0.954 0.031 134.988);
--chart-5: oklch(0.898 0.035 355.699);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.024 355.932);
--foreground: oklch(0.974 0.005 354.744);
--muted: oklch(0.212 0.034 135.79);
--muted-foreground: oklch(0.805 0.032 135.03);
--popover: oklch(0.135 0.024 355.932);
--popover-foreground: oklch(0.974 0.005 354.744);
--card: oklch(0.135 0.024 355.932);
--card-foreground: oklch(0.974 0.005 354.744);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.899 0.033 355.636);
--primary-foreground: oklch(0.383 0.107 3.007);
--secondary: oklch(0.937 0.042 135.056);
--secondary-foreground: oklch(0.233 0.046 136.177);
--accent: oklch(0.9 0.028 264.428);
--accent-foreground: oklch(0.37 0.09 262.75);
--destructive: oklch(0.652 0.183 43.304);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.899 0.033 355.636);
--chart-1: oklch(0.899 0.033 355.636);
--chart-2: oklch(0.937 0.042 135.056);
--chart-3: oklch(0.9 0.028 264.428);
--chart-4: oklch(0.954 0.031 134.988);
--chart-5: oklch(0.898 0.035 355.699);
}