Fast is a shadcn/ui theme built around a muted light purple primary color (#d7bcd1) with muted light cyan accents (#bcd1d7). The light mode uses a neutral background (#fefbfd). Dark mode keeps the muted light purple primary (#d7bcd1) on a purple-tinted background (#0a0509).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfdsnow | #0a0509black |
| Foreground | #090107black | #fdfcfdwhite |
| Card | #fdf7fcsnow | #0e070cblack |
| Card foreground | #050104black | #ffffffwhite |
| Popover | #fefbfdsnow | #0a0509black |
| Popover foreground | #090107black | #fdfcfdwhite |
| Primary | #d7bcd1thistle | #d7bcd1thistle |
| Primary foreground | #3d2437darkslategray | #3d2437darkslategray |
| Secondary | #d1d7bclightgrey | #d1d7bclightgrey |
| Secondary foreground | #373d24darkslategray | #373d24darkslategray |
| Muted | #e6e7e4gainsboro | #1a1b18black |
| Muted foreground | #616553dimgray | #a8ac9adarkgray |
| Accent | #bcd1d7lightsteelblue | #bcd1d7lightsteelblue |
| Accent foreground | #24373ddarkslategray | #24373ddarkslategray |
| Destructive | #a9300ffirebrick | #ec4e22chocolate |
| Destructive foreground | #fdf0ecseashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d7bcd1thistle | #d7bcd1thistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.03:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 4.85:1 | AA |
| Accent | 7.82:1 | AAA |
| Destructive | 6.04:1 | AA |
| Text on background | 19.75:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 7.41:1 | AAA |
| Accent | 7.82:1 | AAA |
| Destructive | 3.69:1 | AA Large |
Paste this into your globals.css to use Fast in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.005 333.317);
--foreground: oklch(0.104 0.034 334.392);
--muted: oklch(0.927 0.005 117.173);
--muted-foreground: oklch(0.497 0.029 118.123);
--popover: oklch(0.991 0.005 333.317);
--popover-foreground: oklch(0.104 0.034 334.392);
--card: oklch(0.982 0.009 333.395);
--card-foreground: oklch(0.082 0.027 334.392);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.824 0.043 334.053);
--primary-foreground: oklch(0.3 0.049 335.704);
--secondary: oklch(0.868 0.038 117.87);
--secondary-foreground: oklch(0.347 0.042 119.32);
--accent: oklch(0.846 0.025 217.956);
--accent-foreground: oklch(0.323 0.027 218.774);
--destructive: oklch(0.491 0.162 35.002);
--destructive-foreground: oklch(0.964 0.015 35.966);
--ring: oklch(0.824 0.043 334.053);
--chart-1: oklch(0.824 0.043 334.053);
--chart-2: oklch(0.868 0.038 117.87);
--chart-3: oklch(0.846 0.025 217.956);
--chart-4: oklch(0.887 0.033 117.739);
--chart-5: oklch(0.822 0.048 334.146);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.016 333.747);
--foreground: oklch(0.992 0.002 333.279);
--muted: oklch(0.221 0.007 117.64);
--muted-foreground: oklch(0.737 0.026 117.719);
--popover: oklch(0.127 0.016 333.747);
--popover-foreground: oklch(0.992 0.002 333.279);
--card: oklch(0.14 0.019 334.697);
--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.824 0.043 334.053);
--primary-foreground: oklch(0.3 0.049 335.704);
--secondary: oklch(0.868 0.038 117.87);
--secondary-foreground: oklch(0.347 0.042 119.32);
--accent: oklch(0.846 0.025 217.956);
--accent-foreground: oklch(0.323 0.027 218.774);
--destructive: oklch(0.639 0.201 35.475);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.824 0.043 334.053);
--chart-1: oklch(0.824 0.043 334.053);
--chart-2: oklch(0.868 0.038 117.87);
--chart-3: oklch(0.846 0.025 217.956);
--chart-4: oklch(0.887 0.033 117.739);
--chart-5: oklch(0.822 0.048 334.146);
}