Fast Velvet Caterpillar is a shadcn/ui theme built around a blue primary color (#9097d0) with green accents (#97d090). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#9097d0) on a blue-tinted background (#03040c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #03040cblack |
| Foreground | #040615black | #f5f6f9whitesmoke |
| Card | #fcfcfcsnow | #040610black |
| Card foreground | #030511black | #f9f9fbghostwhite |
| Popover | #fcfcfcsnow | #040610black |
| Popover foreground | #030511black | #f9f9fbghostwhite |
| Primary | #9097d0mediumpurple | #9097d0mediumpurple |
| Primary foreground | #0e1020black | #0e1020black |
| Secondary | #d09097rosybrown | #d09097rosybrown |
| Secondary foreground | #200e10black | #200e10black |
| Muted | #f4e6e8linen | #190b0dblack |
| Muted foreground | #484142darkslategray | #beb7b8silver |
| Accent | #97d090darkseagreen | #97d090darkseagreen |
| Accent foreground | #10200eblack | #10200eblack |
| Destructive | #993300saddlebrown | #eb4e00orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #f0f1f4whitesmoke | #1d1e26black |
| Input | #f0f1f4whitesmoke | #1d1e26black |
| Ring | #9097d0mediumpurple | #9097d0mediumpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.15:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 6.75:1 | AA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 8.23:1 | AAA |
| Accent | 9.53:1 | AAA |
| Destructive | 7.42:1 | AAA |
| Text on background | 18.91:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 6.75:1 | AA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 9.73:1 | AAA |
| Accent | 9.53:1 | AAA |
| Destructive | 3.74:1 | AA Large |
Paste this into your globals.css to use Fast Velvet Caterpillar in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.131 0.035 272.723);
--muted: oklch(0.937 0.015 9.285);
--muted-foreground: oklch(0.384 0.01 9.494);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.121 0.03 272.496);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.121 0.03 272.496);
--border: oklch(0.958 0.004 280.261);
--input: oklch(0.958 0.004 280.261);
--primary: oklch(0.692 0.085 278.133);
--primary-foreground: oklch(0.179 0.034 276.648);
--secondary: oklch(0.718 0.079 11.559);
--secondary-foreground: oklch(0.191 0.032 13.135);
--accent: oklch(0.803 0.107 141.657);
--accent-foreground: oklch(0.224 0.042 141.504);
--destructive: oklch(0.466 0.145 40.248);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.692 0.085 278.133);
--chart-1: oklch(0.692 0.085 278.133);
--chart-2: oklch(0.718 0.079 11.559);
--chart-3: oklch(0.803 0.107 141.657);
--chart-4: oklch(0.745 0.071 11.169);
--chart-5: oklch(0.688 0.091 277.929);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.112 0.023 273.556);
--foreground: oklch(0.973 0.005 280.252);
--muted: oklch(0.171 0.024 12.328);
--muted-foreground: oklch(0.784 0.008 9.147);
--popover: oklch(0.124 0.026 273.814);
--popover-foreground: oklch(0.982 0.003 280.279);
--card: oklch(0.124 0.026 273.814);
--card-foreground: oklch(0.982 0.003 280.279);
--border: oklch(0.236 0.016 279.196);
--input: oklch(0.236 0.016 279.196);
--primary: oklch(0.692 0.085 278.133);
--primary-foreground: oklch(0.179 0.034 276.648);
--secondary: oklch(0.718 0.079 11.559);
--secondary-foreground: oklch(0.191 0.032 13.135);
--accent: oklch(0.803 0.107 141.657);
--accent-foreground: oklch(0.224 0.042 141.504);
--destructive: oklch(0.635 0.204 38.989);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.692 0.085 278.133);
--chart-1: oklch(0.692 0.085 278.133);
--chart-2: oklch(0.718 0.079 11.559);
--chart-3: oklch(0.803 0.107 141.657);
--chart-4: oklch(0.745 0.071 11.169);
--chart-5: oklch(0.688 0.091 277.929);
}