Liquid is a shadcn/ui theme built around a near-white primary color (#fafafa) with near-white accents (#fafafa). The light mode uses a neutral background (#fefbfd). Dark mode keeps the near-white primary (#fafafa) on a pink-tinted background (#0a0508).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfdsnow | #0a0508black |
| Foreground | #0e0208black | #faf5f8whitesmoke |
| Card | #fdf7fasnow | #0e070bblack |
| Card foreground | #090106black | #fbf8fasnow |
| Popover | #fefbfdsnow | #0a0508black |
| Popover foreground | #0e0208black | #faf5f8whitesmoke |
| Primary | #fafafasnow | #fafafasnow |
| Primary foreground | #635f61dimgray | #635f61dimgray |
| Secondary | #fafafasnow | #fafafasnow |
| Secondary foreground | #2e2f2ddarkslategray | #2e2f2ddarkslategray |
| Muted | #dde9cegainsboro | #253116darkslategray |
| Muted foreground | #575954dimgray | #a9aba6darkgray |
| Accent | #fafafasnow | #fafafasnow |
| Accent foreground | #2d2e2fdarkslategray | #2d2e2fdarkslategray |
| Destructive | #b72910firebrick | #ec4527orangered |
| Destructive foreground | #fffbfasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fafafasnow | #fafafasnow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.80:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 6.01:1 | AA |
| Secondary button | 12.88:1 | AAA |
| Muted text | 5.58:1 | AA |
| Accent | 13.02:1 | AAA |
| Destructive | 6.12:1 | AA |
| Text on background | 18.76:1 | AAA |
| Text on card | 18.93:1 | AAA |
| Primary button | 6.01:1 | AA |
| Secondary button | 12.88:1 | AAA |
| Muted text | 5.92:1 | AA |
| Accent | 13.02:1 | AAA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Liquid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 342.717);
--foreground: oklch(0.118 0.036 343.35);
--muted: oklch(0.916 0.037 126.96);
--muted-foreground: oklch(0.461 0.009 126.674);
--popover: oklch(0.991 0.004 342.717);
--popover-foreground: oklch(0.118 0.036 343.35);
--card: oklch(0.981 0.008 342.817);
--card-foreground: oklch(0.102 0.031 342.568);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.985 0 342.625);
--primary-foreground: oklch(0.49 0.006 342.913);
--secondary: oklch(0.985 0 126.432);
--secondary-foreground: oklch(0.303 0.003 126.575);
--accent: oklch(0.985 0 242.196);
--accent-foreground: oklch(0.3 0.002 242.285);
--destructive: oklch(0.51 0.182 32.127);
--destructive-foreground: oklch(0.991 0.004 29.481);
--ring: oklch(0.985 0 342.625);
--chart-1: oklch(0.985 0 342.625);
--chart-2: oklch(0.985 0 126.432);
--chart-3: oklch(0.985 0 242.196);
--chart-4: oklch(1.007 0 306.427);
--chart-5: oklch(0.985 0.001 342.635);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.015 342.606);
--foreground: oklch(0.974 0.006 342.771);
--muted: oklch(0.294 0.047 128.806);
--muted-foreground: oklch(0.737 0.008 126.565);
--popover: oklch(0.126 0.015 342.606);
--popover-foreground: oklch(0.974 0.006 342.771);
--card: oklch(0.139 0.017 344.042);
--card-foreground: oklch(0.983 0.004 342.719);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.985 0 342.625);
--primary-foreground: oklch(0.49 0.006 342.913);
--secondary: oklch(0.985 0 126.432);
--secondary-foreground: oklch(0.303 0.003 126.575);
--accent: oklch(0.985 0 242.196);
--accent-foreground: oklch(0.3 0.002 242.285);
--destructive: oklch(0.63 0.209 32.366);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.985 0 342.625);
--chart-1: oklch(0.985 0 342.625);
--chart-2: oklch(0.985 0 126.432);
--chart-3: oklch(0.985 0 242.196);
--chart-4: oklch(1.007 0 306.427);
--chart-5: oklch(0.985 0.001 342.635);
}