{% liquid if section.settings.background_color != blank render 'contrast-override', background_color: section.settings.background_color, section_id: section.id endif %}
{{ section.settings.custom_liquid }}
{% schema %} { "name": "t:names.custom_liquid", "settings": [ { "type": "liquid", "id": "custom_liquid", "label": "t:settings.custom_liquid", "info": "t:info.custom_liquid" }, { "type": "color", "id": "background_color", "label": "t:settings.background_color", "placeholder": "t:settings.default" }, { "type": "select", "id": "section_width", "label": "t:settings.width", "options": [ { "value": "page-width", "label": "t:options.page" }, { "value": "full-width", "label": "t:options.full" } ], "default": "page-width" }, { "type": "header", "content": "t:content.padding" }, { "type": "range", "id": "padding-block-start", "label": "t:settings.top", "min": 0, "max": 100, "step": 1, "unit": "px", "default": 0 }, { "type": "range", "id": "padding-block-end", "label": "t:settings.bottom", "min": 0, "max": 100, "step": 1, "unit": "px", "default": 0 } ], "presets": [ { "name": "t:names.custom_liquid", "category": "t:categories.layout" } ] } {% endschema %}