Dawn Theme 5.0
Is there “standard” or repetitive code that I can re-use to add a color scheme to a new section and be able to select the color scheme via drop down list I want when I Customize that section? Similar to what you do with any standard section on the home page which was included with Dawn.? I created a new section product-slider.liquid and it’s white and I would like to be able to customize the color scheme. (to either Accent_1, Accent_2, Background_1 etc.)
I found code for the Schema portion which I think is correct as follows:
“settings”: [
{
“type”: “select”,
“id”: “color_scheme”,
“options”: [
{
“value”: “accent-1”,
“label”: “t:sections.all.colors.accent_1.label”
},
{
“value”: “accent-2”,
“label”: “t:sections.all.colors.accent_2.label”
},
{
“value”: “background-1”,
“label”: “t:sections.all.colors.background_1.label”
},
{
“value”: “background-2”,
“label”: “t:sections.all.colors.background_2.label”
},
{
“value”: “inverse”,
“label”: “t:sections.all.colors.inverse.label”
}
],
“default”: “background-1”,
“label”: “t:sections.all.colors.label”
},
My shop is websitelements.myshopify.com
password ENTER
Thank you.