mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
Add new Filled section to Icons page (#1574)
This commit is contained in:
5
.changeset/twenty-tables-judge.md
Normal file
5
.changeset/twenty-tables-judge.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tabler/core": patch
|
||||
---
|
||||
|
||||
Add new Filled section to Icons page
|
||||
@@ -5,12 +5,15 @@ menu: icons
|
||||
---
|
||||
|
||||
{% assign icons-brand = '' | split: ',' %}
|
||||
{% assign icons-filled = '' | split: ',' %}
|
||||
{% assign icons-core = '' | split: ',' %}
|
||||
|
||||
{% for icon in site.data.icons %}
|
||||
{% assign i = icon[0] %}
|
||||
{% if i contains 'brand-' %}
|
||||
{% assign icons-brand = icons-brand | push: i %}
|
||||
{% elsif i contains '-filled' %}
|
||||
{% assign icons-filled = icons-filled | push: i %}
|
||||
{% else %}
|
||||
{% assign icons-core = icons-core | push: i %}
|
||||
{% endif %}
|
||||
@@ -27,4 +30,7 @@ menu: icons
|
||||
<div class="col-12">
|
||||
{% include cards/icons.html title="Brand icons" icons=icons-brand %}
|
||||
</div>
|
||||
<div class="col-12">
|
||||
{% include cards/icons.html title="Filled icons" icons=icons-filled %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user