Skip to content

Commit 7e8ba4e

Browse files
authored
fix: this issue of wrong color for dark mode (AppFlowy-IO#62)
1 parent 8270a66 commit 7e8ba4e

File tree

1 file changed

+6
-2
lines changed
  • src/components/editor/components/toolbar/selection-toolbar/actions

1 file changed

+6
-2
lines changed

src/components/editor/components/toolbar/selection-toolbar/actions/ActionButton.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ const ActionButton = forwardRef<
1212
} & IconButtonProps
1313
>(({ tooltip, onClick, disabled, children, active, className, ...props }, ref) => {
1414
return (
15-
<Tooltip disableInteractive={true} placement={'top'} title={tooltip}>
15+
<Tooltip
16+
disableInteractive={true}
17+
placement={'top'}
18+
title={tooltip}
19+
>
1620
<IconButton
1721
ref={ref}
1822
onClick={onClick}
@@ -24,7 +28,7 @@ const ActionButton = forwardRef<
2428
{...props}
2529
className={`${
2630
className ?? ''
27-
} bg-transparent px-1 py-1 text-icon-on-toolbar hover:bg-transparent hover:text-fill-hover`}
31+
} bg-transparent px-1 py-1 text-icon-on-toolbar hover:bg-transparent hover:text-fill-default`}
2832
>
2933
{children}
3034
</IconButton>

0 commit comments

Comments
 (0)