Using variable into section set up

Discussions

Ask a Question
Back to All

Using variable into section set up

Hi everybody,

I use a text_color section setting as select in all my sections. To avoid writing the same c olors array in every section, i have created a variable to store all the custom colors, now I need to use this variable in section settings like this { "label": "Theme color", "id": "theme_color", "type": "select", "options": colorsSpectre }
but it's not working.

How can I do it?

Thank you for advance