Tailspin is a shadcn/ui theme built around a blue primary color (#4389b1) with green accents (#89b143). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the blue primary (#4389b1) on a blue-tinted background (#060b0f).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #060b0fblack |
| Foreground | #040f15black | #f5f8fawhitesmoke |
| Card | #fcfdfdwhite | #060b0fblack |
| Card foreground | #040f15black | #f5f8fawhitesmoke |
| Popover | #fcfdfdwhite | #060b0fblack |
| Popover foreground | #040f15black | #f5f8fawhitesmoke |
| Primary | #4389b1steelblue | #4389b1steelblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #b14389mediumvioletred | #b14389mediumvioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #efdce8mistyrose | #23101cblack |
| Muted foreground | #4f454bdarkslategray | #bab0b6silver |
| Accent | #89b143yellowgreen | #89b143yellowgreen |
| Accent foreground | #171e0bblack | #171e0bblack |
| Destructive | #ab1d07firebrick | #f6472ctomato |
| Destructive foreground | #feeae7linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4389b1steelblue | #4389b1steelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.95:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 3.84:1 | AA Large |
| Secondary button | 5.18:1 | AA |
| Muted text | 7.02:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 6.21:1 | AA |
| Text on background | 18.50:1 | AAA |
| Text on card | 18.50:1 | AAA |
| Primary button | 3.84:1 | AA Large |
| Secondary button | 5.18:1 | AA |
| Muted text | 8.58:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 3.57:1 | AA Large |
Paste this into your globals.css to use Tailspin in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.001 232.6);
--foreground: oklch(0.161 0.021 232.642);
--muted: oklch(0.913 0.027 339.335);
--muted-foreground: oklch(0.402 0.018 339.628);
--popover: oklch(0.992 0.001 232.6);
--popover-foreground: oklch(0.161 0.021 232.642);
--card: oklch(0.992 0.001 232.6);
--card-foreground: oklch(0.161 0.021 232.642);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.602 0.093 236.57);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.556 0.163 344.741);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.71 0.146 126.867);
--accent-foreground: oklch(0.221 0.034 125.603);
--destructive: oklch(0.479 0.179 31.352);
--destructive-foreground: oklch(0.951 0.023 28.069);
--ring: oklch(0.602 0.093 236.57);
--chart-1: oklch(0.602 0.093 236.57);
--chart-2: oklch(0.556 0.163 344.741);
--chart-3: oklch(0.71 0.146 126.867);
--chart-4: oklch(0.58 0.165 344.545);
--chart-5: oklch(0.605 0.099 236.967);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.146 0.013 230.998);
--foreground: oklch(0.977 0.005 232.646);
--muted: oklch(0.206 0.038 342.427);
--muted-foreground: oklch(0.767 0.015 339.131);
--popover: oklch(0.146 0.013 230.998);
--popover-foreground: oklch(0.977 0.005 232.646);
--card: oklch(0.146 0.013 230.998);
--card-foreground: oklch(0.977 0.005 232.646);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.602 0.093 236.57);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.556 0.163 344.741);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.71 0.146 126.867);
--accent-foreground: oklch(0.221 0.034 125.603);
--destructive: oklch(0.65 0.215 31.648);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.602 0.093 236.57);
--chart-1: oklch(0.602 0.093 236.57);
--chart-2: oklch(0.556 0.163 344.741);
--chart-3: oklch(0.71 0.146 126.867);
--chart-4: oklch(0.58 0.165 344.545);
--chart-5: oklch(0.605 0.099 236.967);
}