Manifest ReferenceUI Settings

UI Settings

Reference for the UISettings section — per-work branding colors and logo, plus toggles for the player's reader controls.

The optional top-level ui section lets a manifest customize the player chrome for this work: branding colors and a logo, and which reader controls are shown. It configures appearance and control visibility — reader behavior defaults (autoplay, audio on/off, manga mode, video defaults) live in settings.ui instead (see Settings).

UISettings

Defined as $defs/UISettings. Both groups are optional.

branding

PropertyTypeDescription
primaryColorhex color (#RRGGBB or #RGB)Primary brand color for the player UI.
accentColorhex colorAccent color.
logostringLogo image URL/path.

controls

All toggles are booleans and default to true (shown):

PropertyDefaultControls
showLanguageToggletrueThe language switcher (relevant for multi-locale works — see Localization).
showAutoplayToggletrueThe autoplay on/off control.
showSfxToggletrueThe sound-effects toggle.
showSpeechToggletrueThe speech/voice-over toggle.
showToctrueThe table of contents.
showThumbnailstrueThe thumbnail strip/navigation.

Example

{
  "ui": {
    "branding": {
      "primaryColor": "#0055ff",
      "accentColor": "#ffd400",
      "logo": "https://cdn.example.com/works/city-noir/logo.svg"
    },
    "controls": {
      "showLanguageToggle": true,
      "showAutoplayToggle": true,
      "showSfxToggle": true,
      "showSpeechToggle": true,
      "showToc": true,
      "showThumbnails": false
    }
  }
}

ui vs. settings.ui

ConcernSection
Brand colors, logo, which controls are visibletop-level ui (UISettings, this page)
Reader behavior defaults: mangaMode, autoplayDefault, secondsPerPanel, speechDefault, audioDefault, sfxDefault, scrollingDefault, videoPlayModeDefault, videoStartModeDefault, videoMutedDefaultsettings.ui — see Settings