Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants