Fickle is a shadcn/ui theme built around a vivid deep green primary color (#054221) with muted light green accents (#dbe1de). The light mode uses a neutral background (#f7fcfa). Dark mode keeps the vivid deep green primary (#054221) on a green-tinted background (#030c07).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcfamintcream | #030c07black |
| Foreground | #05150cblack | #f9fbfamintcream |
| Card | #f7fcfamintcream | #030c07black |
| Card foreground | #05150cblack | #f9fbfamintcream |
| Popover | #f7fcfamintcream | #030c07black |
| Popover foreground | #05150cblack | #f9fbfamintcream |
| Primary | #054221darkgreen | #054221darkgreen |
| Primary foreground | #25ef80springgreen | #25ef80springgreen |
| Secondary | #dbe1degainsboro | #2a3730darkslategray |
| Secondary foreground | #3f4b44darkslategray | #c2d0c9silver |
| Muted | #e6f4echoneydew | #0b1911black |
| Muted foreground | #525654darkslategray | #a9adabdarkgray |
| Accent | #dbe1degainsboro | #2a3730darkslategray |
| Accent foreground | #3f4b44darkslategray | #c2d0c9silver |
| Destructive | #ce2a0dfirebrick | #e62f0forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #054221darkgreen | #054221darkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.15:1 | AAA |
| Text on card | 18.15:1 | AAA |
| Primary button | 7.56:1 | AAA |
| Secondary button | 6.87:1 | AA |
| Muted text | 6.58:1 | AA |
| Accent | 6.87:1 | AA |
| Destructive | 5.29:1 | AA |
| Text on background | 19.06:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 7.56:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 7.96:1 | AAA |
| Accent | 7.81:1 | AAA |
| Destructive | 4.39:1 | AA Large |
Paste this into your globals.css to use Fickle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 162.462);
--foreground: oklch(0.176 0.029 158.837);
--muted: oklch(0.955 0.018 162.138);
--muted-foreground: oklch(0.449 0.005 162.329);
--popover: oklch(0.988 0.006 162.462);
--popover-foreground: oklch(0.176 0.029 158.837);
--card: oklch(0.988 0.006 162.462);
--card-foreground: oklch(0.176 0.029 158.837);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.335 0.083 152.782);
--primary-foreground: oklch(0.836 0.212 152.006);
--secondary: oklch(0.904 0.008 162.405);
--secondary-foreground: oklch(0.4 0.02 161.352);
--accent: oklch(0.904 0.008 162.405);
--accent-foreground: oklch(0.4 0.02 161.352);
--destructive: oklch(0.553 0.203 31.907);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.335 0.083 152.782);
--chart-1: oklch(0.335 0.083 152.782);
--chart-2: oklch(0.904 0.008 162.405);
--chart-3: oklch(0.904 0.008 162.405);
--chart-4: oklch(0.926 0.006 162.459);
--chart-5: oklch(0.338 0.085 152.538);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.02 162.346);
--foreground: oklch(0.986 0.002 162.556);
--muted: oklch(0.197 0.026 158.819);
--muted-foreground: oklch(0.743 0.005 162.464);
--popover: oklch(0.142 0.02 162.346);
--popover-foreground: oklch(0.986 0.002 162.556);
--card: oklch(0.142 0.02 162.346);
--card-foreground: oklch(0.986 0.002 162.556);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.335 0.083 152.782);
--primary-foreground: oklch(0.836 0.212 152.006);
--secondary: oklch(0.322 0.021 160.909);
--secondary-foreground: oklch(0.846 0.018 162.072);
--accent: oklch(0.322 0.021 160.909);
--accent-foreground: oklch(0.846 0.018 162.072);
--destructive: oklch(0.6 0.221 31.854);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.335 0.083 152.782);
--chart-1: oklch(0.335 0.083 152.782);
--chart-2: oklch(0.322 0.021 160.909);
--chart-3: oklch(0.322 0.021 160.909);
--chart-4: oklch(0.353 0.024 160.855);
--chart-5: oklch(0.338 0.085 152.538);
}