Dev feature : Custom theme CSS & JS list

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Firyo
    Senior Member
    • Jun 2022
    • 141

    #1

    Dev feature : Custom theme CSS & JS list

    Hi there,

    I've found something nice that could be added inside the
    Code:
    metadata/themes/YourCustomTheme.json
    files.

    If I have installed multiple custom themes extensions that require custom JS and / or CSS files, a conflict will most probably happen between them because as long as both extensions are enabled, all their custom files will be loaded.

    I mean files loaded from each
    Code:
    metadata/app/client.json
    extension's file.

    So, because of that I suggest adding the 2 followings attributes inside the
    Code:
    metadata/themes/YourCustomTheme.json
    files
    1. additionnalStylesheets (just like "cssList" from client.json)
    2. additionnalScripts (just like "scriptList" from client.json)

    Regards.
Working...