Fumbling is a shadcn/ui theme built around an indigo primary color (#6e6ebf) with violet accents (#966ebf). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the indigo primary (#6e6ebf) on a neutral background (#030308).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #030308black |
| Foreground | #020208black | #fcfcfdwhite |
| Card | #f7f7fdghostwhite | #04040bblack |
| Card foreground | #010104black | #ffffffwhite |
| Popover | #f7f7fdghostwhite | #04040bblack |
| Popover foreground | #010104black | #ffffffwhite |
| Primary | #6e6ebfslateblue | #6e6ebfslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #6e96bfcadetblue | #6e96bfcadetblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #dce3eagainsboro | #151c23black |
| Muted foreground | #525456darkslategray | #a9abaddarkgray |
| Accent | #966ebfmediumpurple | #966ebfmediumpurple |
| Accent foreground | #000000black | #000000black |
| Destructive | #600b06maroon | #f01b0fred |
| Destructive foreground | #f9a49flightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6e6ebfslateblue | #6e6ebfslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.04:1 | AAA |
| Text on card | 19.55:1 | AAA |
| Primary button | 4.53:1 | AA |
| Secondary button | 6.80:1 | AA |
| Muted text | 5.86:1 | AA |
| Accent | 5.27:1 | AA |
| Destructive | 7.01:1 | AAA |
| Text on background | 20.11:1 | AAA |
| Text on card | 20.44:1 | AAA |
| Primary button | 4.53:1 | AA |
| Secondary button | 6.80:1 | AA |
| Muted text | 7.45:1 | AAA |
| Accent | 5.27:1 | AA |
| Destructive | 4.32:1 | AA Large |
Paste this into your globals.css to use Fumbling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 286.334);
--foreground: oklch(0.092 0.023 280.749);
--muted: oklch(0.912 0.013 247.966);
--muted-foreground: oklch(0.445 0.004 247.904);
--popover: oklch(0.978 0.007 286.267);
--popover-foreground: oklch(0.073 0.019 280.749);
--card: oklch(0.978 0.007 286.267);
--card-foreground: oklch(0.073 0.019 280.749);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.574 0.124 281.785);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.66 0.076 249.038);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.611 0.127 306.03);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.315 0.118 29.245);
--destructive-foreground: oklch(0.8 0.102 22.896);
--ring: oklch(0.574 0.124 281.785);
--chart-1: oklch(0.574 0.124 281.785);
--chart-2: oklch(0.66 0.076 249.038);
--chart-3: oklch(0.611 0.127 306.03);
--chart-4: oklch(0.686 0.07 248.879);
--chart-5: oklch(0.568 0.133 281.292);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.018 282.597);
--foreground: oklch(0.991 0.002 286.365);
--muted: oklch(0.223 0.018 248.639);
--muted-foreground: oklch(0.74 0.003 247.865);
--popover: oklch(0.112 0.021 282.578);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.112 0.021 282.578);
--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.574 0.124 281.785);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.66 0.076 249.038);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.611 0.127 306.03);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.606 0.239 29.457);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.574 0.124 281.785);
--chart-1: oklch(0.574 0.124 281.785);
--chart-2: oklch(0.66 0.076 249.038);
--chart-3: oklch(0.611 0.127 306.03);
--chart-4: oklch(0.686 0.07 248.879);
--chart-5: oklch(0.568 0.133 281.292);
}