Canine is a shadcn/ui theme built around a vivid light purple primary color (#fbb1e5) with vivid light cyan accents (#b1e5fb). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the vivid light purple primary (#fbb1e5) on a purple-tinted background (#0b0409).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fbsnow | #0b0409black |
| Foreground | #10040dblack | #faf5f8whitesmoke |
| Card | #fcf8fbsnow | #0b0409black |
| Card foreground | #10040dblack | #faf5f8whitesmoke |
| Popover | #fcf8fbsnow | #0b0409black |
| Popover foreground | #10040dblack | #faf5f8whitesmoke |
| Primary | #fbb1e5pink | #fbb1e5pink |
| Primary foreground | #740653purple | #740653purple |
| Secondary | #e5fbb1palegoldenrod | #e5fbb1palegoldenrod |
| Secondary foreground | #0e1301black | #0e1301black |
| Muted | #eaeee2beige | #191d11black |
| Muted foreground | #4b4c48darkslategray | #b6b7b3silver |
| Accent | #b1e5fbpaleturquoise | #b1e5fbpaleturquoise |
| Accent foreground | #065374teal | #065374teal |
| Destructive | #711909maroon | #ef5034tomato |
| Destructive foreground | #f9beb4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fbb1e5pink | #fbb1e5pink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.04:1 | AAA |
| Text on card | 19.04:1 | AAA |
| Primary button | 6.63:1 | AA |
| Secondary button | 16.86:1 | AAA |
| Muted text | 7.34:1 | AAA |
| Accent | 6.19:1 | AA |
| Destructive | 7.06:1 | AAA |
| Text on background | 18.78:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 6.63:1 | AA |
| Secondary button | 16.86:1 | AAA |
| Muted text | 8.51:1 | AAA |
| Accent | 6.19:1 | AA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Canine in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.007 335.997);
--foreground: oklch(0.136 0.031 338.211);
--muted: oklch(0.943 0.016 120.318);
--muted-foreground: oklch(0.414 0.007 120.341);
--popover: oklch(0.982 0.007 335.997);
--popover-foreground: oklch(0.136 0.031 338.211);
--card: oklch(0.982 0.007 335.997);
--card-foreground: oklch(0.136 0.031 338.211);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.846 0.107 338.1);
--primary-foreground: oklch(0.376 0.155 345.228);
--secondary: oklch(0.954 0.097 121.816);
--secondary-foreground: oklch(0.177 0.04 122.199);
--accent: oklch(0.893 0.061 226.044);
--accent-foreground: oklch(0.418 0.086 234.699);
--destructive: oklch(0.363 0.125 32.29);
--destructive-foreground: oklch(0.852 0.07 29.987);
--ring: oklch(0.846 0.107 338.1);
--chart-1: oklch(0.846 0.107 338.1);
--chart-2: oklch(0.954 0.097 121.816);
--chart-3: oklch(0.893 0.061 226.044);
--chart-4: oklch(0.962 0.079 121.462);
--chart-5: oklch(0.846 0.111 338.172);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.019 336.358);
--foreground: oklch(0.975 0.006 335.989);
--muted: oklch(0.222 0.022 121.758);
--muted-foreground: oklch(0.778 0.006 120.176);
--popover: oklch(0.125 0.019 336.358);
--popover-foreground: oklch(0.975 0.006 335.989);
--card: oklch(0.125 0.019 336.358);
--card-foreground: oklch(0.975 0.006 335.989);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.846 0.107 338.1);
--primary-foreground: oklch(0.376 0.155 345.228);
--secondary: oklch(0.954 0.097 121.816);
--secondary-foreground: oklch(0.177 0.04 122.199);
--accent: oklch(0.893 0.061 226.044);
--accent-foreground: oklch(0.418 0.086 234.699);
--destructive: oklch(0.647 0.199 32.36);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.846 0.107 338.1);
--chart-1: oklch(0.846 0.107 338.1);
--chart-2: oklch(0.954 0.097 121.816);
--chart-3: oklch(0.893 0.061 226.044);
--chart-4: oklch(0.962 0.079 121.462);
--chart-5: oklch(0.846 0.111 338.172);
}