Skip to content

CardPayment styling not working #106

Closed Answered by meliguicarvalho
jcmujica asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jcmujica
Thank you very much for contacting us!

We have reviewed your issue and it seems to be connected to some aspect of your integration we do not have access to.

Please download this very project and run the storybook.

keep in mind that to run the storybook you will need node 16

Once the Storybook is running, you can the following customization to the CardPaymentBrick/1-Customization file.

const customization = {
    paymentMethods: {
      minInstallments: 2,
      maxInstallments: 4,
    },
    visual: {
      style: {
        theme: 'dark',
        customVariables: { formBackgroundColor: 'black', inputBackgroundColor: 'black' },
      },
      hidePaymentButton: true,
    },
  …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by icaldana
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants