# Theming

Learn how to theme your app with a custom spinner, background, and theme color.

# Play with different themes

To see examples of themes, visit our theme preview page.

# Different ways to theme your app

  • Under your account in the Signicat dashboard you can choose to set up a default theme for your account. This will be used unless you override it in the create deposit API request. *You can specify the UI for the tenant in the API request.

# Theme options

The styling property of the UI lets you customize the UI for a tenant.

Property What it does
colorTheme Themes the buttons and icons
themeMode Choose between a dark or a light theme. If you are using a dark background color, you should set this to Dark
spinner Choose between a set of loading spinners
backgroundColor Set a background color for the app, we accept hexadecimal and HTML colors

# Theming by API

Include the desired theming options for a tenant when creating the deposit.

# Request

POST https://api.idfy.no/deposit/personal

Request sample

{
  ....
  "tenants": [{
    "ui": {
      "styling": {
        "colorTheme": "Pink",
        "themeMode": "Light",
        "spinner": "Cubes",
        "backgroundColor": "#fafafa"
      }
    }	
  }]
  .....			
}
Last updated: 7/29/2020, 2:09:13 PM