Liquid is a shadcn/ui theme built around a vivid green primary color (#32d709) with near-white accents (#eaebea). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the vivid green primary (#32d709) on a green-tinted background (#060b04).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fdf7mintcream | #060b04black |
| Foreground | #030802black | #fafbf9snow |
| Card | #f5fbf3whitesmoke | #070f06black |
| Card foreground | #020401black | #fcfdfcwhite |
| Popover | #f8fdf7mintcream | #060b04black |
| Popover foreground | #030802black | #fafbf9snow |
| Primary | #32d709limegreen | #32d709limegreen |
| Primary foreground | #051401black | #051401black |
| Secondary | #eaebealinen | #2a3527darkslategray |
| Secondary foreground | #50554edarkslategray | #c2cfbesilver |
| Muted | #e0e9ddgainsboro | #192216black |
| Muted foreground | #41513ddarkslategray | #b2c2aesilver |
| Accent | #eaebealinen | #2a3527darkslategray |
| Accent foreground | #50554edarkslategray | #c2cfbesilver |
| Destructive | #83160cmaroon | #ea2c1aorangered |
| Destructive foreground | #facbc7pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #32d709limegreen | #32d709limegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.56:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 9.85:1 | AAA |
| Secondary button | 6.40:1 | AA |
| Muted text | 6.80:1 | AA |
| Accent | 6.40:1 | AA |
| Destructive | 6.93:1 | AA |
| Text on background | 19.13:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 9.85:1 | AAA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 8.78:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 4.32:1 | AA Large |
Paste this into your globals.css to use Liquid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.008 139.442);
--foreground: oklch(0.124 0.022 137.691);
--muted: oklch(0.923 0.018 139.439);
--muted-foreground: oklch(0.416 0.038 139.435);
--popover: oklch(0.988 0.008 139.442);
--popover-foreground: oklch(0.124 0.022 137.691);
--card: oklch(0.982 0.012 139.441);
--card-foreground: oklch(0.098 0.018 137.691);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.768 0.252 141.235);
--primary-foreground: oklch(0.169 0.048 137.426);
--secondary: oklch(0.94 0.003 139.443);
--secondary-foreground: oklch(0.442 0.012 139.437);
--accent: oklch(0.94 0.003 139.443);
--accent-foreground: oklch(0.442 0.012 139.437);
--destructive: oklch(0.395 0.145 29.978);
--destructive-foreground: oklch(0.882 0.053 24.274);
--ring: oklch(0.768 0.252 141.235);
--chart-1: oklch(0.768 0.252 141.235);
--chart-2: oklch(0.94 0.003 139.443);
--chart-3: oklch(0.94 0.003 139.443);
--chart-4: oklch(0.963 0.002 139.444);
--chart-5: oklch(0.776 0.256 141.328);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.02 138.079);
--foreground: oklch(0.986 0.002 139.444);
--muted: oklch(0.238 0.025 139.438);
--muted-foreground: oklch(0.795 0.033 139.435);
--popover: oklch(0.14 0.02 138.079);
--popover-foreground: oklch(0.986 0.002 139.444);
--card: oklch(0.156 0.023 138.448);
--card-foreground: oklch(0.993 0.001 139.444);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.768 0.252 141.235);
--primary-foreground: oklch(0.169 0.048 137.426);
--secondary: oklch(0.313 0.028 139.435);
--secondary-foreground: oklch(0.84 0.027 139.436);
--accent: oklch(0.313 0.028 139.435);
--accent-foreground: oklch(0.84 0.027 139.436);
--destructive: oklch(0.605 0.225 30.043);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.768 0.252 141.235);
--chart-1: oklch(0.768 0.252 141.235);
--chart-2: oklch(0.313 0.028 139.435);
--chart-3: oklch(0.313 0.028 139.435);
--chart-4: oklch(0.345 0.032 139.435);
--chart-5: oklch(0.776 0.256 141.328);
}