#makkaaaa
1 messages · Page 1 of 1 (latest)
Looking in to this, I think it uses the Appearance API for this
Can you try passing the night theme when instantiating Elements like in this doc? https://stripe.com/docs/elements/appearance-api?platform=web#theme
Ok. Will try it, thanks.
The appearance API doesn't seem to be available as this ```const { clientSecret } = await response.json();
const appearance = {
theme: "night",
};
const checkout = await stripe.initEmbeddedCheckout({
clientSecret,
appearance,
});
My apologies, I forgot that that was not an element. Looking in to this further
For Checkout it looks like we always use your branding settings https://stripe.com/docs/payments/checkout/customization#branding
thank you