mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
Add base icon styles
This commit is contained in:
parent
1e30c63b1a
commit
f63c1d4342
@ -1,6 +1,8 @@
|
||||
<section>
|
||||
{% for icon in site.data.icons %}
|
||||
{% capture icon_path %}icons/{{ icon }}.svg{% endcapture %}
|
||||
{% include_relative {{ icon_path }} %}
|
||||
<div class="feather-icon">
|
||||
{% include_relative {{ icon_path }} %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</section>
|
15
style.scss
15
style.scss
@ -118,3 +118,18 @@ a {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.feather-icon {
|
||||
display: inline-block;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
stroke-width: 2px;
|
||||
|
||||
> svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
stroke: currentColor;
|
||||
stroke-width: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user