Skip to content

style

Inline

Syntax

{% style %} .hero { background: {{ section.settings.bg }}; } {% endstyle %}

Example

{% style %}.hero{color:{{ settings.text_color }}}{% endstyle %}

Output:

<style>.hero{color:#111827}</style>