Teammate is a shadcn/ui theme built around a blue primary color (#23457b) with orange accents (#7b5923). The light mode uses a neutral background (#f7f9fc). Dark mode keeps the blue primary (#23457b) on a neutral background (#020204).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f9fcghostwhite | #020204black |
| Foreground | #03070dblack | #fcfcfdwhite |
| Card | #f7f9fcghostwhite | #020204black |
| Card foreground | #03070dblack | #fcfcfdwhite |
| Popover | #f7f9fcghostwhite | #020204black |
| Popover foreground | #03070dblack | #fcfcfdwhite |
| Primary | #23457bdarkslateblue | #23457bdarkslateblue |
| Primary foreground | #dbe5f5lavender | #dbe5f5lavender |
| Secondary | #7b5923saddlebrown | #7b5923saddlebrown |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eeedeclinen | #131211black |
| Muted foreground | #615f5cdimgray | #a3a19edarkgray |
| Accent | #7b5923saddlebrown | #7b5923saddlebrown |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #7e1e01maroon | #fd6030tomato |
| Destructive foreground | #fec5b3lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #23457bdarkslateblue | #23457bdarkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.19:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 7.50:1 | AAA |
| Secondary button | 6.33:1 | AA |
| Muted text | 5.45:1 | AA |
| Accent | 6.33:1 | AA |
| Destructive | 6.65:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 7.50:1 | AAA |
| Secondary button | 6.33:1 | AA |
| Muted text | 7.26:1 | AAA |
| Accent | 6.33:1 | AA |
| Destructive | 6.88:1 | AA |
Paste this into your globals.css to use Teammate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 259.939);
--foreground: oklch(0.123 0.018 251.055);
--muted: oklch(0.947 0.002 79.931);
--muted-foreground: oklch(0.486 0.006 79.908);
--popover: oklch(0.982 0.005 259.939);
--popover-foreground: oklch(0.123 0.018 251.055);
--card: oklch(0.982 0.005 259.939);
--card-foreground: oklch(0.123 0.018 251.055);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.394 0.101 259.495);
--primary-foreground: oklch(0.919 0.024 259.944);
--secondary: oklch(0.49 0.084 76.246);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.49 0.084 76.246);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.393 0.135 35.495);
--destructive-foreground: oklch(0.87 0.07 37.598);
--ring: oklch(0.394 0.101 259.495);
--chart-1: oklch(0.394 0.101 259.495);
--chart-2: oklch(0.49 0.084 76.246);
--chart-3: oklch(0.49 0.084 76.246);
--chart-4: oklch(0.523 0.09 76.14);
--chart-5: oklch(0.393 0.106 259.514);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.008 254.321);
--foreground: oklch(0.992 0.001 259.935);
--muted: oklch(0.183 0.002 79.906);
--muted-foreground: oklch(0.711 0.006 79.92);
--popover: oklch(0.088 0.008 254.321);
--popover-foreground: oklch(0.992 0.001 259.935);
--card: oklch(0.088 0.008 254.321);
--card-foreground: oklch(0.992 0.001 259.935);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.394 0.101 259.495);
--primary-foreground: oklch(0.919 0.024 259.944);
--secondary: oklch(0.49 0.084 76.246);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.49 0.084 76.246);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.687 0.201 36.83);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.394 0.101 259.495);
--chart-1: oklch(0.394 0.101 259.495);
--chart-2: oklch(0.49 0.084 76.246);
--chart-3: oklch(0.49 0.084 76.246);
--chart-4: oklch(0.523 0.09 76.14);
--chart-5: oklch(0.393 0.106 259.514);
}