Minute is a shadcn/ui theme built around a muted red primary color (#c9a6ac) with muted blue accents (#a6acc9). The light mode uses a neutral background (#fefbfb). Dark mode keeps the muted red primary (#c9a6ac) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #000000black |
| Foreground | #090203black | #fbf8f9snow |
| Card | #fdf7f8snow | #030303black |
| Card foreground | #040101black | #fdfcfcsnow |
| Popover | #fefbfbsnow | #000000black |
| Popover foreground | #090203black | #fbf8f9snow |
| Primary | #c9a6acdarkgray | #c9a6acdarkgray |
| Primary foreground | #26171ablack | #26171ablack |
| Secondary | #acc9a6darkgray | #acc9a6darkgray |
| Secondary foreground | #192617black | #192617black |
| Muted | #d3e2d0lightgrey | #202f1ddarkslategray |
| Muted foreground | #4d5e4adarkolivegreen | #a4b5a1darkgray |
| Accent | #a6acc9darkgray | #a6acc9darkgray |
| Accent foreground | #171a26black | #171a26black |
| Destructive | #860d09darkred | #f02f28crimson |
| Destructive foreground | #fbc8c6pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c9a6acdarkgray | #c9a6acdarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.96:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 7.80:1 | AAA |
| Secondary button | 8.78:1 | AAA |
| Muted text | 5.14:1 | AA |
| Accent | 7.70:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 19.89:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 7.80:1 | AAA |
| Secondary button | 8.78:1 | AAA |
| Muted text | 6.51:1 | AA |
| Accent | 7.70:1 | AAA |
| Destructive | 4.08:1 | AA Large |
Paste this into your globals.css to use Minute in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 5.537);
--foreground: oklch(0.102 0.023 6.222);
--muted: oklch(0.896 0.028 140.483);
--muted-foreground: oklch(0.462 0.038 140.41);
--popover: oklch(0.99 0.003 5.537);
--popover-foreground: oklch(0.102 0.023 6.222);
--card: oklch(0.981 0.007 5.628);
--card-foreground: oklch(0.081 0.018 6.222);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.758 0.043 6.881);
--primary-foreground: oklch(0.226 0.025 8.306);
--secondary: oklch(0.806 0.059 140.422);
--secondary-foreground: oklch(0.253 0.033 140.357);
--accent: oklch(0.749 0.043 276.39);
--accent-foreground: oklch(0.219 0.025 275.38);
--destructive: oklch(0.395 0.153 28.908);
--destructive-foreground: oklch(0.876 0.059 20.641);
--ring: oklch(0.758 0.043 6.881);
--chart-1: oklch(0.758 0.043 6.881);
--chart-2: oklch(0.806 0.059 140.422);
--chart-3: oklch(0.749 0.043 276.39);
--chart-4: oklch(0.827 0.052 140.436);
--chart-5: oklch(0.756 0.048 7.064);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.003 5.534);
--muted: oklch(0.286 0.037 140.358);
--muted-foreground: oklch(0.754 0.034 140.462);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.003 5.534);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.991 0.002 5.491);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.758 0.043 6.881);
--primary-foreground: oklch(0.226 0.025 8.306);
--secondary: oklch(0.806 0.059 140.422);
--secondary-foreground: oklch(0.253 0.033 140.357);
--accent: oklch(0.749 0.043 276.39);
--accent-foreground: oklch(0.219 0.025 275.38);
--destructive: oklch(0.619 0.227 28.285);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.758 0.043 6.881);
--chart-1: oklch(0.758 0.043 6.881);
--chart-2: oklch(0.806 0.059 140.422);
--chart-3: oklch(0.749 0.043 276.39);
--chart-4: oklch(0.827 0.052 140.436);
--chart-5: oklch(0.756 0.048 7.064);
}