Breadcrumb is a shadcn/ui theme built around a muted light cyan primary color (#e5e9eb) with muted light blue accents (#e5e6eb). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted light cyan primary (#e5e9eb) on a cyan-tinted background (#040c10).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #040c10black |
| Foreground | #010304black | #f8fafbghostwhite |
| Card | #fbfdfewhite | #040c10black |
| Card foreground | #010304black | #f8fafbghostwhite |
| Popover | #fbfdfewhite | #040c10black |
| Popover foreground | #010304black | #f8fafbghostwhite |
| Primary | #e5e9eblavender | #e5e9eblavender |
| Primary foreground | #465359darkslategray | #465359darkslategray |
| Secondary | #e5ebealavender | #e5ebealavender |
| Secondary foreground | #465955darkslategray | #465955darkslategray |
| Muted | #e3e8e7gainsboro | #171c1bblack |
| Muted foreground | #596462dimgray | #9ba6a4darkgray |
| Accent | #e5e6eblavender | #e5e6eblavender |
| Accent foreground | #464959darkslategray | #464959darkslategray |
| Destructive | #a21e07firebrick | #f63e1eorangered |
| Destructive foreground | #fee2ddmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e5e9eblavender | #e5e9eblavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.25:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 6.51:1 | AA |
| Secondary button | 6.16:1 | AA |
| Muted text | 4.96:1 | AA |
| Accent | 7.16:1 | AAA |
| Destructive | 6.31:1 | AA |
| Text on background | 18.79:1 | AAA |
| Text on card | 18.79:1 | AAA |
| Primary button | 6.51:1 | AA |
| Secondary button | 6.16:1 | AA |
| Muted text | 6.86:1 | AA |
| Accent | 7.16:1 | AAA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Breadcrumb in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 226.883);
--foreground: oklch(0.093 0.009 221.2);
--muted: oklch(0.927 0.006 184.134);
--muted-foreground: oklch(0.493 0.014 183.519);
--popover: oklch(0.993 0.002 226.883);
--popover-foreground: oklch(0.093 0.009 221.2);
--card: oklch(0.993 0.002 226.883);
--card-foreground: oklch(0.093 0.009 221.2);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.932 0.005 226.918);
--primary-foreground: oklch(0.432 0.019 227.497);
--secondary: oklch(0.935 0.006 184.139);
--secondary-foreground: oklch(0.445 0.024 182.794);
--accent: oklch(0.926 0.006 276.079);
--accent-foreground: oklch(0.408 0.026 275.23);
--destructive: oklch(0.461 0.17 31.905);
--destructive-foreground: oklch(0.933 0.032 29.622);
--ring: oklch(0.932 0.005 226.918);
--chart-1: oklch(0.932 0.005 226.918);
--chart-2: oklch(0.935 0.006 184.139);
--chart-3: oklch(0.926 0.006 276.079);
--chart-4: oklch(0.957 0.004 184.2);
--chart-5: oklch(0.932 0.006 226.934);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.149 0.016 225.22);
--foreground: oklch(0.985 0.002 226.888);
--muted: oklch(0.222 0.009 183.242);
--muted-foreground: oklch(0.717 0.013 183.816);
--popover: oklch(0.149 0.016 225.22);
--popover-foreground: oklch(0.985 0.002 226.888);
--card: oklch(0.149 0.016 225.22);
--card-foreground: oklch(0.985 0.002 226.888);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.932 0.005 226.918);
--primary-foreground: oklch(0.432 0.019 227.497);
--secondary: oklch(0.935 0.006 184.139);
--secondary-foreground: oklch(0.445 0.024 182.794);
--accent: oklch(0.926 0.006 276.079);
--accent-foreground: oklch(0.408 0.026 275.23);
--destructive: oklch(0.639 0.224 32.223);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.932 0.005 226.918);
--chart-1: oklch(0.932 0.005 226.918);
--chart-2: oklch(0.935 0.006 184.139);
--chart-3: oklch(0.926 0.006 276.079);
--chart-4: oklch(0.957 0.004 184.2);
--chart-5: oklch(0.932 0.006 226.934);
}