Flustered is a shadcn/ui theme built around a muted light pink primary color (#d0b9c0) with muted light blue accents (#b9c0d0). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the muted light pink primary (#d0b9c0) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f9snow | #000000black |
| Foreground | #100508black | #fdfcfcsnow |
| Card | #fdf7f9snow | #000000black |
| Card foreground | #100508black | #fdfcfcsnow |
| Popover | #fdf7f9snow | #000000black |
| Popover foreground | #100508black | #fdfcfcsnow |
| Primary | #d0b9c0silver | #d0b9c0silver |
| Primary foreground | #342328darkslategray | #342328darkslategray |
| Secondary | #c0d0b9silver | #c0d0b9silver |
| Secondary foreground | #283423darkslategray | #283423darkslategray |
| Muted | #e8f2e3beige | #121c0dblack |
| Muted foreground | #585e55dimgray | #a4aaa1darkgray |
| Accent | #b9c0d0lightsteelblue | #b9c0d0lightsteelblue |
| Accent foreground | #232834darkslategray | #232834darkslategray |
| Destructive | #7f2e06saddlebrown | #f45c10orangered |
| Destructive foreground | #fcd0bbpeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d0b9c0silver | #d0b9c0silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.93:1 | AAA |
| Text on card | 18.93:1 | AAA |
| Primary button | 8.01:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 5.78:1 | AA |
| Accent | 8.07:1 | AAA |
| Destructive | 6.48:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 8.01:1 | AAA |
| Secondary button | 8.07:1 | AAA |
| Muted text | 7.41:1 | AAA |
| Accent | 8.07:1 | AAA |
| Destructive | 6.38:1 | AA |
Paste this into your globals.css to use Flustered in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 355.815);
--foreground: oklch(0.134 0.025 356.987);
--muted: oklch(0.949 0.022 135.526);
--muted-foreground: oklch(0.473 0.016 135.576);
--popover: oklch(0.981 0.007 355.815);
--popover-foreground: oklch(0.134 0.025 356.987);
--card: oklch(0.981 0.007 355.815);
--card-foreground: oklch(0.134 0.025 356.987);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.807 0.029 356.614);
--primary-foreground: oklch(0.278 0.028 358.381);
--secondary: oklch(0.839 0.036 135.619);
--secondary-foreground: oklch(0.309 0.034 135.964);
--accent: oklch(0.807 0.024 265.847);
--accent-foreground: oklch(0.277 0.023 265.426);
--destructive: oklch(0.414 0.121 41.765);
--destructive-foreground: oklch(0.891 0.057 48.058);
--ring: oklch(0.807 0.029 356.614);
--chart-1: oklch(0.807 0.029 356.614);
--chart-2: oklch(0.839 0.036 135.619);
--chart-3: oklch(0.807 0.024 265.847);
--chart-4: oklch(0.86 0.032 135.588);
--chart-5: oklch(0.805 0.033 356.765);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 355.644);
--muted: oklch(0.21 0.031 136.185);
--muted-foreground: oklch(0.731 0.014 135.513);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 355.644);
--card: oklch(0 0 0);
--card-foreground: oklch(0.992 0.001 355.644);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.807 0.029 356.614);
--primary-foreground: oklch(0.278 0.028 358.381);
--secondary: oklch(0.839 0.036 135.619);
--secondary-foreground: oklch(0.309 0.034 135.964);
--accent: oklch(0.807 0.024 265.847);
--accent-foreground: oklch(0.277 0.023 265.426);
--destructive: oklch(0.667 0.2 40.912);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.807 0.029 356.614);
--chart-1: oklch(0.807 0.029 356.614);
--chart-2: oklch(0.839 0.036 135.619);
--chart-3: oklch(0.807 0.024 265.847);
--chart-4: oklch(0.86 0.032 135.588);
--chart-5: oklch(0.805 0.033 356.765);
}