Skip to content

Commit

Permalink
fix(breadcrumb): dark mode separator visible (#2920)
Browse files Browse the repository at this point in the history
  • Loading branch information
NWYLZW authored May 23, 2024
1 parent 227a3d3 commit 0122e61
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 51 deletions.
4 changes: 1 addition & 3 deletions src/breadcrumb/BreadcrumbItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ const BreadcrumbItem = forwardRef<HTMLDivElement, BreadcrumbItemProps>((props, r
}

const separatorInProps = parseTNode(separator);
const separatorContent = separatorInProps || separatorInContext || (
<ChevronRightIcon style={{ color: 'rgba(0,0,0,.3)' }} />
);
const separatorContent = separatorInProps || separatorInContext || <ChevronRightIcon style={{ opacity: '.5' }} />;

const handleClick = (e: React.MouseEvent<HTMLDivElement>) => {
if (disabled) return;
Expand Down
Loading

0 comments on commit 0122e61

Please sign in to comment.