Wavy is a shadcn/ui theme built around a muted light green primary color (#d6dccb) with muted light green accents (#cedccb). The light mode uses a neutral background (#fdfefb). Dark mode keeps the muted light green primary (#d6dccb) on a green-tinted background (#090c03).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #090c03black |
| Foreground | #060802black | #fafbf9snow |
| Card | #fdfefbwhite | #090c03black |
| Card foreground | #060802black | #fafbf9snow |
| Popover | #fdfefbwhite | #090c03black |
| Popover foreground | #060802black | #fafbf9snow |
| Primary | #d6dccblightgrey | #d6dccblightgrey |
| Primary foreground | #3e4630darkslategray | #3e4630darkslategray |
| Secondary | #dcd9cblightgrey | #dcd9cblightgrey |
| Secondary foreground | #464230darkslategray | #464230darkslategray |
| Muted | #f2f1edwhitesmoke | #12110dblack |
| Muted foreground | #4c493edarkslategray | #c1bfb3silver |
| Accent | #cedccblightgrey | #cedccblightgrey |
| Accent foreground | #334630darkslategray | #334630darkslategray |
| Destructive | #cf4a07chocolate | #f7651dchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d6dccblightgrey | #d6dccblightgrey |
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 | 7.04:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 8.00:1 | AAA |
| Accent | 7.14:1 | AAA |
| Destructive | 4.54:1 | AA |
| Text on background | 18.96:1 | AAA |
| Text on card | 18.96:1 | AAA |
| Primary button | 7.04:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 10.22:1 | AAA |
| Accent | 7.14:1 | AAA |
| Destructive | 6.83:1 | AA |
Paste this into your globals.css to use Wavy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 121.553);
--foreground: oklch(0.13 0.021 121.124);
--muted: oklch(0.959 0.006 97.341);
--muted-foreground: oklch(0.406 0.019 97.82);
--popover: oklch(0.995 0.004 121.553);
--popover-foreground: oklch(0.13 0.021 121.124);
--card: oklch(0.995 0.004 121.553);
--card-foreground: oklch(0.13 0.021 121.124);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.885 0.023 121.912);
--primary-foreground: oklch(0.38 0.037 123.147);
--secondary: oklch(0.884 0.019 97.534);
--secondary-foreground: oklch(0.378 0.03 98.122);
--accent: oklch(0.879 0.027 140.485);
--accent-foreground: oklch(0.371 0.044 140.368);
--destructive: oklch(0.585 0.18 40.266);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.885 0.023 121.912);
--chart-1: oklch(0.885 0.023 121.912);
--chart-2: oklch(0.884 0.019 97.534);
--chart-3: oklch(0.879 0.027 140.485);
--chart-4: oklch(0.905 0.015 97.481);
--chart-5: oklch(0.888 0.027 121.976);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.148 0.023 121.515);
--foreground: oklch(0.987 0.003 121.543);
--muted: oklch(0.177 0.009 97.85);
--muted-foreground: oklch(0.802 0.016 97.519);
--popover: oklch(0.148 0.023 121.515);
--popover-foreground: oklch(0.987 0.003 121.543);
--card: oklch(0.148 0.023 121.515);
--card-foreground: oklch(0.987 0.003 121.543);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.885 0.023 121.912);
--primary-foreground: oklch(0.38 0.037 123.147);
--secondary: oklch(0.884 0.019 97.534);
--secondary-foreground: oklch(0.378 0.03 98.122);
--accent: oklch(0.879 0.027 140.485);
--accent-foreground: oklch(0.371 0.044 140.368);
--destructive: oklch(0.683 0.194 42.254);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.885 0.023 121.912);
--chart-1: oklch(0.885 0.023 121.912);
--chart-2: oklch(0.884 0.019 97.534);
--chart-3: oklch(0.879 0.027 140.485);
--chart-4: oklch(0.905 0.015 97.481);
--chart-5: oklch(0.888 0.027 121.976);
}