mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 01:44: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-brand = '' | split: ',' %}
|
||||||
|
{% assign icons-filled = '' | split: ',' %}
|
||||||
{% assign icons-core = '' | split: ',' %}
|
{% assign icons-core = '' | split: ',' %}
|
||||||
|
|
||||||
{% for icon in site.data.icons %}
|
{% for icon in site.data.icons %}
|
||||||
{% assign i = icon[0] %}
|
{% assign i = icon[0] %}
|
||||||
{% if i contains 'brand-' %}
|
{% if i contains 'brand-' %}
|
||||||
{% assign icons-brand = icons-brand | push: i %}
|
{% assign icons-brand = icons-brand | push: i %}
|
||||||
|
{% elsif i contains '-filled' %}
|
||||||
|
{% assign icons-filled = icons-filled | push: i %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign icons-core = icons-core | push: i %}
|
{% assign icons-core = icons-core | push: i %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -27,4 +30,7 @@ menu: icons
|
|||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
{% include cards/icons.html title="Brand icons" icons=icons-brand %}
|
{% include cards/icons.html title="Brand icons" icons=icons-brand %}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-12">
|
||||||
|
{% include cards/icons.html title="Filled icons" icons=icons-filled %}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user