Logo
OnSphere v: latest
Versions
Links
Documentation Home

General documentation

  • Introduction
  • Licensing System
  • Beta and deprecated Features
  • Changelog
  • Upgrade guide

Getting started

  • Getting started
  • Examples

Composer

  • Composer
  • Validation docker

Exploitation

  • Upgrading guidelines
  • Audit
  • Network and availability
  • Storage and persistence
  • Security
  • Swarm administration
  • Helm Chart Values Reference

Features

  • Authentication & Authorization
  • API Script
  • Configuration
  • Data-processing
  • Industrial protocols
  • External API
  • Front-end
    • Configuration
    • Theming
      • Customize logo
      • Switch between dark and light mode
      • Theme overriding
    • Dashboard
    • Widgets features
    • Widgets list
  • Misc
  • Third party

Modules

  • Modules capabilities
  • Core modules
  • Integration
  • Plugin modules
  • Schemas
  • Module update

Misc

  • FAQ
  • Glossary
  • Known bug
  • Troubleshooting
SDN OnSphere Documentation
  • Docs »
  • Front-end »
  • Theming »
  • Customize logo

Customize logo

Inside the stack.cfg, you can configure the front-end logo and name to match your own visual identity. You need to define a new resource in both web and keycloak modules.

{
    "resources":
    [
        {
            "source": "theme/images", //File or folder path in the configuration (relative path)
            "destination": "images" //File or folder path on the running module (relative path)
        }
    ]
}

In the stack.cfg file, you can specify following properties:

  • name: Name of the stack, displayed on the front-end

  • theme.logoWithoutText: The logo to display on the login page, account page and dashboard. If it is not defined, the logo with text will be used or the default one. The file must be added in Keycloak and web modules resources.

  • theme.favicon: The favicon image. The file must be added in Keycloak and web modules resources.

{
    "name": "OnSphere",
    "theme": {
        "logoWithoutText": "images/logo.png",
        "favicon": "images/favicon.png"
    }
}

Warning

Keycloak themes are cached for one hour. This results in multiple logos appearing on top of each other when changing it. To solve this issue, you can restart Keycloak, but bear in mind that this will terminate all open sessions.


© Copyright 2026, SDN Ltd - OnSphere version 2.1.2. Last updated on 28 Sep 2026.