Option Type um 'text' erweitern

  • App
    WoltLab Suite Core

    Hallo,

    zurzeit ist es so das nur Options als 'boolean', 'float', 'integer', 'radioButton', 'select' im SCSS als Variable erlaubt sind.

    Ich würde mir Wünschen das dies um den Typ 'text' erweitert werden würde, damit man Administratoren die Möglichkeit bieten kann z.B. Farbwerte direkt ganz leicht in dem Plugin angeben zu können (siehe Anhang) und nicht extra Farben im CSS anpassen zu müssen.

    Code
    /**
     * names of option types which are supported as additional variables
     * @var string[]
     */
    public static $supportedOptionType = ['boolean', 'float', 'integer', 'radioButton', 'select'];

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!