Impossible is a shadcn/ui theme built around a light red primary color (#f9e2e6) with light blue accents (#e2e6f9). The light mode uses a neutral background (#ffffff). Dark mode keeps the light red primary (#f9e2e6) on a neutral background (#040102).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040102black |
| Foreground | #000000black | #f9f6f6whitesmoke |
| Card | #fcfcfcsnow | #080203black |
| Card foreground | #000000black | #fbf9f9snow |
| Popover | #ffffffwhite | #040102black |
| Popover foreground | #000000black | #f9f6f6whitesmoke |
| Primary | #f9e2e6mistyrose | #f9e2e6mistyrose |
| Primary foreground | #8a1e30brown | #8a1e30brown |
| Secondary | #e6f9e2beige | #e6f9e2beige |
| Secondary foreground | #13360cdarkgreen | #13360cdarkgreen |
| Muted | #cfe7cblightgrey | #1d3418darkgreen |
| Muted foreground | #3a4937darkslategray | #b9c8b6silver |
| Accent | #e2e6f9lavender | #e2e6f9lavender |
| Accent foreground | #1e308amidnightblue | #1e308amidnightblue |
| Destructive | #af0e0efirebrick | #ee2f2fcrimson |
| Destructive foreground | #fef1f1lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f9e2e6mistyrose | #f9e2e6mistyrose |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.36:1 | AAA |
| Secondary button | 12.13:1 | AAA |
| Muted text | 7.28:1 | AAA |
| Accent | 9.13:1 | AAA |
| Destructive | 6.61:1 | AA |
| Text on background | 19.33:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 7.36:1 | AAA |
| Secondary button | 12.13:1 | AAA |
| Muted text | 7.67:1 | AAA |
| Accent | 9.13:1 | AAA |
| Destructive | 4.12:1 | AA Large |
Paste this into your globals.css to use Impossible in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.903 0.046 140.455);
--muted-foreground: oklch(0.386 0.035 140.398);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--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.931 0.026 6.152);
--primary-foreground: oklch(0.421 0.142 16.94);
--secondary: oklch(0.961 0.036 140.474);
--secondary-foreground: oklch(0.298 0.08 140.543);
--accent: oklch(0.926 0.026 276.856);
--accent-foreground: oklch(0.359 0.15 268.623);
--destructive: oklch(0.478 0.189 28.426);
--destructive-foreground: oklch(0.968 0.014 17.399);
--ring: oklch(0.931 0.026 6.152);
--chart-1: oklch(0.931 0.026 6.152);
--chart-2: oklch(0.961 0.036 140.474);
--chart-3: oklch(0.926 0.026 276.856);
--chart-4: oklch(0.977 0.021 140.499);
--chart-5: oklch(0.931 0.027 6.186);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.015 6.059);
--foreground: oklch(0.975 0.003 5.538);
--muted: oklch(0.299 0.057 140.344);
--muted-foreground: oklch(0.817 0.029 140.476);
--popover: oklch(0.083 0.015 6.059);
--popover-foreground: oklch(0.975 0.003 5.538);
--card: oklch(0.104 0.019 6.059);
--card-foreground: oklch(0.983 0.002 5.507);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.931 0.026 6.152);
--primary-foreground: oklch(0.421 0.142 16.94);
--secondary: oklch(0.961 0.036 140.474);
--secondary-foreground: oklch(0.298 0.08 140.543);
--accent: oklch(0.926 0.026 276.856);
--accent-foreground: oklch(0.359 0.15 268.623);
--destructive: oklch(0.617 0.225 26.936);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.931 0.026 6.152);
--chart-1: oklch(0.931 0.026 6.152);
--chart-2: oklch(0.961 0.036 140.474);
--chart-3: oklch(0.926 0.026 276.856);
--chart-4: oklch(0.977 0.021 140.499);
--chart-5: oklch(0.931 0.027 6.186);
}