Canine is a shadcn/ui theme built around a pink primary color (#c690b1) with green accents (#90c6a5). The light mode uses a neutral background (#fdfbfd). Dark mode keeps the pink primary (#c690b1) on a neutral background (#070306).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfdsnow | #070306black |
| Foreground | #050103black | #fbf9fasnow |
| Card | #fcf8fasnow | #0b0408black |
| Card foreground | #000000black | #fdfcfdwhite |
| Popover | #fdfbfdsnow | #070306black |
| Popover foreground | #050103black | #fbf9fasnow |
| Primary | #c690b1rosybrown | #c690b1rosybrown |
| Primary foreground | #180c13black | #180c13black |
| Secondary | #90c6a5darkseagreen | #90c6a5darkseagreen |
| Secondary foreground | #0c1811black | #0c1811black |
| Muted | #d2e5d9gainsboro | #1a2d21darkslategray |
| Muted foreground | #3e4741darkslategray | #b8c1bcsilver |
| Accent | #90c6a5darkseagreen | #90c6a5darkseagreen |
| Accent foreground | #0c1811black | #0c1811black |
| Destructive | #c51f16firebrick | #eb5047tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c690b1rosybrown | #c690b1rosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 7.28:1 | AAA |
| Secondary button | 9.34:1 | AAA |
| Muted text | 7.30:1 | AAA |
| Accent | 9.34:1 | AAA |
| Destructive | 5.85:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 7.28:1 | AAA |
| Secondary button | 9.34:1 | AAA |
| Muted text | 7.87:1 | AAA |
| Accent | 9.34:1 | AAA |
| Destructive | 3.65:1 | AA Large |
Paste this into your globals.css to use Canine in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 339.529);
--foreground: oklch(0.082 0.025 339.769);
--muted: oklch(0.904 0.026 158.813);
--muted-foreground: oklch(0.387 0.015 158.55);
--popover: oklch(0.991 0.003 339.529);
--popover-foreground: oklch(0.082 0.025 339.769);
--card: oklch(0.983 0.005 339.591);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.715 0.078 341.743);
--primary-foreground: oklch(0.174 0.024 342.257);
--secondary: oklch(0.779 0.074 157.147);
--secondary-foreground: oklch(0.193 0.022 156.612);
--accent: oklch(0.779 0.074 157.147);
--accent-foreground: oklch(0.193 0.022 156.612);
--destructive: oklch(0.53 0.201 29.163);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.715 0.078 341.743);
--chart-1: oklch(0.715 0.078 341.743);
--chart-2: oklch(0.779 0.074 157.147);
--chart-3: oklch(0.779 0.074 157.147);
--chart-4: oklch(0.799 0.067 157.442);
--chart-5: oklch(0.714 0.086 341.953);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.109 0.017 339.635);
--foreground: oklch(0.984 0.002 339.521);
--muted: oklch(0.278 0.034 156.379);
--muted-foreground: oklch(0.803 0.013 159.106);
--popover: oklch(0.109 0.017 339.635);
--popover-foreground: oklch(0.984 0.002 339.521);
--card: oklch(0.124 0.02 339.769);
--card-foreground: oklch(0.992 0.001 339.495);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.715 0.078 341.743);
--primary-foreground: oklch(0.174 0.024 342.257);
--secondary: oklch(0.779 0.074 157.147);
--secondary-foreground: oklch(0.193 0.022 156.612);
--accent: oklch(0.779 0.074 157.147);
--accent-foreground: oklch(0.193 0.022 156.612);
--destructive: oklch(0.642 0.193 26.966);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.715 0.078 341.743);
--chart-1: oklch(0.715 0.078 341.743);
--chart-2: oklch(0.779 0.074 157.147);
--chart-3: oklch(0.779 0.074 157.147);
--chart-4: oklch(0.799 0.067 157.442);
--chart-5: oklch(0.714 0.086 341.953);
}