mirror of
https://github.com/tabler/tabler.git
synced 2026-01-07 21:30:06 +04:00
icons, toast message
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
{% comment %}
|
||||
<svg class="icon{% if include.class %} {{ include.class }}{% endif %}{% if include.color %} text-{{ include.color }}{% endif %}">
|
||||
|
||||
</svg>
|
||||
{% endcomment %}
|
||||
{% capture class %}{% if include.class %} {{ include.class }}{% endif %}{% if include.color %} text-{{ include.color }}{% endif %}{% endcapture %}
|
||||
{% capture i %}
|
||||
{% include icons/{{ include.icon }}.svg %}
|
||||
{% endcapture %}
|
||||
{{ i | svg_icon: include.class }}
|
||||
{{ i | svg_icon: class }}
|
||||
|
||||
Reference in New Issue
Block a user