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 custom property to customize placeholder text color #41

Open
lpellegr opened this issue Feb 21, 2020 · 2 comments
Open

Add custom property to customize placeholder text color #41

lpellegr opened this issue Feb 21, 2020 · 2 comments

Comments

@lpellegr
Copy link

lpellegr commented Feb 21, 2020

While investigating the use of this library, I noticed there is no custom property available to customize the color of the text used as a placeholder in Stripe Elements input texts. However, the Stripe examples show that styling for this use case is supported:

https://github.com/stripe/elements-examples/blob/master/js/example2.js#L43

It looks like a common use case when integrating elements in an existing UI.

@bennypowers
Copy link
Owner

Should also add one for padding

@bennypowers
Copy link
Owner

I see we're missing also

  • fontStyle
  • fontWeight
  • text_align
  • padding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants