Frilly is a shadcn/ui theme built around a vivid green primary color (#95fa3d) with vivid green accents (#3dfa43). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the vivid green primary (#95fa3d) on a neutral background (#050704).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #050704black |
| Foreground | #0a1004black | #fafaf9snow |
| Card | #fafcf8snow | #070a05black |
| Card foreground | #070c03black | #fcfdfcwhite |
| Popover | #fafcf8snow | #070a05black |
| Popover foreground | #070c03black | #fcfdfcwhite |
| Primary | #95fa3dgreenyellow | #95fa3dgreenyellow |
| Primary foreground | #020500black | #020500black |
| Secondary | #f4fa3dyellow | #f4fa3dyellow |
| Secondary foreground | #050500black | #050500black |
| Muted | #f0f0ealinen | #15150fblack |
| Muted foreground | #5e5e5edimgray | #a1a1a1darkgray |
| Accent | #3dfa43limegreen | #3dfa43limegreen |
| Accent foreground | #000500black | #000500black |
| Destructive | #9c3907saddlebrown | #f67a3ccoral |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #95fa3dgreenyellow | #95fa3dgreenyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.95:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 15.64:1 | AAA |
| Secondary button | 18.07:1 | AAA |
| Muted text | 5.66:1 | AA |
| Accent | 14.64:1 | AAA |
| Destructive | 7.00:1 | AAA |
| Text on background | 19.39:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 15.64:1 | AAA |
| Secondary button | 18.07:1 | AAA |
| Muted text | 7.11:1 | AAA |
| Accent | 14.64:1 | AAA |
| Destructive | 7.76:1 | AAA |
Paste this into your globals.css to use Frilly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 129.808);
--foreground: oklch(0.162 0.028 129.882);
--muted: oklch(0.953 0.008 108.086);
--muted-foreground: oklch(0.483 0 180);
--popover: oklch(0.987 0.005 129.832);
--popover-foreground: oklch(0.145 0.024 128.717);
--card: oklch(0.987 0.005 129.832);
--card-foreground: oklch(0.145 0.024 128.717);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.89 0.233 134.092);
--primary-foreground: oklch(0.105 0.026 127.799);
--secondary: oklch(0.95 0.194 111.554);
--secondary-foreground: oklch(0.111 0.023 110.766);
--accent: oklch(0.861 0.264 143.204);
--accent-foreground: oklch(0.1 0.031 143.881);
--destructive: oklch(0.479 0.142 41.192);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.89 0.233 134.092);
--chart-1: oklch(0.89 0.233 134.092);
--chart-2: oklch(0.95 0.194 111.554);
--chart-3: oklch(0.861 0.264 143.204);
--chart-4: oklch(0.953 0.186 111.362);
--chart-5: oklch(0.897 0.238 134.239);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.011 129.079);
--foreground: oklch(0.986 0.002 129.801);
--muted: oklch(0.192 0.011 108.971);
--muted-foreground: oklch(0.708 0 158.199);
--popover: oklch(0.139 0.012 129.079);
--popover-foreground: oklch(0.993 0.001 129.793);
--card: oklch(0.139 0.012 129.079);
--card-foreground: oklch(0.993 0.001 129.793);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.89 0.233 134.092);
--primary-foreground: oklch(0.105 0.026 127.799);
--secondary: oklch(0.95 0.194 111.554);
--secondary-foreground: oklch(0.111 0.023 110.766);
--accent: oklch(0.861 0.264 143.204);
--accent-foreground: oklch(0.1 0.031 143.881);
--destructive: oklch(0.713 0.169 44.87);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.89 0.233 134.092);
--chart-1: oklch(0.89 0.233 134.092);
--chart-2: oklch(0.95 0.194 111.554);
--chart-3: oklch(0.861 0.264 143.204);
--chart-4: oklch(0.953 0.186 111.362);
--chart-5: oklch(0.897 0.238 134.239);
}