fst-2 is a shadcn/ui theme built around a neutral gray primary color (#c3c4c6) with neutral gray accents (#c6c5c3). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the neutral gray primary (#c3c4c6) on a neutral background (#020203).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fcghostwhite | #020203black |
| Foreground | #000000black | #f9fafbghostwhite |
| Card | #f5f6fawhitesmoke | #030407black |
| Card foreground | #000000black | #fcfcfdwhite |
| Popover | #f5f6fawhitesmoke | #030407black |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #c3c4c6silver | #c3c4c6silver |
| Primary foreground | #2a2b2cdarkslategray | #2a2b2cdarkslategray |
| Secondary | #c6c5c3silver | #c6c5c3silver |
| Secondary foreground | #2c2c2adarkslategray | #2c2c2adarkslategray |
| Muted | #efeeeblinen | #141310black |
| Muted foreground | #43413ddarkslategray | #c2c1bcsilver |
| Accent | #c6c5c3silver | #c6c5c3silver |
| Accent foreground | #2c2c2adarkslategray | #2c2c2adarkslategray |
| Destructive | #bb1d0cfirebrick | #f24431tomato |
| Destructive foreground | #fffbfasnow | #ffffffwhite |
| Border | #e0e2e5gainsboro | #202227black |
| Input | #e0e2e5gainsboro | #202227black |
| Ring | #c3c4c6silver | #c3c4c6silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.95:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 8.11:1 | AAA |
| Secondary button | 8.09:1 | AAA |
| Muted text | 8.78:1 | AAA |
| Accent | 8.09:1 | AAA |
| Destructive | 6.19:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 8.11:1 | AAA |
| Secondary button | 8.09:1 | AAA |
| Muted text | 10.32:1 | AAA |
| Accent | 8.09:1 | AAA |
| Destructive | 3.72:1 | AA Large |
Paste this into your globals.css to use fst-2 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.004 268.765);
--foreground: oklch(0 0 0);
--muted: oklch(0.949 0.004 88.818);
--muted-foreground: oklch(0.376 0.008 88.915);
--popover: oklch(0.974 0.006 268.751);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.974 0.006 268.751);
--card-foreground: oklch(0 0 0);
--border: oklch(0.912 0.005 268.751);
--input: oklch(0.912 0.005 268.751);
--primary: oklch(0.82 0.002 268.77);
--primary-foreground: oklch(0.289 0.002 268.733);
--secondary: oklch(0.823 0.002 88.81);
--secondary-foreground: oklch(0.292 0.002 88.842);
--accent: oklch(0.823 0.002 88.81);
--accent-foreground: oklch(0.292 0.002 88.842);
--destructive: oklch(0.509 0.193 30.495);
--destructive-foreground: oklch(0.99 0.004 25.026);
--ring: oklch(0.82 0.002 268.77);
--chart-1: oklch(0.82 0.002 268.77);
--chart-2: oklch(0.823 0.002 88.81);
--chart-3: oklch(0.823 0.002 88.81);
--chart-4: oklch(0.847 0.002 88.807);
--chart-5: oklch(0.817 0.006 268.738);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.007 264.537);
--foreground: oklch(0.984 0.002 268.78);
--muted: oklch(0.186 0.006 88.959);
--muted-foreground: oklch(0.81 0.007 88.843);
--popover: oklch(0.11 0.009 264.537);
--popover-foreground: oklch(0.992 0.001 268.785);
--card: oklch(0.11 0.009 264.537);
--card-foreground: oklch(0.992 0.001 268.785);
--border: oklch(0.253 0.009 268.503);
--input: oklch(0.253 0.009 268.503);
--primary: oklch(0.82 0.002 268.77);
--primary-foreground: oklch(0.289 0.002 268.733);
--secondary: oklch(0.823 0.002 88.81);
--secondary-foreground: oklch(0.292 0.002 88.842);
--accent: oklch(0.823 0.002 88.81);
--accent-foreground: oklch(0.292 0.002 88.842);
--destructive: oklch(0.64 0.213 30.189);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.82 0.002 268.77);
--chart-1: oklch(0.82 0.002 268.77);
--chart-2: oklch(0.823 0.002 88.81);
--chart-3: oklch(0.823 0.002 88.81);
--chart-4: oklch(0.847 0.002 88.807);
--chart-5: oklch(0.817 0.006 268.738);
}