Epithelium is a shadcn/ui theme built around a vivid light green primary color (#d4f8a5) with muted light green accents (#d9ded4). The light mode uses a neutral background (#fafcf8). Dark mode keeps the vivid light green primary (#d4f8a5) on a green-tinted background (#0b0e07).
| Token | Light | Dark |
|---|---|---|
| Background | #fafcf8snow | #0b0e07black |
| Foreground | #030401black | #f8f8f6whitesmoke |
| Card | #fafcf8snow | #0b0e07black |
| Card foreground | #030401black | #f8f8f6whitesmoke |
| Popover | #fafcf8snow | #0b0e07black |
| Popover foreground | #030401black | #f8f8f6whitesmoke |
| Primary | #d4f8a5palegoldenrod | #d4f8a5palegoldenrod |
| Primary foreground | #030500black | #030500black |
| Secondary | #d9ded4gainsboro | #333432darkslategray |
| Secondary foreground | #414837darkslategray | #cccdcblightgrey |
| Muted | #dce1d5gainsboro | #252a1edarkslategray |
| Muted foreground | #4b5242darkslategray | #b6bdadsilver |
| Accent | #d9ded4gainsboro | #333432darkslategray |
| Accent foreground | #414837darkslategray | #cccdcblightgrey |
| Destructive | #6d1108maroon | #e82311orangered |
| Destructive foreground | #f9b5aelightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d4f8a5palegoldenrod | #d4f8a5palegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.86:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 17.35:1 | AAA |
| Secondary button | 6.94:1 | AA |
| Muted text | 6.12:1 | AA |
| Accent | 6.94:1 | AA |
| Destructive | 7.06:1 | AAA |
| Text on background | 18.30:1 | AAA |
| Text on card | 18.30:1 | AAA |
| Primary button | 17.35:1 | AAA |
| Secondary button | 7.83:1 | AAA |
| Muted text | 7.63:1 | AAA |
| Accent | 7.83:1 | AAA |
| Destructive | 4.46:1 | AA Large |
Paste this into your globals.css to use Epithelium in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.005 125.801);
--foreground: oklch(0.102 0.017 124.779);
--muted: oklch(0.903 0.017 125.995);
--muted-foreground: oklch(0.427 0.028 126.626);
--popover: oklch(0.988 0.005 125.801);
--popover-foreground: oklch(0.102 0.017 124.779);
--card: oklch(0.988 0.005 125.801);
--card-foreground: oklch(0.102 0.017 124.779);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.935 0.114 127.501);
--primary-foreground: oklch(0.105 0.023 124.509);
--secondary: oklch(0.894 0.014 125.952);
--secondary-foreground: oklch(0.39 0.029 126.756);
--accent: oklch(0.894 0.014 125.952);
--accent-foreground: oklch(0.39 0.029 126.756);
--destructive: oklch(0.347 0.127 30.01);
--destructive-foreground: oklch(0.834 0.081 24.789);
--ring: oklch(0.935 0.114 127.501);
--chart-1: oklch(0.935 0.114 127.501);
--chart-2: oklch(0.894 0.014 125.952);
--chart-3: oklch(0.894 0.014 125.952);
--chart-4: oklch(0.915 0.011 125.904);
--chart-5: oklch(0.938 0.117 127.56);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.017 126.307);
--foreground: oklch(0.979 0.003 125.783);
--muted: oklch(0.275 0.023 126.898);
--muted-foreground: oklch(0.789 0.024 126.147);
--popover: oklch(0.157 0.017 126.307);
--popover-foreground: oklch(0.979 0.003 125.783);
--card: oklch(0.157 0.017 126.307);
--card-foreground: oklch(0.979 0.003 125.783);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.935 0.114 127.501);
--primary-foreground: oklch(0.105 0.023 124.509);
--secondary: oklch(0.323 0.004 125.895);
--secondary-foreground: oklch(0.847 0.003 125.786);
--accent: oklch(0.323 0.004 125.895);
--accent-foreground: oklch(0.847 0.003 125.786);
--destructive: oklch(0.597 0.229 30.093);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.935 0.114 127.501);
--chart-1: oklch(0.935 0.114 127.501);
--chart-2: oklch(0.323 0.004 125.895);
--chart-3: oklch(0.323 0.004 125.895);
--chart-4: oklch(0.354 0.004 125.899);
--chart-5: oklch(0.938 0.117 127.56);
}