#sb-paymentelement-appearance
1 messages · Page 1 of 1 (latest)
Disregard second part,
const appearance = {
theme: 'stripe',
variables: {
},
rules: {
'.Label': {
color: 'hsla(0, 0%, 10%, 0.7)',
},
}
}
did the trick
sb-paymentelement-appearance
We don't have any pre-defined styles for PaymentElement that match Checkout no
I don't really understand your question and what you tried exactly.
I've just been manually recreating the look, and just now I tried to apply 'rules' https://stripe.com/docs/elements/appearance-api#rules, which wasn't working, but I figured it out
but yes basically my question was just about predefined styles
that's fine, I can just apply rules
thanks