For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Help CenterOpenAPI SpecStatus
OverviewInquiriesTransactionsAPI ReferenceChangelog
OverviewInquiriesTransactionsAPI ReferenceChangelog
  • Overview
    • Inquiries Overview
    • Inquiry Model Lifecycle
    • Inquiry Templates
  • Managing inquiries
    • Creating Inquiries
    • Resuming Inquiries
    • Accessing Inquiry status and data
  • Hosted Flow integration
  • Embedded Flow integration
  • Mobile SDK integration
    • Overview
      • Tutorial: Pre-create inquiries for iOS
      • iOS Integration Guide
      • iOS Changelog
      • iOS Privacy Manifest
      • Migrate iOS Theming from Client to Server
      • Migrate from iOS SDK v1 to v2
      • iOS Licenses
    • Webview
  • Troubleshooting
    • Troubleshooting Steps
    • Troubleshooting Common Issues
LogoLogo
Help CenterOpenAPI SpecStatus
On this page
  • Steps
Mobile SDK integrationiOS

Migrate iOS Theming from Client to Server

Was this page helpful?
Previous

Migrate from iOS SDK v1 to v2

Next
Built with

Steps

  1. Identify the client-side theming code that defines the theme for a Persona flow on iOS.

  2. Use the below table to map the existing theme attributes defined in client-side code to the theme editor in the Persona Dashboard.

    For more information on using the theme editor, see our help article.

  3. Publish your theming changes.

  4. Remove all client-side theming code from your app.

  5. Test the Persona flow in your app to make sure the theming is accurate.

  6. Release a new version of your app without client-side theming code.

  7. Repeat above steps for as many Persona flows you use (also known as inquiry templates).

There are some properties that are not supported yet, and other that cannot be applied without component-level theming (e.g. custom assets and visuals). If you run into gaps that block your migration, please reach out.

Client-side propertyTheme Editor Property
accentColorIcon fill color
backgroundColorBackground color (located in Advanced)
bodyTextAlignmentText align
bodyTextColorBody text color
bodyTextFontBody font, Body font size
buttonBackgroundColorPrimary button fill color
buttonBorderColorPrimary button fill color
buttonCornerRadiusButton border radius
buttonDisabledBackgroundColorNot available yet
buttonFontBody font
buttonSecondaryBackgroundColorSecondary button fill color
buttonSecondaryBorderColorSecondary button outline color
buttonSecondaryCornerRadiusButton border radius
buttonSecondaryDisabledBackgroundColorNot available yet
buttonSecondaryFontBody font
buttonSecondaryTextColorSecondary button text color
buttonSecondaryTouchedBackgroundColorSecondary button fill color
buttonTextColorPrimary button text color
buttonTouchedBackgroundColorPrimary button fill color
cardTitleTextFontHeading font, Heading font size, Heading font weight
darkPrimaryColorIcon stroke color
errorColorNot available yet
footerBackgroundColorBackground color (located in Advanced)
footnoteTextColorSmall text color
footnoteTextFontBody font, Small text font size
formLabelTextColorBody text color
formLabelTextFontBody font, Body font size
governmentIdHintTextAlignmentText align
governmentIdHintTextFontBody font, Body font size
navigationBarTextColorHeader button color
pickerTextColorBody text color
pickerTextFontBody font, Body font size
primaryColorPrimary color
processingLabelsTextAlignmentText align
textFieldBackgroundColorInput background color
textFieldBorderColorInput border color
textFieldCornerRadiusButton border radius
textFieldFontBody font, Body font size
textFieldPlaceholderFontBody font, Body font size
textFieldTextColorBody text color
titleTextAlignmentText align
titleTextColorHeading text color
titleTextFontHeading font, Heading font size, Heading font weight