Waffle is a shadcn/ui theme built around a vivid light green primary color (#a1fcae) with vivid light teal accents (#a1fcdb). The light mode uses a neutral background (#fbfefc). Dark mode keeps the vivid light green primary (#a1fcae) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #000000black |
| Foreground | #041507black | #f9fbf9mintcream |
| Card | #fbfefcwhite | #000000black |
| Card foreground | #041507black | #f9fbf9mintcream |
| Popover | #fbfefcwhite | #000000black |
| Popover foreground | #041507black | #f9fbf9mintcream |
| Primary | #a1fcaepalegreen | #a1fcaepalegreen |
| Primary foreground | #000501black | #000501black |
| Secondary | #c3fca1palegreen | #c3fca1palegreen |
| Secondary foreground | #020500black | #020500black |
| Muted | #eff1eewhitesmoke | #0f110eblack |
| Muted foreground | #607057dimgray | #98a88fdarkseagreen |
| Accent | #a1fcdbpaleturquoise | #a1fcdbpaleturquoise |
| Accent foreground | #000503black | #000503black |
| Destructive | #c21a14firebrick | #e9352fcrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a1fcaepalegreen | #a1fcaepalegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.51:1 | AAA |
| Text on card | 18.51:1 | AAA |
| Primary button | 16.63:1 | AAA |
| Secondary button | 17.28:1 | AAA |
| Muted text | 4.67:1 | AA |
| Accent | 17.02:1 | AAA |
| Destructive | 6.08:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 16.63:1 | AAA |
| Secondary button | 17.28:1 | AAA |
| Muted text | 7.54:1 | AAA |
| Accent | 17.02:1 | AAA |
| Destructive | 4.17:1 | AA Large |
Paste this into your globals.css to use Waffle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 149.635);
--foreground: oklch(0.176 0.039 147.324);
--muted: oklch(0.956 0.004 133.63);
--muted-foreground: oklch(0.525 0.044 134.165);
--popover: oklch(0.994 0.004 149.635);
--popover-foreground: oklch(0.176 0.039 147.324);
--card: oklch(0.994 0.004 149.635);
--card-foreground: oklch(0.176 0.039 147.324);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.914 0.137 147.599);
--primary-foreground: oklch(0.1 0.028 147.801);
--secondary: oklch(0.93 0.131 134.629);
--secondary-foreground: oklch(0.104 0.027 131.189);
--accent: oklch(0.924 0.098 168.944);
--accent-foreground: oklch(0.102 0.019 172.969);
--destructive: oklch(0.521 0.2 28.837);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.914 0.137 147.599);
--chart-1: oklch(0.914 0.137 147.599);
--chart-2: oklch(0.93 0.131 134.629);
--chart-3: oklch(0.924 0.098 168.944);
--chart-4: oklch(0.94 0.111 134.43);
--chart-5: oklch(0.916 0.141 147.534);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.004 149.636);
--muted: oklch(0.173 0.006 133.81);
--muted-foreground: oklch(0.713 0.041 133.979);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.004 149.636);
--card: oklch(0 0 0);
--card-foreground: oklch(0.986 0.004 149.636);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.914 0.137 147.599);
--primary-foreground: oklch(0.1 0.028 147.801);
--secondary: oklch(0.93 0.131 134.629);
--secondary-foreground: oklch(0.104 0.027 131.189);
--accent: oklch(0.924 0.098 168.944);
--accent-foreground: oklch(0.102 0.019 172.969);
--destructive: oklch(0.612 0.216 27.811);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.914 0.137 147.599);
--chart-1: oklch(0.914 0.137 147.599);
--chart-2: oklch(0.93 0.131 134.629);
--chart-3: oklch(0.924 0.098 168.944);
--chart-4: oklch(0.94 0.111 134.43);
--chart-5: oklch(0.916 0.141 147.534);
}