Taut is a shadcn/ui theme built around a vivid deep pink primary color (#590822) with muted light pink accents (#d4b5bf). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep pink primary (#590822) on a pink-tinted background (#100408).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #100408black |
| Foreground | #0c0406black | #fbf9f9snow |
| Card | #ffffffwhite | #100408black |
| Card foreground | #0c0406black | #fbf9f9snow |
| Popover | #ffffffwhite | #100408black |
| Popover foreground | #0c0406black | #fbf9f9snow |
| Primary | #590822maroon | #590822maroon |
| Primary foreground | #f69db9lightpink | #f69db9lightpink |
| Secondary | #dbcdd1lightgrey | #171214black |
| Secondary foreground | #443137darkslategray | #b7a4aadarkgray |
| Muted | #f5eaeelinen | #150a0dblack |
| Muted foreground | #6a535adimgray | #ac959crosybrown |
| Accent | #d4b5bfsilver | #2e1f23darkslategray |
| Accent foreground | #372027darkslategray | #ccb3bbsilver |
| Destructive | #df2707orangered | #f84525orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #590822maroon | #590822maroon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.27:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 7.05:1 | AAA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 5.97:1 | AA |
| Accent | 7.97:1 | AAA |
| Destructive | 4.74:1 | AA |
| Text on background | 19.17:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 7.05:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 6.97:1 | AA |
| Accent | 8.05:1 | AAA |
| Destructive | 3.57:1 | AA Large |
Paste this into your globals.css to use Taut in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.121 0.021 355.52);
--muted: oklch(0.947 0.012 355.991);
--muted-foreground: oklch(0.468 0.032 357.505);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.121 0.021 355.52);
--card: oklch(1 0 180);
--card-foreground: oklch(0.121 0.021 355.52);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.303 0.111 9.76);
--primary-foreground: oklch(0.793 0.111 359.45);
--secondary: oklch(0.86 0.016 356.163);
--secondary-foreground: oklch(0.338 0.029 357.965);
--accent: oklch(0.803 0.037 356.918);
--accent-foreground: oklch(0.276 0.037 359.257);
--destructive: oklch(0.581 0.219 31.563);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.303 0.111 9.76);
--chart-1: oklch(0.303 0.111 9.76);
--chart-2: oklch(0.86 0.016 356.163);
--chart-3: oklch(0.803 0.037 356.918);
--chart-4: oklch(0.885 0.013 356.051);
--chart-5: oklch(0.305 0.114 10.34);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.134 0.027 357.075);
--foreground: oklch(0.983 0.003 355.694);
--muted: oklch(0.161 0.02 358.995);
--muted-foreground: oklch(0.693 0.029 356.778);
--popover: oklch(0.134 0.027 357.075);
--popover-foreground: oklch(0.983 0.003 355.694);
--card: oklch(0.134 0.027 357.075);
--card-foreground: oklch(0.983 0.003 355.694);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.303 0.111 9.76);
--primary-foreground: oklch(0.793 0.111 359.45);
--secondary: oklch(0.189 0.009 356.893);
--secondary-foreground: oklch(0.736 0.024 356.55);
--accent: oklch(0.258 0.025 358.29);
--accent-foreground: oklch(0.789 0.031 356.729);
--destructive: oklch(0.65 0.22 32.329);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.303 0.111 9.76);
--chart-1: oklch(0.303 0.111 9.76);
--chart-2: oklch(0.189 0.009 356.893);
--chart-3: oklch(0.258 0.025 358.29);
--chart-4: oklch(0.221 0.011 357.055);
--chart-5: oklch(0.305 0.114 10.34);
}