Skip to content

Commit

Permalink
fix(a11y): Use darker text for Breadcrumb.Items, resolves #102
Browse files Browse the repository at this point in the history
`Breadcrumb.Item`s with no link (`href`) specified
have insufficient contrast using the old color.
  • Loading branch information
tulup-conner authored and rluders committed Jun 8, 2022
1 parent 17f5e8e commit b6fcf6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/theme/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default {
base: 'group flex items-center',
chevron: 'mx-1 h-6 w-6 text-gray-400 group-first:hidden md:mx-2',
href: {
off: 'flex items-center text-sm font-medium text-gray-400 dark:text-gray-500',
off: 'flex items-center text-sm font-medium text-gray-500 dark:text-gray-400',
on: 'flex items-center text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white',
},
icon: 'mr-2 h-4 w-4',
Expand Down

0 comments on commit b6fcf6a

Please sign in to comment.