# HostedPageThemeOverrideDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

The look a session lays over its hosted page's theme. Every member is optional: one you set replaces
the page's value for this session only, and one you leave out follows the page.

## Fields
- `backColor` (string): The page background color, in hex. (nullable, pattern ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$)
- `fontColor` (string): The body text color, in hex. (nullable, pattern ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$)
- `font` (string): The body font family name, for example `Open Sans`. (nullable, max length 50, pattern ^[A-Za-z][A-Za-z0-9 \-]*$)
- `fontSize` (integer(int32)): The body font size, in pixels. (nullable, min 8, max 48)
- `headerBackColor` (string): The header background color, in hex. (nullable, pattern ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$)
- `headerBorderColor` (string): The header border color, in hex. (nullable, pattern ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$)
- `headerFont` (string): The header font family name. (nullable, max length 50, pattern ^[A-Za-z][A-Za-z0-9 \-]*$)
- `headerFontColor` (string): The header text color, in hex. (nullable, pattern ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$)
- `headerFontSize` (integer(int32)): The header font size, in pixels. (nullable, min 8, max 72)
- `panelBackColor` (string): The panel background color, in hex. (nullable, pattern ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$)
- `panelBorderColor` (string): The panel border color, in hex. (nullable, pattern ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$)
- `inputFieldBackgroundColor` (string): The input field background color, in hex. (nullable, pattern ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$)
- `inputFieldBackgroundFocusColor` (string): The input field background color while the field has focus, in hex. (nullable, pattern ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$)
- `inputFieldBorderColor` (string): The input field border color, in hex. (nullable, pattern ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$)
- `inputFieldFontColor` (string): The input field text color, in hex. (nullable, pattern ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$)
- `inputFieldFontSize` (integer(int32)): The input field font size, in pixels. (nullable, min 8, max 48)
- `buttonColor` (string): The button color, in hex. (nullable, pattern ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$)
- `buttonBorderColor` (string): The button border color, in hex. (nullable, pattern ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$)
- `inputFieldHeight` (integer(int32)): The input field height, in pixels, from 28 to 72. Applies to a session created with `formDisplay: "CardFieldsOnly"`; every other form display ignores it. (nullable, min 28, max 72)
- `inputFieldBorderWidth` (integer(int32)): The input field border width, in pixels, from 0 to 4. A field keeps its focus ring at 0. Applies to a card-fields-only session; every other form display ignores it. (nullable, min 0, max 4)
- `inputFieldBorderRadius` (integer(int32)): The input field corner radius, in pixels, from 0 to 24. Applies to a card-fields-only session; every other form display ignores it. (nullable, min 0, max 24)
- `inputFieldPaddingX` (integer(int32)): The input field's left and right padding, in pixels, from 0 to 32. Applies to a card-fields-only session; every other form display ignores it. (nullable, min 0, max 32)
- `inputFieldBorderFocusColor` (string): The input field border color while the field has focus, in hex. Applies to a card-fields-only session; every other form display ignores it. (nullable, pattern ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$)
- `fieldGap` (integer(int32)): The space between the card fields, in pixels, from 0 to 32. Setting it draws the card number, expiry and CVV as separate inputs, each with its own border; leaving it out keeps them as one grouped block. Applies to a card-fields-only session; every other form display ignores it. (nullable, min 0, max 32)

## See also

- [All documentation](https://docs.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
