Evaporation is a shadcn/ui theme built around a teal primary color (#68dfb7) with muted teal accents (#b3c2bd). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the teal primary (#68dfb7) on a teal-tinted background (#050f0c).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #050f0cblack |
| Foreground | #020906black | #f9fafaghostwhite |
| Card | #f5faf8mintcream | #07130fblack |
| Card foreground | #010403black | #fcfdfdwhite |
| Popover | #f5faf8mintcream | #07130fblack |
| Popover foreground | #010403black | #fcfdfdwhite |
| Primary | #68dfb7mediumaquamarine | #68dfb7mediumaquamarine |
| Primary foreground | #04110cblack | #04110cblack |
| Secondary | #cacecdlightgrey | #232f2bdarkslategray |
| Secondary foreground | #313534darkslategray | #b9cac5silver |
| Muted | #dce5e2gainsboro | #1a2320black |
| Muted foreground | #4b635bdimgray | #9cb4acdarkgray |
| Accent | #b3c2bdsilver | #314941darkslategray |
| Accent foreground | #1e2522black | #ceded9lightgrey |
| Destructive | #ae410asaddlebrown | #f37435tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #68dfb7mediumaquamarine | #68dfb7mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.39:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 11.74:1 | AAA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 5.05:1 | AA |
| Accent | 8.43:1 | AAA |
| Destructive | 5.93:1 | AA |
| Text on background | 18.57:1 | AAA |
| Text on card | 18.60:1 | AAA |
| Primary button | 11.74:1 | AAA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 7.29:1 | AAA |
| Accent | 6.94:1 | AA |
| Destructive | 7.37:1 | AAA |
Paste this into your globals.css to use Evaporation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 174.477);
--foreground: oklch(0.126 0.018 174.866);
--muted: oklch(0.914 0.011 174.245);
--muted-foreground: oklch(0.477 0.032 172.464);
--popover: oklch(0.98 0.006 174.42);
--popover-foreground: oklch(0.1 0.014 174.866);
--card: oklch(0.98 0.006 174.42);
--card-foreground: oklch(0.1 0.014 174.866);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.824 0.123 168.743);
--primary-foreground: oklch(0.162 0.023 171.774);
--secondary: oklch(0.847 0.004 174.462);
--secondary-foreground: oklch(0.324 0.005 174.169);
--accent: oklch(0.8 0.018 173.915);
--accent-foreground: oklch(0.256 0.011 173.22);
--destructive: oklch(0.519 0.154 41.248);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.824 0.123 168.743);
--chart-1: oklch(0.824 0.123 168.743);
--chart-2: oklch(0.847 0.004 174.462);
--chart-3: oklch(0.8 0.018 173.915);
--chart-4: oklch(0.871 0.003 174.485);
--chart-5: oklch(0.829 0.127 168.48);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.017 172.445);
--foreground: oklch(0.985 0.001 174.553);
--muted: oklch(0.247 0.014 172.772);
--muted-foreground: oklch(0.75 0.029 173.408);
--popover: oklch(0.173 0.02 171.121);
--popover-foreground: oklch(0.993 0.001 174.57);
--card: oklch(0.173 0.02 171.121);
--card-foreground: oklch(0.993 0.001 174.57);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.824 0.123 168.743);
--primary-foreground: oklch(0.162 0.023 171.774);
--secondary: oklch(0.291 0.017 172.749);
--secondary-foreground: oklch(0.825 0.02 173.855);
--accent: oklch(0.384 0.033 171.73);
--accent-foreground: oklch(0.888 0.019 173.952);
--destructive: oklch(0.7 0.173 44.411);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.824 0.123 168.743);
--chart-1: oklch(0.824 0.123 168.743);
--chart-2: oklch(0.291 0.017 172.749);
--chart-3: oklch(0.384 0.033 171.73);
--chart-4: oklch(0.324 0.02 172.672);
--chart-5: oklch(0.829 0.127 168.48);
}