Caribou is a shadcn/ui theme built around a vivid light blue primary color (#9fcff4) with vivid light orange accents (#f4c49f). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light blue primary (#9fcff4) on a neutral background (#030507).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030507black |
| Foreground | #02080dblack | #f9fafbghostwhite |
| Card | #ffffffwhite | #030507black |
| Card foreground | #02080dblack | #f9fafbghostwhite |
| Popover | #ffffffwhite | #030507black |
| Popover foreground | #02080dblack | #f9fafbghostwhite |
| Primary | #9fcff4lightblue | #9fcff4lightblue |
| Primary foreground | #0a3657midnightblue | #0a3657midnightblue |
| Secondary | #f4c49fnavajowhite | #f4c49fnavajowhite |
| Secondary foreground | #572b0asaddlebrown | #572b0asaddlebrown |
| Muted | #f1efeewhitesmoke | #110f0eblack |
| Muted foreground | #404040darkslategray | #bfbfbfsilver |
| Accent | #f4c49fnavajowhite | #f4c49fnavajowhite |
| Accent foreground | #572b0asaddlebrown | #572b0asaddlebrown |
| Destructive | #ce3903firebrick | #fc6027tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9fcff4lightblue | #9fcff4lightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.13:1 | AAA |
| Text on card | 20.13:1 | AAA |
| Primary button | 7.57:1 | AAA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 9.07:1 | AAA |
| Accent | 7.53:1 | AAA |
| Destructive | 4.98:1 | AA |
| Text on background | 19.50:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 7.57:1 | AAA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 10.39:1 | AAA |
| Accent | 7.53:1 | AAA |
| Destructive | 6.82:1 | AA |
Paste this into your globals.css to use Caribou in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.13 0.018 232.303);
--muted: oklch(0.955 0.003 60.246);
--muted-foreground: oklch(0.371 0 168.69);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.13 0.018 232.303);
--card: oklch(1 0 180);
--card-foreground: oklch(0.13 0.018 232.303);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.834 0.073 241.648);
--primary-foreground: oklch(0.322 0.075 246.81);
--secondary: oklch(0.853 0.074 58.958);
--secondary-foreground: oklch(0.343 0.078 53.009);
--accent: oklch(0.853 0.074 58.958);
--accent-foreground: oklch(0.343 0.078 53.009);
--destructive: oklch(0.565 0.192 35.912);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.834 0.073 241.648);
--chart-1: oklch(0.834 0.073 241.648);
--chart-2: oklch(0.853 0.074 58.958);
--chart-3: oklch(0.853 0.074 58.958);
--chart-4: oklch(0.874 0.063 59.217);
--chart-5: oklch(0.834 0.076 241.709);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.114 0.009 234.938);
--foreground: oklch(0.985 0.001 240.304);
--muted: oklch(0.17 0.004 59.962);
--muted-foreground: oklch(0.805 0 169.695);
--popover: oklch(0.114 0.009 234.938);
--popover-foreground: oklch(0.985 0.001 240.304);
--card: oklch(0.114 0.009 234.938);
--card-foreground: oklch(0.985 0.001 240.304);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.834 0.073 241.648);
--primary-foreground: oklch(0.322 0.075 246.81);
--secondary: oklch(0.853 0.074 58.958);
--secondary-foreground: oklch(0.343 0.078 53.009);
--accent: oklch(0.853 0.074 58.958);
--accent-foreground: oklch(0.343 0.078 53.009);
--destructive: oklch(0.684 0.202 38.47);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.834 0.073 241.648);
--chart-1: oklch(0.834 0.073 241.648);
--chart-2: oklch(0.853 0.074 58.958);
--chart-3: oklch(0.853 0.074 58.958);
--chart-4: oklch(0.874 0.063 59.217);
--chart-5: oklch(0.834 0.076 241.709);
}