Fast is a shadcn/ui theme built around a deep green primary color (#142a1d) with deep orange accents (#2a1d14). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the deep green primary (#142a1d) on a green-tinted background (#051009).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #051009black |
| Foreground | #010402black | #ffffffwhite |
| Card | #f8fbfamintcream | #06130cblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfdfcwhite | #051009black |
| Popover foreground | #010402black | #ffffffwhite |
| Primary | #142a1dblack | #142a1dblack |
| Primary foreground | #9ed1b3silver | #9ed1b3silver |
| Secondary | #1d142ablack | #1d142ablack |
| Secondary foreground | #b39ed1silver | #b39ed1silver |
| Muted | #efeaf6lavender | #0e0915black |
| Muted foreground | #50495bdarkslategray | #aca4b6darkgray |
| Accent | #2a1d14black | #2a1d14black |
| Accent foreground | #d1b39etan | #d1b39etan |
| Destructive | #801f0amaroon | #da3510orangered |
| Destructive foreground | #faccc1pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #142a1dblack | #142a1dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 8.90:1 | AAA |
| Secondary button | 7.38:1 | AAA |
| Muted text | 7.24:1 | AAA |
| Accent | 8.32:1 | AAA |
| Destructive | 6.81:1 | AA |
| Text on background | 19.41:1 | AAA |
| Text on card | 18.93:1 | AAA |
| Primary button | 8.90:1 | AAA |
| Secondary button | 7.38:1 | AAA |
| Muted text | 8.16:1 | AAA |
| Accent | 8.32:1 | AAA |
| Destructive | 4.65:1 | AA |
Paste this into your globals.css to use Fast in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 160.966);
--foreground: oklch(0.099 0.016 160.935);
--muted: oklch(0.944 0.017 304.8);
--muted-foreground: oklch(0.418 0.031 304.023);
--popover: oklch(0.993 0.002 160.966);
--popover-foreground: oklch(0.099 0.016 160.935);
--card: oklch(0.987 0.004 160.918);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.261 0.037 156.947);
--primary-foreground: oklch(0.817 0.068 158.868);
--secondary: oklch(0.213 0.044 302.028);
--secondary-foreground: oklch(0.735 0.077 303.594);
--accent: oklch(0.243 0.026 56.673);
--accent-foreground: oklch(0.788 0.046 57.541);
--destructive: oklch(0.398 0.135 33.575);
--destructive-foreground: oklch(0.882 0.055 32.814);
--ring: oklch(0.261 0.037 156.947);
--chart-1: oklch(0.261 0.037 156.947);
--chart-2: oklch(0.213 0.044 302.028);
--chart-3: oklch(0.243 0.026 56.673);
--chart-4: oklch(0.24 0.053 301.78);
--chart-5: oklch(0.263 0.04 156.613);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.022 159.341);
--foreground: oklch(1 0 180);
--muted: oklch(0.155 0.026 302.669);
--muted-foreground: oklch(0.732 0.027 304.538);
--popover: oklch(0.157 0.022 159.341);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.173 0.025 157.766);
--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.261 0.037 156.947);
--primary-foreground: oklch(0.817 0.068 158.868);
--secondary: oklch(0.213 0.044 302.028);
--secondary-foreground: oklch(0.735 0.077 303.594);
--accent: oklch(0.243 0.026 56.673);
--accent-foreground: oklch(0.788 0.046 57.541);
--destructive: oklch(0.584 0.206 33.187);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.261 0.037 156.947);
--chart-1: oklch(0.261 0.037 156.947);
--chart-2: oklch(0.213 0.044 302.028);
--chart-3: oklch(0.243 0.026 56.673);
--chart-4: oklch(0.24 0.053 301.78);
--chart-5: oklch(0.263 0.04 156.613);
}