Fickle is a shadcn/ui theme built around a vivid deep orange primary color (#671f04) with vivid deep violet accents (#1f0467). The light mode uses a neutral background (#fefcfb). Dark mode keeps the vivid deep orange primary (#671f04) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #040201black |
| Foreground | #040201black | #fcf9f8snow |
| Card | #fefcfbsnow | #040201black |
| Card foreground | #040201black | #fcf9f8snow |
| Popover | #fefcfbsnow | #040201black |
| Popover foreground | #040201black | #fcf9f8snow |
| Primary | #671f04maroon | #671f04maroon |
| Primary foreground | #fbbaa2lightpink | #fbbaa2lightpink |
| Secondary | #04671fdarkgreen | #04671fdarkgreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e2f3e7honeydew | #0c1d11black |
| Muted foreground | #4d514edarkslategray | #aeb2afdarkgray |
| Accent | #1f0467midnightblue | #1f0467midnightblue |
| Accent foreground | #baa2fblightsteelblue | #baa2fblightsteelblue |
| Destructive | #bd3905firebrick | #f44a06orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #671f04maroon | #671f04maroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 7.15:1 | AAA |
| Secondary button | 7.10:1 | AAA |
| Muted text | 6.98:1 | AA |
| Accent | 7.59:1 | AAA |
| Destructive | 5.59:1 | AA |
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 7.15:1 | AAA |
| Secondary button | 7.10:1 | AAA |
| Muted text | 8.18:1 | AAA |
| Accent | 7.59:1 | AAA |
| Destructive | 3.61:1 | AA Large |
Paste this into your globals.css to use Fickle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 41.284);
--foreground: oklch(0.089 0.013 51.328);
--muted: oklch(0.948 0.023 154.084);
--muted-foreground: oklch(0.431 0.008 154.183);
--popover: oklch(0.992 0.003 41.284);
--popover-foreground: oklch(0.089 0.013 51.328);
--card: oklch(0.992 0.003 41.284);
--card-foreground: oklch(0.089 0.013 51.328);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.349 0.109 38.036);
--primary-foreground: oklch(0.842 0.083 40.853);
--secondary: oklch(0.447 0.135 145.968);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.257 0.148 280.597);
--accent-foreground: oklch(0.767 0.127 295.507);
--destructive: oklch(0.536 0.176 37.155);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.349 0.109 38.036);
--chart-1: oklch(0.349 0.109 38.036);
--chart-2: oklch(0.447 0.135 145.968);
--chart-3: oklch(0.257 0.148 280.597);
--chart-4: oklch(0.491 0.149 145.781);
--chart-5: oklch(0.351 0.112 37.913);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.09 0.009 47.92);
--foreground: oklch(0.984 0.003 41.279);
--muted: oklch(0.21 0.033 151.327);
--muted-foreground: oklch(0.76 0.007 154.359);
--popover: oklch(0.09 0.009 47.92);
--popover-foreground: oklch(0.984 0.003 41.279);
--card: oklch(0.09 0.009 47.92);
--card-foreground: oklch(0.984 0.003 41.279);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.349 0.109 38.036);
--primary-foreground: oklch(0.842 0.083 40.853);
--secondary: oklch(0.447 0.135 145.968);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.257 0.148 280.597);
--accent-foreground: oklch(0.767 0.127 295.507);
--destructive: oklch(0.646 0.215 36.691);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.349 0.109 38.036);
--chart-1: oklch(0.349 0.109 38.036);
--chart-2: oklch(0.447 0.135 145.968);
--chart-3: oklch(0.257 0.148 280.597);
--chart-4: oklch(0.491 0.149 145.781);
--chart-5: oklch(0.351 0.112 37.913);
}