Skins

OTOBO/Znuny Skin Development

Create custom agent and customer skins for OTOBO, Znuny, and OTRS CE: SysConfig loader entries, directory structure, and CSS overrides.

OTOBO/Znuny Skin Development

A skin overrides the default look and feel of the agent or customer interface with custom CSS. Skins are packaged as regular .opm packages and registered via the SysConfig.

Directory Structure

text
var/httpd/htdocs/skins/Agent/MySkin/css/MySkin.css
var/httpd/htdocs/skins/Customer/MySkin/css/MySkin.css

The directory name (MySkin) is the internal name of the skin.

SysConfig Registration

Register the skin in Kernel/Config/Files/XML/MyPackage.xml:

xml
<?xml version="1.0" encoding="utf-8"?>
<otobo_config version="2.0" init="Application">
    <Setting Name="Loader::Agent::Skin###100-MySkin" Required="0" Valid="1">
        <Description Translatable="1">Agent skin provided by the MyPackage package.</Description>
        <Navigation>Frontend::Agent::View</Navigation>
        <Value>
            <Hash>
                <Item Key="InternalName">MySkin</Item>
                <Item Key="VisibleName">My Skin</Item>
                <Item Key="Description">A custom agent skin.</Item>
                <Item Key="HomePage">https://example.com</Item>
            </Hash>
        </Value>
    </Setting>
</otobo_config>

For customer skins, use Loader::Customer::Skin###... with the Navigation Frontend::Customer::View. For Znuny/OTRS, the root element is otrs_config.

Writing CSS

The skin CSS is loaded in addition to the default skin. You only need to override what you want to change:

css
:root {
  --oitsm-skin-accent: #10b981;
}

#Navigation > li.Selected > a {
  background-color: var(--oitsm-skin-accent);
}

Quick Start

The Skin Generator creates the complete structure—.sopm, SysConfig XML, and CSS—in a single step. Afterward, build the package as described in Building OTOBO & Znuny Packages.

Listing on Open ITSM Hub

An openitsmhub.yml at the GitHub root controls the skin listing’s title, summary, overview, acquisition, important links, screenshots, and homepage. Fields, limits, and the schema are in the format specification. Check a file with the listing check. Acquisition, links, and screenshots follow the same rules as packages: at most 20 links and 100 screenshots. openitsmhub.md and openitsmhub.mdx count as well. Or use the same website link as for packages: Publish a package. The listing file can have any name and can live anywhere, including https://openitsmhub.com/openitsmhub/skins/<slug>.yml. That page must describe the skin and mention OTOBO, Znuny, Zammad, or OTRS. Without that file, a generated copy is kept under content/openitsmhub/skins/.

Activation

After installation, agents can select the skin under Personal Preferences → Interface, or you can set the default via Loader::Agent::DefaultSelectedSkin.