#Magic Mage
1 messages ยท Page 1 of 1 (latest)
karbi had to step out, but I can help
Ah ok
Not theming elements just uses our default styling
Recommend you try all this out in test mode to play around with things
ok, and yeah it would be nice to have it all use the slate theme we use.
(https://bootswatch.com/slate/ is where we got it)
You would need to mess around with the Appearance API to achieve this: https://stripe.com/docs/elements/appearance-api
I see
perhaps slate can be added to that api so I do not have to manually pass in color values and pray that I got the color just right ๐ .
I would say it's not too likely that another preset would be added
You're always welcome to request a feature from our support team: https://support.stripe.com
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
But highly unlikely that would be added honestly. You would save more time implementing yourself by passing in the colors
Maybe you could reach out to that theme owner for the hex values of the colors
hmm yeah, as bootstrap themes tend to be about 10k lines or more.
Yeah i mean if it's open source, then you could find it yourself, but I have no idea whether it is or not
same, no idea if that theme is either.
oh wait it looks like it was made by the person who made bootswatch.
oh wait so there is a way to prefill the email on the embedded ui? That will work for us ๐.
You're using the Payment Element? If so, yes: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-defaultValues-billingDetails-email