Fussy is a shadcn/ui theme built around a neutral gray primary color (#c1c7c5) with neutral gray accents (#c1c7c7). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#c1c7c5) on a teal-tinted background (#04100b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #04100bblack |
| Foreground | #04100bblack | #ffffffwhite |
| Card | #ffffffwhite | #04100bblack |
| Card foreground | #04100bblack | #ffffffwhite |
| Popover | #ffffffwhite | #04100bblack |
| Popover foreground | #04100bblack | #ffffffwhite |
| Primary | #c1c7c5silver | #c1c7c5silver |
| Primary foreground | #292e2bdarkslategray | #292e2bdarkslategray |
| Secondary | #c1c7c2silver | #c1c7c2silver |
| Secondary foreground | #292e29darkslategray | #292e29darkslategray |
| Muted | #ecf4echoneydew | #0b130cblack |
| Muted foreground | #626463dimgray | #9b9d9bdarkgray |
| Accent | #c1c7c7silver | #c1c7c7silver |
| Accent foreground | #292d2edarkslategray | #292d2edarkslategray |
| Destructive | #b33000firebrick | #ff5719orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c1c7c5silver | #c1c7c5silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.37:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 8.07:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 5.30:1 | AA |
| Accent | 8.13:1 | AAA |
| Destructive | 6.32:1 | AA |
| Text on background | 19.37:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 8.07:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 6.89:1 | AA |
| Accent | 8.13:1 | AAA |
| Destructive | 6.62:1 | AA |
Paste this into your globals.css to use Fussy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.159 0.022 164.687);
--muted: oklch(0.958 0.013 146.42);
--muted-foreground: oklch(0.502 0.004 146.474);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.159 0.022 164.687);
--card: oklch(1 0 180);
--card-foreground: oklch(0.159 0.022 164.687);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.825 0.007 166.659);
--primary-foreground: oklch(0.294 0.007 166.236);
--secondary: oklch(0.824 0.01 146.434);
--secondary-foreground: oklch(0.293 0.01 146.25);
--accent: oklch(0.826 0.006 199.502);
--accent-foreground: oklch(0.295 0.006 199.338);
--destructive: oklch(0.507 0.174 35.987);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.825 0.007 166.659);
--chart-1: oklch(0.825 0.007 166.659);
--chart-2: oklch(0.824 0.01 146.434);
--chart-3: oklch(0.826 0.006 199.502);
--chart-4: oklch(0.848 0.009 146.451);
--chart-5: oklch(0.827 0.012 166.511);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.159 0.022 164.723);
--foreground: oklch(1 0 180);
--muted: oklch(0.177 0.02 145.505);
--muted-foreground: oklch(0.692 0.004 146.496);
--popover: oklch(0.159 0.022 164.723);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.159 0.022 164.723);
--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.825 0.007 166.659);
--primary-foreground: oklch(0.294 0.007 166.236);
--secondary: oklch(0.824 0.01 146.434);
--secondary-foreground: oklch(0.293 0.01 146.25);
--accent: oklch(0.826 0.006 199.502);
--accent-foreground: oklch(0.295 0.006 199.338);
--destructive: oklch(0.678 0.214 37.476);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.825 0.007 166.659);
--chart-1: oklch(0.825 0.007 166.659);
--chart-2: oklch(0.824 0.01 146.434);
--chart-3: oklch(0.826 0.006 199.502);
--chart-4: oklch(0.848 0.009 146.451);
--chart-5: oklch(0.827 0.012 166.511);
}