Ectodermal is a shadcn/ui theme built around a blue primary color (#1c6487) with blue accents (#1c2e87). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#1c6487) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010304black |
| Foreground | #050f15black | #f5f8fawhitesmoke |
| Card | #ffffffwhite | #010304black |
| Card foreground | #050f15black | #f5f8fawhitesmoke |
| Popover | #ffffffwhite | #010304black |
| Popover foreground | #050f15black | #f5f8fawhitesmoke |
| Primary | #1c6487teal | #1c6487teal |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #1c8776teal | #1c8776teal |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e9f1f0whitesmoke | #0e1614black |
| Muted foreground | #485b58darkslategray | #a4b7b4darkgray |
| Accent | #1c2e87midnightblue | #1c2e87midnightblue |
| Accent foreground | #dde2f8lavender | #dde2f8lavender |
| Destructive | #d54f01chocolate | #f95c01orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1c6487teal | #1c6487teal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.34:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 6.54:1 | AA |
| Secondary button | 4.37:1 | AA Large |
| Muted text | 6.28:1 | AA |
| Accent | 9.12:1 | AAA |
| Destructive | 4.24:1 | AA Large |
| Text on background | 19.37:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 6.54:1 | AA |
| Secondary button | 4.37:1 | AA Large |
| Muted text | 8.77:1 | AAA |
| Accent | 9.12:1 | AAA |
| Destructive | 6.54:1 | AA |
Paste this into your globals.css to use Ectodermal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.162 0.02 229.14);
--muted: oklch(0.952 0.008 185.225);
--muted-foreground: oklch(0.455 0.025 183.974);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.162 0.02 229.14);
--card: oklch(1 0 180);
--card-foreground: oklch(0.162 0.02 229.14);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.476 0.089 235.431);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.563 0.096 178.281);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.351 0.151 268.347);
--accent-foreground: oklch(0.915 0.031 276.771);
--destructive: oklch(0.601 0.182 41.601);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.476 0.089 235.431);
--chart-1: oklch(0.476 0.089 235.431);
--chart-2: oklch(0.563 0.096 178.281);
--chart-3: oklch(0.351 0.151 268.347);
--chart-4: oklch(0.6 0.103 178.199);
--chart-5: oklch(0.478 0.092 235.901);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.093 0.01 222.472);
--foreground: oklch(0.978 0.004 228.807);
--muted: oklch(0.19 0.012 183.766);
--muted-foreground: oklch(0.764 0.022 184.68);
--popover: oklch(0.093 0.01 222.472);
--popover-foreground: oklch(0.978 0.004 228.807);
--card: oklch(0.093 0.01 222.472);
--card-foreground: oklch(0.978 0.004 228.807);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.476 0.089 235.431);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.563 0.096 178.281);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.351 0.151 268.347);
--accent-foreground: oklch(0.915 0.031 276.771);
--destructive: oklch(0.674 0.206 41.216);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.476 0.089 235.431);
--chart-1: oklch(0.476 0.089 235.431);
--chart-2: oklch(0.563 0.096 178.281);
--chart-3: oklch(0.351 0.151 268.347);
--chart-4: oklch(0.6 0.103 178.199);
--chart-5: oklch(0.478 0.092 235.901);
}