Incubation is a shadcn/ui theme built around a light purple primary color (#f2a6dc) with light green accents (#a6f2bc). The light mode uses a neutral background (#fdf6fb). Dark mode keeps the light purple primary (#f2a6dc) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf6fbsnow | #000000black |
| Foreground | #0b0409black | #f9f6f8whitesmoke |
| Card | #fdf2falavenderblush | #030303black |
| Card foreground | #080306black | #fbf9fasnow |
| Popover | #fdf2falavenderblush | #030303black |
| Popover foreground | #080306black | #fbf9fasnow |
| Primary | #f2a6dcplum | #f2a6dcplum |
| Primary foreground | #590d43indigo | #590d43indigo |
| Secondary | #a6f2bcpalegreen | #a6f2bcpalegreen |
| Secondary foreground | #0d5923darkgreen | #0d5923darkgreen |
| Muted | #dde9e0gainsboro | #162219black |
| Muted foreground | #404441darkslategray | #bbbfbcsilver |
| Accent | #a6f2bcpalegreen | #a6f2bcpalegreen |
| Accent foreground | #0d5923darkgreen | #0d5923darkgreen |
| Destructive | #b33900firebrick | #ff5100orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f2a6dcplum | #f2a6dcplum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.13:1 | AAA |
| Text on card | 18.75:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 6.48:1 | AA |
| Muted text | 7.92:1 | AAA |
| Accent | 6.48:1 | AA |
| Destructive | 6.03:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 7.21:1 | AAA |
| Secondary button | 6.48:1 | AA |
| Muted text | 8.82:1 | AAA |
| Accent | 6.48:1 | AA |
| Destructive | 3.27:1 | AA Large |
Paste this into your globals.css to use Incubation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.01 335.378);
--foreground: oklch(0.124 0.023 335.924);
--muted: oklch(0.923 0.018 154.836);
--muted-foreground: oklch(0.383 0.007 154.848);
--popover: oklch(0.972 0.015 335.474);
--popover-foreground: oklch(0.108 0.02 335.718);
--card: oklch(0.972 0.015 335.474);
--card-foreground: oklch(0.108 0.02 335.718);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.815 0.112 337.522);
--primary-foreground: oklch(0.32 0.122 342.443);
--secondary: oklch(0.897 0.105 152.779);
--secondary-foreground: oklch(0.406 0.111 147.698);
--accent: oklch(0.897 0.105 152.779);
--accent-foreground: oklch(0.406 0.111 147.698);
--destructive: oklch(0.517 0.167 38.696);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.815 0.112 337.522);
--chart-1: oklch(0.815 0.112 337.522);
--chart-2: oklch(0.897 0.105 152.779);
--chart-3: oklch(0.897 0.105 152.779);
--chart-4: oklch(0.911 0.09 153.209);
--chart-5: oklch(0.814 0.116 337.613);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.005 335.28);
--muted: oklch(0.238 0.024 153.146);
--muted-foreground: oklch(0.8 0.006 155.055);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.984 0.003 335.25);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.984 0.003 335.25);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.815 0.112 337.522);
--primary-foreground: oklch(0.32 0.122 342.443);
--secondary: oklch(0.897 0.105 152.779);
--secondary-foreground: oklch(0.406 0.111 147.698);
--accent: oklch(0.897 0.105 152.779);
--accent-foreground: oklch(0.406 0.111 147.698);
--destructive: oklch(0.671 0.221 37.808);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.815 0.112 337.522);
--chart-1: oklch(0.815 0.112 337.522);
--chart-2: oklch(0.897 0.105 152.779);
--chart-3: oklch(0.897 0.105 152.779);
--chart-4: oklch(0.911 0.09 153.209);
--chart-5: oklch(0.814 0.116 337.613);
}