Skip to content

Button - change isFilled by background color #3670

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 2, 2025

Conversation

adids1221
Copy link
Contributor

@adids1221 adids1221 commented Apr 1, 2025

Description

Refactor Button component to determine filled state by background color instead of checking outline and link props.
This is fixing an issue when button has backgroundColor and icon in disabled mode, the Icon should be in the same color of the label if there is a background.

Changelog

Refactor Button component to determine filled state by background color

Additional info

MADS-4506

@Inbal-Tish Inbal-Tish assigned adids1221 and unassigned Inbal-Tish Apr 2, 2025
@adids1221 adids1221 requested a review from Inbal-Tish April 2, 2025 06:53
@adids1221 adids1221 assigned Inbal-Tish and unassigned adids1221 Apr 2, 2025
@Inbal-Tish Inbal-Tish assigned adids1221 and unassigned Inbal-Tish Apr 2, 2025
@Inbal-Tish Inbal-Tish changed the title Refactor Button component to determine filled state by background color Button - change isFilled by background color Apr 2, 2025
@Inbal-Tish Inbal-Tish merged commit b665aec into master Apr 2, 2025
1 check passed
@Inbal-Tish Inbal-Tish deleted the fix/Button_isFiled_refcator branch April 2, 2025 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants