{# Macro d'icĂ´nes SVG inline pour le site vitrine (paths Lucide, MIT).
Usage : {% import 'vitrine/_icons.html.twig' as icons %} {{ icons.icon('check', 20) }} #}
{% macro icon(name, size = 24, class = '') %}
{%- set paths = {
'check': '',
'check-circle': '',
'x': '',
'x-circle': '',
'minus': '',
'menu': '',
'rocket': '',
'zap': '',
'smartphone': '',
'monitor': '',
'search': '',
'shield': '',
'lock': '',
'palette': '',
'headphones': '',
'mail': '',
'phone': '',
'map-pin': '',
'globe': '',
'arrow-right': '',
'arrow-up': '',
'chevron-down': '',
'chevron-right': '',
'star': '',
'edit': '',
'image': '',
'message': '',
'chart': '',
'layout': '',
'cloud-upload': '',
'refresh': '',
'shopping-cart': '',
'file-text': '',
'user': '',
'users': '',
'log-in': '',
'log-out': '',
'home': '',
'tag': '',
'grid': '',
'gift': '',
'server': '',
'layers': '',
'settings': '',
} -%}
{%- endmacro %}