Feature request: Glyphicons

You can easily add another iconset
e.g. knx-user-forum iconset

  1. add folder \html\habpanel\assets\icons\knx-user-forum with your new icons

  2. add file knx-user-forum.list.json and list new icons:

    {“notice”:“Created by knx-user-forum”,
    “url”:“GitHub - OpenAutomationProject/knx-uf-iconset: knx-user-forum.de icon set · GitHub”,
    “icons”:[
    “audio_audio”,
    “audio_eject”,
    and so on
    ]}

  3. change file icon.service.js under html\habpanel\app\services and add the knx-user forum line:

      var iconsets = [
                 { id: 'freepik-household', name: 'Builtin: Freepik Household', type: 'builtin', colorize: true },
                 { id: 'freepik-gadgets', name: 'Builtin: Freepik Gadgets', type: 'builtin', colorize: true },
                 { id: 'freepik-housethings', name: 'Builtin: Freepik House Things', type: 'builtin', colorize: true },
                 { id: 'smarthome-set', name: 'Builtin: Smart Home Set', type: 'builtin', colorize: true },
                 { id: 'knx-user-forum', name: 'Builtin: knx-user-forum', type: 'builtin', colorize: true },
                 { id: 'eclipse-smarthome-classic', name: 'Eclipse SmartHome Classic', type: 'oh2', oh2iconset: 'classic', colorize: false }
             ];
    

Finished now you have another iconset in your dropdown list.
For the mentioned knx-user-forum iconset I hab to do a mass change of the svg from white to black color. (hex code find/replace)

3 Likes