ltk::theme::assets

Function logo

Source
pub fn logo() -> Option<PathBuf>
Expand description

Path to the brand logo SVG for the currently active mode. Convention: branding/{mode}/logo/logo.svg. The “main” logo — usually the wordmark variant a shell would put in an “About” dialog or a splash. Pair with logo_square / logo_horizontal when the surface dictates a different aspect ratio.

Resolves through branding_asset with the same three-step fallback (active mode → opposite mode → no-mode), so a theme that only ships one mode still produces a usable path.