Skip to content

Commit

Permalink
Disable default styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewc committed Jul 12, 2024
1 parent defb33e commit 5d0fb2e
Showing 1 changed file with 30 additions and 28 deletions.
58 changes: 30 additions & 28 deletions packages/example/src/screens/CheckoutScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,34 +261,36 @@ const CheckoutScreen = (props: any) => {
isSuccessScreenEnabled: true,
isErrorScreenEnabled: true,
theme: {
colors: {
mainColor: {
red: 214,
green: 255,
blue: 1,
alpha: 255
},
background: {
red: 255,
green: 214,
blue: 1,
alpha: 255
}
},
darkModeColors: {
mainColor: {
red: 1,
green: 255,
blue: 1,
alpha: 255
},
background: {
red: 255,
green: 1,
blue: 255,
alpha: 255
}
}
// 👇 Uncomment to try theming drop-in checkout

// colors: {
// mainColor: {
// red: 214,
// green: 255,
// blue: 1,
// alpha: 255
// },
// background: {
// red: 255,
// green: 214,
// blue: 1,
// alpha: 255
// }
// },
// darkModeColors: {
// mainColor: {
// red: 1,
// green: 255,
// blue: 1,
// alpha: 255
// },
// background: {
// red: 255,
// green: 1,
// blue: 255,
// alpha: 255
// }
// }
}
},
debugOptions: {
Expand Down

0 comments on commit 5d0fb2e

Please sign in to comment.