bennypowers / stripe-elements

Custom Element Wrapper for Stripe.js v3 Elements
https://stripe-elements.netlify.app/
79 stars 20 forks source link

Add custom property to customize placeholder text color #41

Open lpellegr opened 4 years ago

lpellegr commented 4 years ago

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 commented 4 years ago

Should also add one for padding

bennypowers commented 4 years ago

I see we're missing also