Skip to content
Last updated

Create custom Hosted Pages

In the Dashboard, go to Settings > Configuration > Web App V1: CSS to add/change your customization settings.

Under Settings you can change the following elements in Token.io's HP:

Configures the TPP logo for the HP.

Click the Choose file button, and select a file from the File explorer.

The selected image:

  • can have a can have a maximum size of 250 px (width) by 23 px (height); 220 x 20 px is commonly used.

  • will appear in the HP as the TPP’s logo unless Product Name has been set under the Web App - General tab.

  • can be tagged as {TPP_LOGO} throughout other HP configuration fields in the Dashboard.

Font family

Configures the global font family for the HP.

Select the font family among the listed values in the Font Family dropdown.

Styles

Configures the text and button styles for the HP.

The following styles can be configured.

StyleConfiguration
TitleA color configuration for titles displayed in the global font family.
TextA color configuration for special text and links displayed in the global font family.
Normal 1A color configuration for default text on the HP consent page.
SpinnerA color configuration used for the spinners in the HP.
LinkA text color configuration used for links in the HP.
Primary actionsA color configuration used for primary actions such as hover on a list item and the color of an Accept button.
Background colorA color configuration used as a background color for lists in the HP.
Primary text colorA text color configuration used for the primary text for all primary actions in the HP.
Secondary ActionsA color configuration used for secondary actions.
Secondary text colorA text color configuration which is used for secondary text, for example, the label of a secondary button.
BordersA color configuration for borders in the HP.
Heading 2 & 3A text color configuration used for sub title text in the HP.
Normal 2A text color configuration which is used for consent texts.
Button Primary FocusA color configuration which only appears in the background of a primary button when the user tries to focus on it in the HP.
Button Primary PressA color configuration which will only appear in the background of a primary button when the user tries to click it in the HP.
Button Primary HoverA color configuration which will only appear in the background of a primary button when the user tries to hover over it in the HP.
Button Secondary FocusA color configuration which only appears in the background of a secondary button when the user tries to focus on it in the HP.
Button Secondary PressA color configuration which will only appear in the background of a secondary button when the user tries to click it in the HP.
Button Secondary HoverA color configuration which will only appear in the background of a secondary button when the user tries to hover over it in the HP.
Delete ActionsA color configuration for delete actions in the HP.
Button Delete HoverA color configuration which will only appear in the background of an error button when the user tries to hover over it in the HP.
Button Delete PressA color configuration which only appears in the background of an error button when the user tries to click it in the HP.
Button Delete FocusA color configuration which only appears in the background of an error button when the user tries to focus on it in the HP.
Button Focus Color OutlineA color configuration used to configure the focus outline color for actionable items in the HP.

Font weights

Configures the weight of the fonts for text in the HP.

The following font weights can be configured.

Font weightConfiguration
BoldA font weight configuration generally used for Product Name and Title texts.
Semi BoldA font weight configuration generally used for sub-title texts.
DarkA font weight configuration used for consent details in the HP.
MediumA font weight configuration used for consent data titles in the HP.
RegularA font weight configuration used on list items, recent banks text, etc .
LightA font weight configuration used in consent texts in the HP.

Font sizes

Configures the size of the fonts for text in the HP.

Font weightConfiguration
Heading 1This size is used in Product Name texts as well as in the titles of HP.
Heading 2This size is used in text inputs like IBAN and for selected items from lists.
Heading 3This font size is used in sub titles and for consent details.
Normal 1This font size is mainly used in consent-data-titles.
Normal 2This font size is used in consent texts and on back button texts in the HP.

If you have any feedback about the developer documentation, please contact devdocs@token.io