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

feat: add textColor prop for input content text custom color #3411

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

lukewalczak
Copy link
Member

@lukewalczak lukewalczak commented Oct 12, 2022

Summary

TextInput component in v5 is using two different theme colors for text content within TextInput:

  • flat input - onSurfaceVariant
  • outlined input - onSurface

To simplify overriding it new prop is going to be introduced called textColor.

Related issue

Test plan

Covered by unit tests

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here

.

@lukewalczak lukewalczak force-pushed the feat/add-prop-for-custom-text-color-in-input branch from 20879d0 to 15ff65e Compare October 17, 2022 08:57
@callstack-bot
Copy link

Hey @lukewalczak, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here

.

@lukewalczak lukewalczak merged commit 6de64d0 into main Oct 17, 2022
@lukewalczak lukewalczak deleted the feat/add-prop-for-custom-text-color-in-input branch October 17, 2022 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants