Skip to main content

final class atoti.BrandingConfig

The UI elements to customize the app by replacing the Atoti branding with another one (also called white-labeling).
This feature is not part of the community edition: it needs to be unlocked.

Example

>>> from pathlib import Path
>>> config = tt.BrandingConfig(
...     favicon=TEST_RESOURCES_PATH / "config" / "branding" / "favicon.ico",
...     logo=TEST_RESOURCES_PATH / "config" / "branding" / "logo.svg",
...     title="Custom title",
... )

dark_theme_logo : Path | None = None

The logo displayed in dark theme. If None, logo will be used as a fallback (if it is not None itself).

favicon : Path | None = None

The file path to a .ico image that will be used as the favicon.

logo : Path | None = None

The file path to a 20px high .svg image that will be displayed in the upper-left corner.

title : str = ‘Atoti’

The title to give to the browser tab (in the home page).