element-ios/docs/Customisation.md
2022-08-02 08:50:30 +01:00

1.6 KiB

Customisation

This guide contains information about how to configure and customise the project for forks.

Project

The bundle identifier, app group identifier and app name are defined in the Config/AppIdentifiers.xcconfig file and advanced build configuration can be found in the project.yml file and each target has a target.yml file in its respective folder.

Build Settings

Various features of Element iOS can be enabled/disabled/configured via flags in the Config/BuildSettings.swift file. This includes items such as the default homeserver, VoIP configuration and the ability to hide certain settings from the user.

Theme

Element iOS has a dependency on our DesignKit package which supplies the fonts, colours and some common components we use across multiple apps. The fonts are defined directly in this package. The colours come from a dependency on our Design Tokens repo which is a style dictionary that allows to us share definitions across multiple platforms.

For logos, they're currently regular assets that can be found either in Images.xcassets or SharedImages.xcassets.