Appeal is a shadcn/ui theme built around a green primary color (#94db84) with muted light green accents (#e4e8e3). The light mode uses a neutral background (#fcfefb). Dark mode keeps the green primary (#94db84) on a green-tinted background (#071005).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #071005black |
| Foreground | #000000black | #f6faf5whitesmoke |
| Card | #fcfefbwhite | #071005black |
| Card foreground | #000000black | #f6faf5whitesmoke |
| Popover | #fcfefbwhite | #071005black |
| Popover foreground | #000000black | #f6faf5whitesmoke |
| Primary | #94db84lightgreen | #94db84lightgreen |
| Primary foreground | #0f240ablack | #0f240ablack |
| Secondary | #e4e8e3gainsboro | #131613black |
| Secondary foreground | #485445darkslategray | #a9b4a7darkgray |
| Muted | #e9f4e6beige | #0d190bblack |
| Muted foreground | #5e5e5edimgray | #a1a1a1darkgray |
| Accent | #e4e8e3gainsboro | #131613black |
| Accent foreground | #485445darkslategray | #a9b4a7darkgray |
| Destructive | #652906saddlebrown | #f37e39coral |
| Destructive foreground | #fac3a3navajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #94db84lightgreen | #94db84lightgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.65:1 | AAA |
| Text on card | 20.65:1 | AAA |
| Primary button | 10.00:1 | AAA |
| Secondary button | 6.44:1 | AA |
| Muted text | 5.72:1 | AA |
| Accent | 6.44:1 | AA |
| Destructive | 7.15:1 | AAA |
| Text on background | 18.39:1 | AAA |
| Text on card | 18.39:1 | AAA |
| Primary button | 10.00:1 | AAA |
| Secondary button | 8.47:1 | AAA |
| Muted text | 7.00:1 | AAA |
| Accent | 8.47:1 | AAA |
| Destructive | 7.85:1 | AAA |
Paste this into your globals.css to use Appeal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 139.988);
--foreground: oklch(0 0 0);
--muted: oklch(0.955 0.022 139.97);
--muted-foreground: oklch(0.483 0 180);
--popover: oklch(0.994 0.004 139.988);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.004 139.988);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.825 0.137 139.921);
--primary-foreground: oklch(0.234 0.053 140.027);
--secondary: oklch(0.927 0.008 139.983);
--secondary-foreground: oklch(0.431 0.029 139.934);
--accent: oklch(0.927 0.008 139.983);
--accent-foreground: oklch(0.431 0.029 139.934);
--destructive: oklch(0.362 0.097 45.301);
--destructive-foreground: oklch(0.858 0.076 51.45);
--ring: oklch(0.825 0.137 139.921);
--chart-1: oklch(0.825 0.137 139.921);
--chart-2: oklch(0.927 0.008 139.983);
--chart-3: oklch(0.927 0.008 139.983);
--chart-4: oklch(0.949 0.006 139.986);
--chart-5: oklch(0.829 0.144 139.927);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.027 138.785);
--foreground: oklch(0.98 0.007 139.985);
--muted: oklch(0.197 0.032 139.917);
--muted-foreground: oklch(0.708 0 158.199);
--popover: oklch(0.158 0.027 138.785);
--popover-foreground: oklch(0.98 0.007 139.985);
--card: oklch(0.158 0.027 138.785);
--card-foreground: oklch(0.98 0.007 139.985);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.825 0.137 139.921);
--primary-foreground: oklch(0.234 0.053 140.027);
--secondary: oklch(0.196 0.008 139.957);
--secondary-foreground: oklch(0.758 0.022 139.965);
--accent: oklch(0.196 0.008 139.957);
--accent-foreground: oklch(0.758 0.022 139.965);
--destructive: oklch(0.715 0.165 47.666);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.825 0.137 139.921);
--chart-1: oklch(0.825 0.137 139.921);
--chart-2: oklch(0.196 0.008 139.957);
--chart-3: oklch(0.196 0.008 139.957);
--chart-4: oklch(0.231 0.01 139.953);
--chart-5: oklch(0.829 0.144 139.927);
}