Skip to content
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

Add textColor to Button color prop #364

Merged
merged 5 commits into from
Sep 21, 2023
Merged

Conversation

juliewongbandue
Copy link
Collaborator

@juliewongbandue juliewongbandue commented Sep 19, 2023

What this PR does

Adds ability to specify textColor for button to support button customization.
Storybook

Screenshots & Recordings

Screenshot 2023-09-21 at 9 56 04 AM

How it does that

Adds textColor to color prop. If only color is provided, returns a readable text color based on the color provided.

@juliewongbandue juliewongbandue merged commit f20362f into main Sep 21, 2023
7 checks passed
@juliewongbandue juliewongbandue deleted the button-style-accessibility branch September 21, 2023 15:07
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