8000 Add new Filled section to Icons page by codecalm · Pull Request #1574 · tabler/tabler · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add new Filled section to Icons page #1574

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files. < 8000 button type="button" data-view-component="true" class="js-toc-retry btn-link"> Retry
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/twenty-tables-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---

Add new Filled section to Icons page
6 changes: 6 additions & 0 deletions src/pages/icons.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@
---

{% 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 %}
Expand All @@ -27,4 +30,7 @@
<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>
0