4 lines
353 B
HTML
4 lines
353 B
HTML
{# Общие макросы: иконки (inline SVG, stroke) #}
|
|||
|
|
{% macro icon(name, size=16, sw=1.8) -%}
|
||
|
|
<svg class="ico" width="{{ size }}" height="{{ size }}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="{{ sw }}" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">{{ ICONS[name]|safe }}</svg>
|
||
|
|
{%- endmacro %}
|