{% macro angel() %} {% endmacro %} {% macro icon(icon, color) %} {% endmacro %} {% macro alert(message, type) %}
{{ message }}
{% endmacro %} {% macro user(user) %} {{ _self.angel() }} {{ user.name }} {% endmacro %} {% macro button(label, url, type, size, title, icon_left, icon_right) %} {%- if icon_left is defined %}{{ _self.icon(icon_left) }}{% endif %} {{ label }} {%- if icon_right is defined %}{{ _self.icon(icon_right) }}{% endif %} {% endmacro %} {% macro info(text) %} {{ _self.icon('info-circle') }}{{ text }} {%- endmacro %} {% macro type_bg_class() -%} {% if theme.type == 'light' %}bg-white{% else %}bg-dark{% endif %} {%- endmacro %} {% macro type_text_class() -%} {% if theme.type == 'light' %}text-dark{% else %}text-light{% endif %} {%- endmacro %}