Skip to content
Permalink
Browse files

tags

  • Loading branch information
codecalm committed Mar 17, 2020
1 parent 8dd3f0b commit 9c971939b366741f18068b9b12183e8c85ee2765
Showing with 46 additions and 5 deletions.
  1. +3 −0 _config.yml
  2. +1 −0 src/_icons/x.svg
  3. +25 −5 src/style.scss
  4. +17 −0 src/tags.html
@@ -1,5 +1,7 @@
source: src

host: 0.0.0.0
port: 4001

exclude:
- .idea
@@ -11,6 +13,7 @@ defaults:
values:
layout: icon
in-bg: true
tags: []
permalink: 'icons/:slug'

collections:
@@ -1,4 +1,5 @@
---
tags: [cancel, remove, delete, empty]
---
<svg>
<line x1="18" y1="6" x2="6" y2="18" />
@@ -350,8 +350,28 @@ Components
}
}

.icon-size-16 { width: 16px; }
.icon-size-24 { width: 24px; }
.icon-size-32 { width: 32px; }
.icon-size-48 { width: 48px; }
.icon-size-64 { width: 64px; }
.icon-size-16 { width: 16px; height: 16px }
.icon-size-24 { width: 24px; height: 24px }
.icon-size-32 { width: 32px; height: 32px }
.icon-size-48 { width: 48px; height: 48px }
.icon-size-64 { width: 64px; height: 64px }

.table {
width: 100%;
border-collapse: collapse;

td, th {
padding: .5rem;
text-align: left;
border: 1px solid #eee;
}

.icon {
width: 24px;
height: 24px;
}
}

.td-1 {
width: 1%;
}
@@ -0,0 +1,17 @@
---
layout: default
---

<div class="container">
<div class="box">
<table class="table">
{% for icon in site.icons %}
<tr>
<td class="td-1">{% include icon.html name=icon.slug %}</td>
<th>{{ icon.slug }}</th>
<td>{{ icon.tags | join: ', ' }}</td>
</tr>
{% endfor %}
</table>
</div>
</div>

0 comments on commit 9c97193

Please sign in to comment.
You can’t perform that action at this time.