theme prop of PrimerCheckoutProvider:
Every token is a number in React Native layout units. You set only the tokens you want to change. The defaults are the same in light and dark mode.
Set tokens for each mode under
light and dark.
radii
sizes
widths
An input’s border is drawn inside the field, so a thicker border reduces the padding instead of adding height.
Override shape tokens
theme to PrimerCheckoutProvider. To change the radius or border of one input only, use the borderRadius, borderWidth, focusedBorderWidth and errorBorderWidth keys of its PrimerTextInputTheme. See Card inputs.
See also
PrimerThemeOverride
Apply a theme, choose light or dark mode and read tokens with usePrimerTheme.
Color tokens
All 32 colors with their light and dark defaults.
Spacing tokens
The padding and gap scale.
Typography tokens
The brand font and the six text styles.