Cytoplasm is a shadcn/ui theme built around a vivid deep teal primary color (#0e816a) with muted light teal accents (#bedad5). The light mode uses a neutral background (#f8fbfb). Dark mode keeps the vivid deep teal primary (#0e816a) on a neutral background (#030706).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfbghostwhite | #030706black |
| Foreground | #04100eblack | #ffffffwhite |
| Card | #f5faf9mintcream | #050b0ablack |
| Card foreground | #030c0ablack | #ffffffwhite |
| Popover | #f8fbfbghostwhite | #030706black |
| Popover foreground | #04100eblack | #ffffffwhite |
| Primary | #0e816ateal | #0e816ateal |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dbe6e4gainsboro | #161d1bblack |
| Secondary foreground | #3a5550darkslategray | #a9bcb8darkgray |
| Muted | #edf3f1whitesmoke | #0c1211black |
| Muted foreground | #505857darkslategray | #a7afaddarkgray |
| Accent | #bedad5lightgrey | #233430darkslategray |
| Accent foreground | #25413cdarkslategray | #b9cfcbsilver |
| Destructive | #d10a00red | #ff3d33tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0e816ateal | #0e816ateal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.65:1 | AAA |
| Text on card | 18.74:1 | AAA |
| Primary button | 4.79:1 | AA |
| Secondary button | 6.34:1 | AA |
| Muted text | 6.48:1 | AA |
| Accent | 7.47:1 | AAA |
| Destructive | 5.58:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 4.79:1 | AA |
| Secondary button | 8.63:1 | AAA |
| Muted text | 8.43:1 | AAA |
| Accent | 8.03:1 | AAA |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use Cytoplasm in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.003 183.089);
--foreground: oklch(0.16 0.019 180.748);
--muted: oklch(0.958 0.006 183.003);
--muted-foreground: oklch(0.454 0.011 182.513);
--popover: oklch(0.987 0.003 183.089);
--popover-foreground: oklch(0.16 0.019 180.748);
--card: oklch(0.98 0.005 183.04);
--card-foreground: oklch(0.143 0.017 182.384);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.54 0.1 173.875);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.916 0.013 182.8);
--secondary-foreground: oklch(0.426 0.034 180.789);
--accent: oklch(0.867 0.031 182.167);
--accent-foreground: oklch(0.352 0.036 179.923);
--destructive: oklch(0.543 0.22 29.733);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.54 0.1 173.875);
--chart-1: oklch(0.54 0.1 173.875);
--chart-2: oklch(0.916 0.013 182.8);
--chart-3: oklch(0.867 0.031 182.167);
--chart-4: oklch(0.937 0.01 182.904);
--chart-5: oklch(0.546 0.102 173.567);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.011 183.065);
--foreground: oklch(1 0 180);
--muted: oklch(0.177 0.009 181.662);
--muted-foreground: oklch(0.747 0.01 182.825);
--popover: oklch(0.122 0.011 183.065);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.012 182.947);
--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.54 0.1 173.875);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.223 0.01 181.89);
--secondary-foreground: oklch(0.78 0.023 182.378);
--accent: oklch(0.308 0.023 181.009);
--accent-foreground: oklch(0.838 0.025 182.358);
--destructive: oklch(0.656 0.23 28.425);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.54 0.1 173.875);
--chart-1: oklch(0.54 0.1 173.875);
--chart-2: oklch(0.223 0.01 181.89);
--chart-3: oklch(0.308 0.023 181.009);
--chart-4: oklch(0.257 0.013 181.778);
--chart-5: oklch(0.546 0.102 173.567);
}