<svg class="facebook-special" height="50px" width="50px" style="fill: #00ffff; stroke: #ff1493;">
<use href="../../common/img/svg/symbolSprite.svg#social-facebook-26x26"></use>
</svg>
{% set CType = 'icon' %}
{% block main %}
{% set options = [] %}
{% set styles = [] %}
{% if class %}
{% set options = options|merge(['class="' ~ class ~ '"']) %}
{% endif %}
{% if height %}
{% set options = options|merge(['height="' ~ height ~ '"']) %}
{% endif %}
{% if width %}
{% set options = options|merge(['width="' ~ width ~ '"']) %}
{% endif %}
{% if fill or stroke %}
{% if fill %}
{% set styles = styles|merge(['fill: ' ~ fill ~ ';']) %}
{% endif %}
{% if stroke %}
{% set styles = styles|merge(['stroke: ' ~ stroke ~ ';']) %}
{% endif %}
{% set options = options|merge(['style="' ~ styles|join(' ') ~ '"']) %}
{% endif %}
<svg {{ options|join(' ') }}>
<use href="../../common/img/svg/symbolSprite.svg#{{ icon }}"></use>
</svg>
{% endblock %}
{
"class": "facebook-special",
"icon": "social-facebook-26x26",
"fill": "#00ffff",
"stroke": "#ff1493",
"height": "50px",
"width": "50px"
}
No notes defined.