Skip to content

Commit

Permalink
Merge pull request #33252 from mkhutornyi/fix-33095
Browse files Browse the repository at this point in the history
fix button icon style in light theme
  • Loading branch information
grgia authored Jan 3, 2024
2 parents b097996 + 5bb8e76 commit 4ff30c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ function Button(
<View style={[styles.mr1, iconStyles]}>
<Icon
src={icon}
fill={iconFill ?? theme.textLight}
fill={iconFill ?? (success || danger ? theme.textLight : theme.icon)}
small={small}
/>
</View>
Expand All @@ -232,7 +232,7 @@ function Button(
<View style={[styles.justifyContentCenter, styles.ml1, iconRightStyles]}>
<Icon
src={iconRight}
fill={iconFill ?? theme.textLight}
fill={iconFill ?? (success || danger ? theme.textLight : theme.icon)}
small={small}
/>
</View>
Expand Down

0 comments on commit 4ff30c7

Please sign in to comment.