Fickle is a shadcn/ui theme built around a vivid deep pink primary color (#1e010d) with vivid deep red accents (#1e0301). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep pink primary (#1e010d) on a neutral background (#040202).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040202black |
| Foreground | #090105black | #ffffffwhite |
| Card | #ffffffwhite | #040202black |
| Card foreground | #090105black | #ffffffwhite |
| Popover | #ffffffwhite | #040202black |
| Popover foreground | #090105black | #ffffffwhite |
| Primary | #1e010dblack | #1e010dblack |
| Primary foreground | #fb569dhotpink | #fb569dhotpink |
| Secondary | #1e011cblack | #1e011cblack |
| Secondary foreground | #fb56f0violet | #fb56f0violet |
| Muted | #f2e8f1whitesmoke | #170d16black |
| Muted foreground | #735971dimgray | #a68ca4darkgray |
| Accent | #1e0301black | #1e0301black |
| Accent foreground | #fb6156tomato | #fb6156tomato |
| Destructive | #7e1402maroon | #e72604orangered |
| Destructive foreground | #febfb4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1e010dblack | #1e010dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.62:1 | AAA |
| Text on card | 20.62:1 | AAA |
| Primary button | 6.50:1 | AA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 5.18:1 | AA |
| Accent | 6.51:1 | AA |
| Destructive | 6.71:1 | AA |
| Text on background | 20.74:1 | AAA |
| Text on card | 20.74:1 | AAA |
| Primary button | 6.50:1 | AA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 6.25:1 | AA |
| Accent | 6.51:1 | AA |
| Destructive | 4.49:1 | AA Large |
Paste this into your globals.css to use Fickle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.102 0.028 348.259);
--muted: oklch(0.942 0.016 327.716);
--muted-foreground: oklch(0.499 0.051 328.497);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.102 0.028 348.259);
--card: oklch(1 0 180);
--card-foreground: oklch(0.102 0.028 348.259);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.155 0.06 355.327);
--primary-foreground: oklch(0.693 0.209 357.357);
--secondary: oklch(0.165 0.071 330.923);
--secondary-foreground: oklch(0.727 0.257 330.659);
--accent: oklch(0.156 0.053 32.716);
--accent-foreground: oklch(0.689 0.19 27.252);
--destructive: oklch(0.383 0.142 32.296);
--destructive-foreground: oklch(0.858 0.075 30.033);
--ring: oklch(0.155 0.06 355.327);
--chart-1: oklch(0.155 0.06 355.327);
--chart-2: oklch(0.165 0.071 330.923);
--chart-3: oklch(0.156 0.053 32.716);
--chart-4: oklch(0.207 0.091 331.255);
--chart-5: oklch(0.155 0.062 355.443);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.011 348.512);
--foreground: oklch(1 0 180);
--muted: oklch(0.177 0.025 328.83);
--muted-foreground: oklch(0.671 0.047 328.214);
--popover: oklch(0.087 0.011 348.512);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.087 0.011 348.512);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.155 0.06 355.327);
--primary-foreground: oklch(0.693 0.209 357.357);
--secondary: oklch(0.165 0.071 330.923);
--secondary-foreground: oklch(0.727 0.257 330.659);
--accent: oklch(0.156 0.053 32.716);
--accent-foreground: oklch(0.689 0.19 27.252);
--destructive: oklch(0.595 0.228 31.415);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.155 0.06 355.327);
--chart-1: oklch(0.155 0.06 355.327);
--chart-2: oklch(0.165 0.071 330.923);
--chart-3: oklch(0.156 0.053 32.716);
--chart-4: oklch(0.207 0.091 331.255);
--chart-5: oklch(0.155 0.062 355.443);
}