Skip to content

Customization

Overview

The SDK offers a flexible and modular customization system designed to adapt to your brand identity, user needs, and accessibility standards—whether you're launching a quick integration or implementing a deeply tailored experience. A key advantage of this system is that you can start broad and refine as needed. Begin by applying global changes to colors, typography, and styles at the theme level. Then, if needed, progressively fine-tune individual components or interactive states. Each section supports partial configuration—you only need to override the values that are relevant for your use case. Any keys left undefined will automatically fall back to the SDK’s default values, ensuring robustness and ease of maintenance. This approach enables teams to deliver a cohesive, accessible, and brand-aligned experience with minimal effort, while still offering full control for advanced customization.

The sections that follow detail how to configure:

  • Texts (labels, messages, instructions, accessibility strings)
  • Media (illustrations and image assets per screen)
  • Styles (design tokens, layout, colors, and typography)
  • Components (buttons, header, spinner, modals, calendar and more)

With this structure, you can create a customized user experience that feels natively integrated into your product—without sacrificing speed or maintainability.

Texts

The system also provides flexible control over the text content displayed throughout the interface. Instead of editing hardcoded labels or messages in multiple places, you can configure all user-facing texts from a centralized section. This approach allows you to easily adapt the language to suit your brand tone, localization needs, or specific use cases, whether it's updating button labels, instructions, error messages, or screen titles. By modifying just a few key parameters, you can ensure that the entire experience feels cohesive, consistent, and aligned with the expectations of your users.

Below is the full JSON structure containing all the configurable text elements used throughout the interface. This includes everything from screen titles and helper messages to button text and accessibility descriptions.

⬇ Download English Texts

⬇ Download Spanish Texts

The texts are organized in the following sections:

Section
Content
common Texts shared by all screens: exit confirmation modal, the alternative texts of the logo, the close button, the modals and the text fields, and the date picker (its select and cancel buttons and the alternative texts of its arrows).
instructions Instructions screen, including the prompt shown when NFC is switched off (activateNfc).
formNoData Document data form: title, fields with their labels, placeholders and helper texts, and the "Can't find the number?" help modal.
reading Reading screen, one entry per stage: presentation (bring the document closer), inProgress (reading) and success.
error Feedback screens: readingFailed, timeout, unsupportedDocument, nfcDisabled and focusLoss, and wrongKey (wrong document data, shown on the form, with its variants afterForm, afterOcr and withCan).

You are not required to modify the entire structure. The configuration supports partial overrides; if a key is not redefined, the SDK falls back to the default value in the language set in language.

This gives you full control over the messaging without unnecessary complexity, making it easier to maintain consistency and adapt the interface to your product's voice and audience.

Texts of the date picker

The date picker opened from the date fields of the form (its select and cancel buttons and the alternative texts of its arrows) is not part of texts: they cannot be customized yet.

HTML in texts

Take into account that ASCII codes (for example \n) will not be interpreted and will be shown as-is. Only some HTML tags can be used in section titles and subtitles to better adapt the messaging. If an unsupported tag is included, the text will be rendered as plain text.

The list of allowed tags is as follows:

  • <b></b>
  • <i></i>
  • <br/>
  • <ul></ul>
  • <li></li>
  • <ol></ol>

Example of title and subtitle with HTML inside:

"texts": {
    "instructions": {
        "title": "Read the <b>chip</b> of your document",
        "subtitle": "<i>Follow these steps:</i> <ol><li>Remove the phone case if it is very thick.</li><li>Hold the document against the <b>back</b> of the phone, over the NFC antenna.</li><li><b>Do not move it</b> until the reading is finished.</li></ol>"
    }
}
Screen Mobile
Instructions MobileTextsInstructionsModified

Example of the document data form modified:

"texts": {
    "formNoData": {
        "title": "Enter your document data",
        "documentNumber": {
            "label": "Support number",
            "placeholder": "CAA000000",
            "helperText": {
                "error": "Enter the document number."
            }
        }
    }
}

Recommendations

Titles and Subtitles

  • Use short, direct titles that describe the expected action. ✦ Example: “Bring the document closer”, “Enter the data”
  • Subtitles can clarify the instruction with additional detail. ✦ Example: “Hold the document against the back of the phone and do not move it”
  • Maintain a clear hierarchy: bold, concise titles + informative subtitles.
  • Avoid vague labels like “Step 1” or “Instructions”.

Feedback Messages

  • Use feedback to describe progress or confirm the reading. ✦ Example: “Reading document…”, “Reading completed successfully”
  • Avoid generic phrases like “Loading…” or “Please wait”.
  • Error messages should be clear and constructive, not technical. ✦ Prefer: “Document not detected” over “NFC tag error”
  • Tell the user where the NFC antenna is. Its position changes from one phone to another, so describe how to find it (for example, "move the document slowly along the back of the phone until it is detected").

Readability and Accessibility

  • Keep texts concise and left-aligned to support scannability.
  • Avoid excessive bold, italics or styling, which can harm legibility.
  • Use simple, translatable language for localization.
  • Ensure all user-facing texts (titles, subtitles, feedback) work well with screen readers.

Media

The system also provides flexible control over the media content displayed throughout the interface.

Instead of editing media in multiple places, you can configure all images from a centralized section. By modifying just a few media, you can ensure that the entire experience feels cohesive, consistent, and aligned with the expectations of your users.

Below is the full JSON structure containing all the configurable media elements used throughout the interface.

⬇ Download Media

Key
Screen
logo Header of all screens. If it is not set, logoSmall is used instead.
logoSmall Header of all screens, when logo is not set.
instructions.mobile Instructions screen.
formNoData.findNumberHelp.modal.mobile "Can't find the number?" help modal, showing where the document number is.
reading.presentation.mobile Reading screen, waiting for the document.
reading.inProgress.mobile Reading screen, while the chip is read.
reading.success.mobile Reading screen, when the reading is completed.
error.readingFailed.mobile Feedback screen when the reading is interrupted.
error.timeout.mobile Feedback screen when the document is not detected.
error.unsupportedDocument.mobile Feedback screen when the document cannot be read by NFC.
error.nfcDisabled.mobile Feedback screen when NFC is switched off.
error.focusLoss.mobile Feedback screen when the process is interrupted because the app went to the background.
error.wrongKey.withCan.findNumberHelp.modal.mobile "Can't find the number?" help modal of the CAN form, showing where the CAN is.

Each image has its alternative text in the texts section, under the same path and the mobileMediaAltText key (for example, texts.reading.presentation.mobileMediaAltText). The alternative text of the logo is texts.common.logoAltText.

You are not required to modify the entire structure. You can override only the media entries you want and keep the defaults for the rest. If a given key is not explicitly redefined, the SDK will automatically fall back to its default value—ensuring smooth operation even with partial configurations.

This gives you full control over the media without unnecessary complexity, making it easier to maintain consistency and adapt the interface to your product's look and feel.

Example of media configuration:

"medias": {
    "instructions": {
        "mobile": "nfc_instructions"
    },
    "reading": {
        "presentation": {
            "mobile": "https://domain.com/images/nfc_reading_presentation.gif"
        }
    }
}

Recommendations

Where each image is loaded from

The value of each media entry decides where the SDK loads the image from:

Value
Loaded from
Name without extension, e.g. "nfc_instructions" A drawable resource of your app (res/drawable) with that name.
URL starting with http, e.g. "https://domain.com/image.gif" A remote image, downloaded and cached.
  • Animated GIF images are played.
  • If the value is empty or not set, the SDK default image is shown.

File format

We recommend modern formats for the best balance of quality and file size:

  • Static images: WebP, JPEG or PNG. Use PNG only if you need transparency.
  • Animated images: GIF for short, simple animations.

File weight and performance

The larger the file size, the longer it will take to load. Large files can significantly slow down the rendering of your content, especially for users on slower network connections or older devices.

Descriptive and Accessible Visuals

  • Prioritize descriptive, instructional visuals Illustrations and animations should clearly demonstrate the expected user behavior: ✦ Example: Show where to place the document on the back of the phone, and that it must stay still.
  • All media should include alternative text for screen readers Alternative text can be configured directly in the JSON text structure. These descriptions help users with visual impairments understand the context or purpose of the image or animation.
  • Make alternative text specific and actionable ✦ Example: “Identity document being placed on the back of the mobile phone” is more useful than “NFC image”.
  • Show the right specimen in the help modals The default image of formNoData.findNumberHelp.modal shows the Spanish ID 4.0. If your users read other documents, replace it and its texts (texts.formNoData.findNumberHelp.modal) with the document they will use.
  • Avoid leaving media without a text fallback When media is purely visual, ensure it doesn’t carry the sole instructional value. Pair with a textual explanation for redundancy and accessibility.
  • Looping animations should not distract Loop behavior can be helpful when the action needs to be repeated, but it should not cause visual fatigue or interfere with reading other elements on screen.

Style

The system based on design tokens transforms how you customize and manage the interface across your product.

Instead of manually overriding styles in multiple places, you can adjust a centralized set of tokens that control key visual properties such as colors, typography, and more. By updating just a few parameters, you can apply consistent branding across all components and views.

This not only helps ensure visual consistency and accessibility, but also reduces the effort and time required for implementation and future maintenance. Design tokens act as a single source of truth for your UI’s appearance, making the customization process more scalable, predictable, and easier to maintain over time.

The styles are shared with the rest of the Veridas Android SDKs, so the same styles section can be reused across all of them.

Below is the full JSON structure containing all the configurable styles used throughout the interface.

⬇ Download Styles

You are not required to modify the entire structure.

Three Levels of Customization

The customization system is structured in three progressive levels:

1. Theme Level (Global)

Apply your brand’s visual identity across the interface by adjusting a centralized set of tokens:

  • Brand colors (primary and secondary)
  • Typography (primary and secondary font families)

This is the recommended starting point for fast, system-wide consistency.

2. Component Level

Override the appearance of specific UI elements without affecting the rest of the system:

  • Header
  • Buttons (primary, secondary, tertiary, icon)
  • Spinner
  • Modals
  • Calendar

Control design tokens such as colors, borders, and icon styles at the component level.

3. Interactive States

Define how components behave visually in response to user actions, such as pressed states. Customize:

  • Backgrounds
  • Icon and text colors
  • Border styles

This level provides precision over interactive behavior and reinforces a consistent experience.

Recommendations

Add Custom Fonts to the Android Project

The font families set in font.familyPrimary and font.familySecondary are looked up in the integrating app, first as a font resource and then as an asset:

  • Font resource: add the font file to res/font and set its resource name, without the extension. For res/font/open_sans.ttf, use "open_sans".
  • Asset: add the font file to assets/fonts and set its file name, with the extension. For assets/fonts/OpenSans.ttf, use "OpenSans.ttf".

⚠️ If the font is not found, the SDK uses the default system font.

Colors

  • brandPrimaryColor: main brand color for primary actions/highlights.
  • brandSecondaryColor: secondary accent color.
  • darkTextColor: primary text color over light backgrounds.

Accessibility and Contrast

  • Validate contrast ratios after any color change.
  • Prioritize readability in body text and action buttons.

Theme Level

The first level of configuration, known as the theme level, allows you to personalize the interface by adjusting just a few key parameters related to colors and fonts.

Using the styles.theme configuration, you can define the following core design tokens:

  • darkTextColor – Main color used for high-contrast text.
  • brandPrimaryColor – Main brand color used across the UI for primary actions and highlights.
  • brandSecondaryColor – Secondary brand color used for accenting and complementary elements.
  • font.familyPrimary – The primary typeface used throughout the interface.
  • font.familySecondary – A secondary typeface for alternative or stylistic uses.

IMPORTANT

  • Any changes made to these values will have a global impact on the appearance of components across the system.
  • It's important to validate your customizations carefully to ensure they maintain a consistent and accessible user experience.

This approach provides a fast and efficient way to align the interface with your brand identity without needing to adjust individual components.

Applies to

  • darkTextColor: Titles, subtitles, form labels, helper texts and icons.
  • brandPrimaryColor: Loading spinner, background color of primary buttons, color text of secondary buttons, close button color, selected day in the calendar.
  • brandSecondaryColor: background color of secondary buttons.
  • font.familyPrimary: Titles.
  • font.familySecondary: Subtitles, buttons, form fields and helper texts.

Here is an example of how to update the parameters mentioned above.

"styles": {
    "theme": {
        "darkTextColor": "#242323",
        "brandPrimaryColor": "#A50050",
        "brandSecondaryColor": "#E5D0DA",
        "font": {
            "familyPrimary": "Arial",
            "familySecondary": "Open Sans"
        }
    }
}

Mobile

Default Customization After Customization
Instructions mobileInstructionsDefault mobileInstructionsModified
Document data form mobileFormDefault mobileFormModified
Document data form (help modal) mobileFormHelpModalDefault mobileFormHelpModalModified
Exit confirmation modal (apply all screens) mobileExitConfirmationModalDefault mobileExitConfirmationModalModified
Feedback mobileError1Default mobileError1Modified
Feedback (NFC disabled) mobileError2Default mobileError2Modified
Reading (focus loss modal) mobileFocusLossDefault mobileFocusLossModified

Component Level

While the theme level offers a fast way to globally apply brand identity, sometimes finer control is needed.

That’s where the component-level customization comes in. This second level allows you to override the styles of specific components in the interface, preserving the global theme defaults for everything else.

Using the styles.components configuration, you can target individual UI elements—such as buttons, icon buttons, spinner, modals, calendar or header—and adjust their appearance more precisely. You can define properties like colors, borders, icons, and more for each component.

IMPORTANT

  • Keep in mind that when you modify a component, the changes will apply across all views where that component is used.
  • For example, if you change the colors of the primary button, the update will reflect in every view where that button appears. It’s not possible to modify a single instance — all buttons using that parameter will be affected.

In the following section, you'll find a list of customizable components, along with the available parameters and the screens where they are applied.

The Header is a key visual and structural element within the interface. It appears at the top of the screen and contains the logo. The logo can be customised using the medias.logo and medias.logoSmall options in the configuration.

Screen Mobile
Header HeaderMobile

As explained in the configuration section, it is possible to remove the logo from the interface by adjusting the appropriate parameter. When the logo is disabled, the entire header component will be hidden from the view. If your integration does not require a logo or you prefer a more minimal interface, disabling the header can help simplify the visual layout.

Applies to

Screen Mobile
Instructions MobileInstructionsDefault
Document data form MobileFormDefault
Reading MobileReadingDefault
Feedback MobileFeedbackDefault
Feedback (NFC disabled) MobileFeedbackNfcDisabledDefault
Reading (focus loss modal) MobileFocusLossDefault
Parameter Description
borderColor Border color
borderWidth Border width
backgroundColor Background color

Example:

"styles": {
    "components": {
        "header": {
            "backgroundColor": "#E5D0DA",
            "borderColor": "#A50050",
            "borderWidth": "15px"
        }
    }
}

HeaderModified

Button

General

Applies to

All buttons

The button component allows for detailed visual customization to better match your brand identity and UI style. You can configure the following aspects individually:

  • Background color
  • Border color
  • Border width
  • Label/icon color
  • Border radius

Within the product, the following button types are supported:

  • Primary button – used for main actions
  • Secondary button – used for complementary actions
  • Tertiary button – used for cancel, exit or help actions (it also has an inverse variant)
  • Icon button – used for actions represented by an icon (e.g., closing)

Each type has its own set of customizable properties, allowing you to adjust the appearance of each variant independently. However, the borderRadius property is shared across all button types. This means that by changing it once, the same corner rounding will apply to primary, secondary, and tertiary buttons. For example, if your product design uses a flatter style, setting the borderRadius to 0 will make all buttons appear more rectangular. On the other hand, increasing this value will result in a more rounded appearance across the interface.

This flexibility lets you fine-tune the visual feel of the interface while maintaining consistency across all interactive elements.

Keep in mind that when you modify the button, the changes will apply across all views where it is used

Primary Button

This is the button used for main actions, related to starting, continuing or retrying the process.

PrimaryButtonDefault

Applies to

Screen Mobile
Instructions MobileInstructionsDefault
Document data form MobileFormDefault
Document data form (calendar) MobileCalendarDefault
Feedback MobileFeedbackDefault
Feedback (NFC disabled) MobileFeedbackNfcDisabledDefault
Reading (focus loss modal) MobileFocusLossDefault
Parameter Description
backgroundColorPrimary Background color
labelColorPrimary Label color
borderColorPrimary Border color
borderWidthPrimary Border width

Example:

"styles": {
    "components": {
        "button": {
            "backgroundColorPrimary": "#A50050",
            "labelColorPrimary": "#FFFFFF",
            "borderColorPrimary": "#E5D0DA",
            "borderWidthPrimary": "5px",
            "borderRadius": "15px"
        }
    }
}

PrimaryButtonModified

Secondary Button

Used for secondary actions (repeat).

SecondaryButtonDefault

Applies to

The secondary button is part of the shared button component, so these parameters are available to every Veridas SDK. None of the current NFC screens renders it: the second action of the NFC screens (for example Cancel) is a tertiary button.

Parameter Description
backgroundColorSecondary Background color
labelColorSecondary Label color
borderColorSecondary Border color
borderWidthSecondary Border width

Example:

"styles": {
    "components": {
        "button": {
            "backgroundColorSecondary": "#E5D0DA",
            "labelColorSecondary": "#000000",
            "borderColorSecondary": "#A50050",
            "borderWidthSecondary": "5px",
            "borderRadius": "15px"
        }
    }
}

SecondaryButtonModified

Tertiary Button

Used for secondary actions such as cancelling or asking for help (for example, the "Can't find the number?" button).

Tertiary Tertiary Inverse
TertiaryButtonDefault TertiaryInverseButtonDefault

Applies to

Screen
Mobile
Instructions MobileInstructionsDefault
Document data form MobileFormDefault
Document data form (calendar) MobileCalendarDefault
Exit confirmation modal (apply all screens) MobileExitConfirmationModalDefault
Parameter Description
backgroundColorTertiary Background color
iconColorTertiary Icon color
labelColorTertiary Label color
borderColorTertiary Border color
borderWidthTertiary Border width
backgroundColorTertiaryInverse Background color (inverse)
iconColorTertiaryInverse Icon color (inverse)
labelColorTertiaryInverse Label color (inverse)
borderColorTertiaryInverse Border color (inverse)
borderWidthTertiaryInverse Border width (inverse)

Example:

"styles": {
    "components": {
        "button": {
            "backgroundColorTertiary": "#F3F6FB",
            "iconColorTertiary": "#6D4C41",
            "labelColorTertiary": "#6D4C41",
            "borderColorTertiary": "#BCAAA4",
            "borderWidthTertiary": "5px",
            "backgroundColorTertiaryInverse": "#F7EAF2",
            "iconColorTertiaryInverse": "#C2185B",
            "labelColorTertiaryInverse": "#C2185B",
            "borderColorTertiaryInverse": "#F8BBD0",
            "borderWidthTertiaryInverse": "5px",
            "borderRadius": "15px"
        }
    }
}
Tertiary Tertiary Inverse
TertiaryButtonModified TertiaryInverseButtonModified
Interactive states (Button)

Applies to

Screen
Mobile
Instructions MobileInstructionsDefault
Document data form MobileFormDefault
Document data form (calendar) MobileCalendarDefault
Feedback MobileFeedbackDefault
Feedback (NFC disabled) MobileFeedbackNfcDisabledDefault
Reading (focus loss modal) MobileFocusLossDefault
Exit confirmation modal (apply all screens) MobileExitConfirmationModalDefault

The SDK allows you to customize the interactive states of buttons—such as the pressed state—through a set of general-purpose color overlay parameters:

Parameter Description
colorDefaultPressed Pressed color
colorInversePressed Pressed color inverse

These parameters apply a semi-transparent color layer over the button's base style during interaction. This is useful for creating subtle feedback without redefining the full component style.

Default behavior

Primary buttons use a light semi-transparent overlay on top of their background (colorInversePressed).

Secondary and tertiary buttons, and the icon button, use a dark overlay to create a stronger contrast on interaction (colorDefaultPressed).

This approach offers a quick and effective way to visually distinguish interactive states with minimal configuration effort.

When to use these parameters

Use the colorDefault and colorInverse values when:

  • You want to maintain the button’s base appearance.
  • You just need a consistent visual cue (e.g., a light/dark tint when pressed).
  • You prefer not to modify background, text, or borders individually.
When to use specific parameters instead

If you want full control over the button’s appearance during interactive states (e.g., change text color, background color, borders, etc.), you should use the dedicated interaction parameters available for each button type (styles.components.button.interactiveStates):

  • backgroundColorPrimaryPressed, labelColorPrimaryPressed, etc.
  • These allow granular changes to every visual aspect of the button.

This distinction gives you the flexibility to:

  • Apply a fast, unified effect across buttons using overlay colors, or
  • Create custom interaction styles on a per-component basis when needed.

Below is a comprehensive list of all the properties that can be customized for the button component.

Parameter Description
backgroundColorPrimaryPressed Background color when pressed
labelColorPrimaryPressed Label color when pressed
borderColorPrimaryPressed Border color when pressed
borderWidthPrimaryPressed Border width when pressed
backgroundColorSecondaryPressed Background color when pressed
labelColorSecondaryPressed Label color when pressed
borderColorSecondaryPressed Border color when pressed
borderWidthSecondaryPressed Border width when pressed
backgroundColorTertiaryPressed Background color when pressed
iconColorTertiaryPressed Icon color when pressed
labelColorTertiaryPressed Label color when pressed
borderColorTertiaryPressed Border color when pressed
borderWidthTertiaryPressed Border width when pressed
backgroundColorTertiaryInversePressed Background color inverse when pressed
iconColorTertiaryInversePressed Icon color inverse when pressed
labelColorTertiaryInversePressed Label color inverse when pressed
borderColorTertiaryInversePressed Border color inverse when pressed
borderWidthTertiaryInversePressed Border width inverse when pressed

Icon button

The icon button component is designed for actions that are represented primarily by an icon rather than text. It is commonly used for secondary or contextual actions.

Icon buttons help keep the interface clean and intuitive, especially in places where space is limited or where a visual symbol is more effective than a label.

Close button

CloseButtonDefault

Applies to

Screen Mobile
Instructions MobileInstructionsDefault
Document data form MobileFormDefault
Document data form (help modal) MobileFormHelpModalDefault
Reading (approach stage only) MobileReadingDefault
Feedback MobileFeedbackDefault
Reading (focus loss modal) MobileFocusLossDefault

You can fully customize the appearance of icon buttons to match your brand and user experience requirements.

This includes adjusting the icon color, background, border, and interactive states such as the pressed state.

By fine-tuning these properties, you ensure that icon buttons remain visually consistent and accessible throughout your application.

Keep in mind that when you modify the icon button, the changes will apply across all views where it is used, regardless of whether the icon changes.

Below is a comprehensive list of all the properties that can be customized for the icon button component.

Parameter Description
backgroundColorTertiary Background color
iconColorTertiary Icon color
borderColorTertiary Border color
borderWidthTertiary Border width
borderRadius Border radius
colorPressed Pressed overlay

Interactive state keys (styles.components.iconButton.interactiveStates):

  • backgroundColorTertiaryPressed
  • iconColorTertiaryPressed
  • borderColorTertiaryPressed
  • borderWidthTertiaryPressed

Example:

"styles": {
    "components": {
        "iconButton": {
            "backgroundColorTertiary": "#FFFFFF",
            "iconColorTertiary": "#A50050",
            "borderColorTertiary": "#A50050",
            "borderWidthTertiary": "2px",
            "borderRadius": "8px",
            "colorPressed": "#A50050",
            "interactiveStates": {
                "backgroundColorTertiaryPressed": "#E5D0DA",
                "iconColorTertiaryPressed": "#E5D0DA",
                "borderColorTertiaryPressed": "#A50050",
                "borderWidthTertiaryPressed": "4px"
            }
        }
    }
}

CloseButtonModified

Spinner

The spinner component provides a visual indication that a process is ongoing, such as loading or waiting for the NFC reader. It helps reassure users that the system is working and encourages them to wait until the current operation is complete.

Applies to

The spinner is part of the shared button and feedback components, so these parameters are available to every Veridas SDK. None of the current NFC screens renders it: the reading screens show an animation instead.

You can customize the appearance of the spinner to match your brand's style, at styles.components.spinner.

Below is a comprehensive list of all the properties that can be customized for the spinner component.

Parameter Description
containerColor Spinner container color
progressColor Spinner progress color

Example:

"styles": {
    "components": {
        "spinner": {
            "containerColor": "#E5D0DA",
            "progressColor": "#A50050"
        }
    }
}
Default Modified
SpinnerDefault SpinnerModified

The modal component is a popup window that appears on top of the main application content. It is used to display important information or to request user action before continuing.

The same modal parameters apply to every modal of the SDK.

Help modal

In this case, the modal shows the user where to find the document number or the CAN. It is opened from the "Can't find the number?" buttons of the forms.

Default Modified
HelpModalDefault HelpModalModified

Applies to

Screen Mobile
Document data form MobileFormHelpModalDefault

You can customize the appearance of the help modal to match your brand's style.

Exit confirmation modal

In this case, the modal acts as a confirmation dialog that asks the user if they really want to leave the process, preventing accidental exits. It is opened from the close button and from the cancel buttons, on all screens.

Exit confirmation modal Modified
ExitConfirmationModalDefault ExitConfirmationModalModified

Applies to

Screen Mobile
All screens MobileExitConfirmationModalDefault

You can customize the appearance of the exit confirmation modal to match your brand's style.

Below is a comprehensive list of all the properties that can be customized for the help and the exit confirmation modals.

Parameter Description
backgroundColor Background color
borderColor Border color
borderRadius Border radius
borderWidth Border width
descriptionColor Description color
titleColor Title color

Example of the modal modified:

"styles": {
    "components": {
        "modal": {
            "backgroundColor": "#E5D0DA",
            "borderColor": "#A50050",
            "borderRadius": "2px",
            "borderWidth": "4px",
            "descriptionColor": "#A50050",
            "titleColor": "#A50050"
        }
    }
}

Calendar

The calendar component is the date picker opened from the date of birth and date of expiry fields of the document data form. These parameters set the look of its cells, and its buttons and arrows keep the colors of the theme. Its texts are in texts.common.calendar.

Default Modified
CalendarDefault CalendarModified

Applies to

Screen Mobile
Document data form MobileFormDefault

When the field is empty, the calendar opens with today's date selected.

Parameter Description
backgroundColor Background color of a day, a month or a year
backgroundColorSelected Background color of the selected one
backgroundColorToday Background color of today's date
textColor Text color
textColorSelected Text color of the selected one
textColorToday Text color of today's date
reactiveColorPressed Color while a cell is pressed
reactiveColorInversePressed Color while the selected cell is pressed
iconColor Color of the arrow of the year selector
borderColorToday Color of the ring around today's date
borderWidthToday Width of the ring around today's date

Example of the calendar modified:

"styles": {
    "components": {
        "calendarItems": {
            "backgroundColorSelected": "#A50050",
            "textColorSelected": "#FFFFFF",
            "textColorToday": "#A50050",
            "borderColorToday": "#A50050",
            "borderWidthToday": "1px",
            "iconColor": "#A50050"
        }
    }
}