Whitelabeling/Customizing

Customize UI

  • It's possible from the config values / SDK

  • Here is the mapping between config values and the corresponding UI.

Guideline for the logoUrl andlogoWhiteUrl

  • Logo must be hosted. If it is difficult, please contact us.

    e.g.: https://static-files.startrail.io/startrail-black-logo.png

  • Logo is recommended to be square, given it is rounded into a circular shape icon in the modal and loading window. However there is no limitation for its shape and size.

  • Logo must be either in PNG or JPG/JPEG format. Some E-Mail clients do not support certain formats such as SVG.

Properties

All the properties listed below are optional.

CustomUI

ParametersExampleDescription

logoUrl

string

App logo to be shown on the light background (light theme)

logoWhiteUrl

string

App logo to be shown on the dark background (dark theme)

serviceName

string

Applied to all service name in Startrail-sdk-js

contactUrl

string

Applied to the contact email in signup Email

verificationEmailTitle

string

Applied to the title of the verification email when you select email_password

words

{
  en: CustomWords
  ja: CustomWords
}

either en or ja can be used. The value of each is defined in CustomWords

CustomWords is an object consisting of the following optional attributes. Each of the are explained subsequently.

{
    emailAuthPopup:EmailAuthPopup,
    modal:WalletModal,
    signPopup:SignPopup,
    embed:Embed
}

EmailAuthPopup

ParametersExample

titleLogin

titleSignup

WalletModal

ParametersExample

continueLogin

termsConditions

termsConditionisLinkUrl

privacyPolicyLinkUrl

SignPopup

ParametersExample

title

requestFrom

confirm

cancel

Embed (Continue Alert Popup)

ParametersExample

continue

actionRequired

pendingAction

Last updated

©2023 Startbahn, Inc.