> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-mobile/ios-sdk/personalizacion.md).

# Customization

This guide explains how to customize the SDK appearance in your iOS applications. It is recommended to apply the modifications in both the light and dark (night) themes.

## Colors and logo

To change the colors and logo of the SDK, the following must be included **Assets** in the folder `Resources` of the client application.

<div align="left"><figure><img src="https://865101184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUo71Qbj6jZQDavjc0U5X%2Fuploads%2Fgit-blob-7b1f72bc24479bae837b8cdedf9c422cfb56ff72%2Fimage.png?alt=media" alt="" width="272"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://865101184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUo71Qbj6jZQDavjc0U5X%2Fuploads%2Fgit-blob-1e42025e441467f28453dc980c039f844e55d51c%2Fimage.png?alt=media" alt="" width="414"><figcaption></figcaption></figure></div>

### General

```
sdkAccentColor
sdkBackgroundPrimaryColor
sdkBackgroundSecondaryColor
sdkBackgroundDisabled
sdkBodyTextColor
sdkDisabledBackgroundColor
sdkButtonTextColor
sdkErrorColor
sdkNeutralColor
sdkPrimaryColor
sdkSecondaryColor
sdkSuccessColor
sdkTitleTextColor
sdkTopIconsColor
```

### Component-specific

* Video calls: `sdkActionsBackgroundColor`, `sdkButtonBackgroundColor`
* Video identification: `sdkTopIconsVideoColor`

**Note:** changing the main colors (`sdkPrimaryColor`, `sdkErrorColor`, `sdkSuccessColor`, `sdkNeutralColor`, `sdkAccentColor`) will also affect the animations.

{% hint style="info" %}
The components **Selphi** and **SelphID** use their own resource package (`zip`), so they **are not affected** by this Customization.
{% endhint %}

## Animations <a href="#id-2-animaciones" id="id-2-animaciones"></a>

If you want to modify the animations (**Lottie**) of the SDK, simply include the new animations with the **same name** in the application.

The exact names of the animations are documented in the customization section of each component.

## Texts <a href="#id-3-textos" id="id-3-textos"></a>

The texts can be customized by overwriting the value of the keys in a file `Localizable.strings`.

* The keys with the suffix **`_alt`** are the texts used in the labels for **accessibility** necessary for the functionality of **VoiceOver**.
* Each component includes the list of available keys for modification.

## Fonts <a href="#id-4-fuentes" id="id-4-fuentes"></a>

* Add the files `.ttf` to the application.
* Assign the **exact name** expected by the SDK. If the name does not match, the font will not be applied.

<div align="left"><figure><img src="https://865101184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUo71Qbj6jZQDavjc0U5X%2Fuploads%2Fgit-blob-3451c0ac6611ee68cc68ed39d8aa32b95dbe4dec%2Ffonts.png?alt=media" alt=""><figcaption></figcaption></figure></div>

## Generic icons <a href="#id-6-iconos-de-la-barra-superior" id="id-6-iconos-de-la-barra-superior"></a>

To customize the multiple icons that appear in the SDK, create the resources in the application's ASSETS with the following names:

```
sdk_logo
ic_sdk_close
ic_sdk_close_arrow
ic_sdk_error_connection
ic_sdk_error_timeout
ic_sdk_unknown_error
ic_sdk_permission_camera
ic_sdk_permission_micro
ic_sdk_permission_generic
ic_sdk_info
ic_sdk_pager_back
ic_sdk_pager_forward
```
