Hi everyone,
I try to create a list of color sets to change theme colors. I got a list, I choose a set and the theme colors has changed. It works but I needed to do a require of a file that contains the list in the file lib.php in my theme folder. Is it wrong to add a dependency in lib.php ?
I tried to add my list in the setting.php file (screen 1 and 2) and use it in lib.php (there is require with this way, screen 3), but it doesn't work... In my opinion, it would still be the best solution. Any ideas?
Thank you in advance,
Justin.