Bob is a shadcn/ui theme built around a cyan primary color (#4ad1de) with red accents (#de564a). The light mode uses a neutral background (#fbfefe). Dark mode keeps the cyan primary (#4ad1de) on a cyan-tinted background (#040b0c).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #040b0cblack |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #f7fcfdghostwhite | #050f10black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7fcfdghostwhite | #050f10black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #4ad1demediumturquoise | #4ad1demediumturquoise |
| Primary foreground | #000000black | #000000black |
| Secondary | #de564aindianred | #de564aindianred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ede4e3linen | #1c1312black |
| Muted foreground | #4d3e3ddarkslategray | #c2b3b2silver |
| Accent | #de564aindianred | #de564aindianred |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #9c1e02darkred | #fc4e27tomato |
| Destructive foreground | #fedad2bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4ad1demediumturquoise | #4ad1demediumturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.65:1 | AAA |
| Text on card | 20.31:1 | AAA |
| Primary button | 11.51:1 | AAA |
| Secondary button | 3.79:1 | AA Large |
| Muted text | 8.12:1 | AAA |
| Accent | 3.79:1 | AA Large |
| Destructive | 6.22:1 | AA |
| Text on background | 19.48:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 11.51:1 | AAA |
| Secondary button | 3.79:1 | AA Large |
| Muted text | 9.02:1 | AAA |
| Accent | 3.79:1 | AA Large |
| Destructive | 3.36:1 | AA Large |
Paste this into your globals.css to use Bob in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 203.557);
--foreground: oklch(0 0 0);
--muted: oklch(0.926 0.009 23.679);
--muted-foreground: oklch(0.379 0.021 24.22);
--popover: oklch(0.988 0.005 203.533);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.005 203.533);
--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.795 0.116 203.779);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.63 0.172 28.152);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.63 0.172 28.152);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.45 0.164 32.971);
--destructive-foreground: oklch(0.916 0.042 32.744);
--ring: oklch(0.795 0.116 203.779);
--chart-1: oklch(0.795 0.116 203.779);
--chart-2: oklch(0.63 0.172 28.152);
--chart-3: oklch(0.63 0.172 28.152);
--chart-4: oklch(0.651 0.16 27.542);
--chart-5: oklch(0.801 0.119 203.871);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.014 201.632);
--foreground: oklch(0.993 0.001 203.573);
--muted: oklch(0.198 0.014 24.419);
--muted-foreground: oklch(0.78 0.018 23.811);
--popover: oklch(0.157 0.016 202.412);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.157 0.016 202.412);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.795 0.116 203.779);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.63 0.172 28.152);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.63 0.172 28.152);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.665 0.216 33.838);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.795 0.116 203.779);
--chart-1: oklch(0.795 0.116 203.779);
--chart-2: oklch(0.63 0.172 28.152);
--chart-3: oklch(0.63 0.172 28.152);
--chart-4: oklch(0.651 0.16 27.542);
--chart-5: oklch(0.801 0.119 203.871);
}