Merge pull request #491 from simple-icons/develop

Publish recent changes to live site
This commit is contained in:
Johan Fagerberg 2017-08-19 13:11:19 +02:00 committed by GitHub
commit b89276d032
15 changed files with 79 additions and 22 deletions

8
.npmignore Normal file
View File

@ -0,0 +1,8 @@
# Ignore all files in root
/*
# Except the ones we want to publish
!_data/
!icons/
!package.json
!README.md
!LICENSE.md

View File

@ -50,3 +50,11 @@ Here is the un-minified contents of the GitHub icon, for reference:
</svg> </svg>
``` ```
* * *
# Building locally
- Make sure you have [Ruby](https://www.ruby-lang.org/en/downloads/) installed.
- Make sure you have [Jekyll](https://jekyllrb.com/) installed (using `$ gem install jekyll bundler`).
- Build and run the website locally using `$ jekyll serve`.
- Connect to the website in your browser via the "Server address" provided by the output of this command, e.g. `http://localhost:4000/`

View File

@ -1 +1 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><title>Artboard</title><path d="M5.66 16a3.06 3.06 0 0 1-1.815-2.55 3.598 3.598 0 0 1 1.634-2.83c-.159.387-.121.826.1 1.18.25.349.682.518 1.103.43a1.131 1.131 0 0 0 .44-1.94A2.507 2.507 0 0 1 6.222 8a2.35 2.35 0 0 1 .731-1.19c-.27.72.492 1.43 1.003 1.78.907.544 1.78 1.142 2.616 1.79a3.516 3.516 0 0 1 1.333 3A3.332 3.332 0 0 1 9.649 16c2.365-.53 4.8-2.41 4.851-5.08A5.53 5.53 0 0 0 11.232 6h-.09a.808.808 0 0 1 .06.33 1.157 1.157 0 0 0 0-.22c.01.086.01.174 0 .26a1.133 1.133 0 0 1-1.985.44c-.781-1 0-2.14.131-3.24A4.116 4.116 0 0 0 7.644 0c.571.95-.19 2.2-.742 2.91-.551.71-1.353 1.24-2.004 1.86a16.453 16.453 0 0 0-1.925 2.14 6.519 6.519 0 0 0-1.333 5.47A5.208 5.208 0 0 0 5.65 16h.01z" fill-rule="nonzero" fill="#000"/></svg> <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><title>Artboard</title><path d="M5.66 16a3.06 3.06 0 0 1-1.815-2.55 3.598 3.598 0 0 1 1.634-2.83c-.159.387-.121.826.1 1.18.25.349.682.518 1.103.43a1.131 1.131 0 0 0 .44-1.94A2.507 2.507 0 0 1 6.222 8a2.35 2.35 0 0 1 .731-1.19c-.27.72.492 1.43 1.003 1.78.907.544 1.78 1.142 2.616 1.79a3.516 3.516 0 0 1 1.333 3A3.332 3.332 0 0 1 9.649 16c2.365-.53 4.8-2.41 4.851-5.08A5.53 5.53 0 0 0 11.232 6h-.09a.808.808 0 0 1 .06.33 1.157 1.157 0 0 0 0-.22c.01.086.01.174 0 .26a1.133 1.133 0 0 1-1.985.44c-.781-1 0-2.14.131-3.24A4.116 4.116 0 0 0 7.644 0c.571.95-.19 2.2-.742 2.91-.551.71-1.353 1.24-2.004 1.86a16.453 16.453 0 0 0-1.925 2.14 6.519 6.519 0 0 0-1.333 5.47A5.208 5.208 0 0 0 5.65 16h.01z" fill-rule="nonzero"/></svg>

Before

Width:  |  Height:  |  Size: 788 B

After

Width:  |  Height:  |  Size: 776 B

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#000" d="M8.068 0C12.444 0 16 3.657 16 7.998c0 4.34-3.553 7.994-7.933 7.994L0 16V7.86C0 3.52 3.688 0 8.068 0zm.078 3.042a4.928 4.928 0 0 0-4.223 2.38 4.835 4.835 0 0 0-.1 4.814l-.89 2.836 3.196-.716c1.83.817 3.976.45 5.424-.926a4.84 4.84 0 0 0 1.158-5.332 4.917 4.917 0 0 0-4.56-3.056h-.005z" fill-rule="evenodd"/></svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.068 0C12.444 0 16 3.657 16 7.998c0 4.34-3.553 7.994-7.933 7.994L0 16V7.86C0 3.52 3.688 0 8.068 0zm.078 3.042a4.928 4.928 0 0 0-4.223 2.38 4.835 4.835 0 0 0-.1 4.814l-.89 2.836 3.196-.716c1.83.817 3.976.45 5.424-.926a4.84 4.84 0 0 0 1.158-5.332 4.917 4.917 0 0 0-4.56-3.056h-.005z" fill-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 392 B

After

Width:  |  Height:  |  Size: 380 B

View File

@ -1 +1 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M7.963 11.98l-4.91-2.9L7.963 16l4.913-6.92-4.914 2.9zM8.037 0l-4.91 8.148 4.91 2.903 4.91-2.9L8.037 0z" fill="#010101"/></svg> <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M7.963 11.98l-4.91-2.9L7.963 16l4.913-6.92-4.914 2.9zM8.037 0l-4.91 8.148 4.91 2.903 4.91-2.9L8.037 0z"/></svg>

Before

Width:  |  Height:  |  Size: 285 B

After

Width:  |  Height:  |  Size: 270 B

View File

@ -1 +1 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M9.844 13.506c0 1.213.18 1.393 1.956 1.528V16H4.2v-.966c1.777-.135 1.956-.315 1.956-1.528V2.472c0-1.19-.18-1.393-1.956-1.528V0h7.6v.944c-1.776.135-1.956.337-1.956 1.528v11.034z" fill="#0e0000" fill-rule="nonzero"/></svg> <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M9.844 13.506c0 1.213.18 1.393 1.956 1.528V16H4.2v-.966c1.777-.135 1.956-.315 1.956-1.528V2.472c0-1.19-.18-1.393-1.956-1.528V0h7.6v.944c-1.776.135-1.956.337-1.956 1.528v11.034z" fill-rule="nonzero"/></svg>

Before

Width:  |  Height:  |  Size: 379 B

After

Width:  |  Height:  |  Size: 364 B

View File

@ -1 +1 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"><path id="rect7" d="M0 5.713v4.574h16V5.713H0zm11.555.582h.564l-.865 3.055h-.565l.866-3.055zm1.166 0h.564l-.867 3.055h-.564l.867-3.055zM2.4 7.309c.288 0 .554.138.652.431a.674.674 0 0 1 .654-.431c.36 0 .69.217.69.693v.912h.257v.436h-.836V8.225c0-.347-.117-.48-.343-.48-.276 0-.385.196-.385.476v.697h.265v.436h-.84v-1.13c0-.346-.115-.48-.341-.48-.276 0-.387.197-.387.477v.697h.381v.436H.951v-.436h.268V7.785H.95V7.35h.84v.3a.664.664 0 0 1 .61-.341zm3.578 0c.72 0 1.07.485 1.07 1.045 0 .64-.462 1.044-1.102 1.044-.618 0-1.045-.377-1.045-1.017 0-.587.357-1.072 1.077-1.072zm8.283 0c.43 0 .797.222.797.68v.866c0 .116.043.157.136.157a.3.3 0 0 0 .084-.014l.014.307a.773.773 0 0 1-.36.093c-.266 0-.412-.156-.439-.4-.115.204-.32.4-.644.4-.29 0-.62-.156-.62-.574 0-.493.476-.61.934-.61.111 0 .228.005.33.018v-.066c0-.204-.005-.447-.33-.447a.621.621 0 0 0-.307.056l-.066.227-.457-.049.07-.463c.351-.142.529-.181.858-.181zm-6.848.04h1.754l.045.301-1.111 1.268h.65l.092-.31.453.042-.123.704H7.426l-.057-.303 1.102-1.266h-.627l-.088.31-.414-.044.072-.701zm2.307 0h.6v.72h-.6v-.72zm-3.752.395c-.294 0-.475.218-.475.596 0 .347.16.613.47.613.299 0 .493-.234.493-.621 0-.404-.217-.588-.488-.588zm8.23.735c-.204 0-.38.057-.38.275 0 .129.06.23.234.23.204 0 .422-.147.435-.48a2.116 2.116 0 0 0-.289-.025zm-4.478.154h.6v.72h-.6v-.72z" fill="#000"/></svg> <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"><path id="rect7" d="M0 5.713v4.574h16V5.713H0zm11.555.582h.564l-.865 3.055h-.565l.866-3.055zm1.166 0h.564l-.867 3.055h-.564l.867-3.055zM2.4 7.309c.288 0 .554.138.652.431a.674.674 0 0 1 .654-.431c.36 0 .69.217.69.693v.912h.257v.436h-.836V8.225c0-.347-.117-.48-.343-.48-.276 0-.385.196-.385.476v.697h.265v.436h-.84v-1.13c0-.346-.115-.48-.341-.48-.276 0-.387.197-.387.477v.697h.381v.436H.951v-.436h.268V7.785H.95V7.35h.84v.3a.664.664 0 0 1 .61-.341zm3.578 0c.72 0 1.07.485 1.07 1.045 0 .64-.462 1.044-1.102 1.044-.618 0-1.045-.377-1.045-1.017 0-.587.357-1.072 1.077-1.072zm8.283 0c.43 0 .797.222.797.68v.866c0 .116.043.157.136.157a.3.3 0 0 0 .084-.014l.014.307a.773.773 0 0 1-.36.093c-.266 0-.412-.156-.439-.4-.115.204-.32.4-.644.4-.29 0-.62-.156-.62-.574 0-.493.476-.61.934-.61.111 0 .228.005.33.018v-.066c0-.204-.005-.447-.33-.447a.621.621 0 0 0-.307.056l-.066.227-.457-.049.07-.463c.351-.142.529-.181.858-.181zm-6.848.04h1.754l.045.301-1.111 1.268h.65l.092-.31.453.042-.123.704H7.426l-.057-.303 1.102-1.266h-.627l-.088.31-.414-.044.072-.701zm2.307 0h.6v.72h-.6v-.72zm-3.752.395c-.294 0-.475.218-.475.596 0 .347.16.613.47.613.299 0 .493-.234.493-.621 0-.404-.217-.588-.488-.588zm8.23.735c-.204 0-.38.057-.38.275 0 .129.06.23.234.23.204 0 .422-.147.435-.48a2.116 2.116 0 0 0-.289-.025zm-4.478.154h.6v.72h-.6v-.72z"/></svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -1 +1 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><title>Shape</title><path d="M9.45 16h2.45c2.25 0 4.1-1.85 4.1-4.1V4.1C16 1.85 14.15 0 11.9 0H9.4c-.05 0-.1.05-.1.1v15.8c0 .05.05.1.15.1zm3.05-8.8c.9 0 1.6.75 1.6 1.6 0 .9-.75 1.6-1.6 1.6-.9 0-1.6-.7-1.6-1.6-.05-.9.7-1.6 1.6-1.6zM7.6 0H4.1C1.85 0 0 1.85 0 4.1v7.8C0 14.15 1.85 16 4.1 16h3.5c.05 0 .1-.05.1-.1V.1c0-.05-.05-.1-.1-.1zM6.45 14.7H4.1c-1.55 0-2.8-1.25-2.8-2.8V4.1c0-1.55 1.25-2.8 2.8-2.8h2.3l.05 13.4zM2.5 4.8c0 .85.65 1.5 1.5 1.5s1.5-.65 1.5-1.5S4.85 3.3 4 3.3s-1.5.65-1.5 1.5z" fill="#000" fill-rule="nonzero"/></svg> <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><title>Shape</title><path d="M9.45 16h2.45c2.25 0 4.1-1.85 4.1-4.1V4.1C16 1.85 14.15 0 11.9 0H9.4c-.05 0-.1.05-.1.1v15.8c0 .05.05.1.15.1zm3.05-8.8c.9 0 1.6.75 1.6 1.6 0 .9-.75 1.6-1.6 1.6-.9 0-1.6-.7-1.6-1.6-.05-.9.7-1.6 1.6-1.6zM7.6 0H4.1C1.85 0 0 1.85 0 4.1v7.8C0 14.15 1.85 16 4.1 16h3.5c.05 0 .1-.05.1-.1V.1c0-.05-.05-.1-.1-.1zM6.45 14.7H4.1c-1.55 0-2.8-1.25-2.8-2.8V4.1c0-1.55 1.25-2.8 2.8-2.8h2.3l.05 13.4zM2.5 4.8c0 .85.65 1.5 1.5 1.5s1.5-.65 1.5-1.5S4.85 3.3 4 3.3s-1.5.65-1.5 1.5z" fill-rule="nonzero"/></svg>

Before

Width:  |  Height:  |  Size: 590 B

After

Width:  |  Height:  |  Size: 578 B

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16"><defs><path id="a" d="M7.623.101l-6.246 3.62A.757.757 0 0 0 1 4.377v7.244c0 .27.144.52.377.655L7.624 15.9a.754.754 0 0 0 .754 0l6.245-3.623a.76.76 0 0 0 .377-.655V4.377c0-.27-.144-.52-.378-.656L8.378.1a.757.757 0 0 0-.756 0"/></defs><use fill="#000" xlink:href="#a" fill-rule="evenodd"/></svg> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16"><defs><path id="a" d="M7.623.101l-6.246 3.62A.757.757 0 0 0 1 4.377v7.244c0 .27.144.52.377.655L7.624 15.9a.754.754 0 0 0 .754 0l6.245-3.623a.76.76 0 0 0 .377-.655V4.377c0-.27-.144-.52-.378-.656L8.378.1a.757.757 0 0 0-.756 0"/></defs><use xlink:href="#a" fill-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 396 B

After

Width:  |  Height:  |  Size: 384 B

View File

@ -1 +1 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><title>Shape</title><path fill="#000" fill-rule="nonzero" d="M8.901 9.723L5.895 12.8l.48-2.708-4.09-5.045L0 5.169 5.053 0v1.969l4.81 4.43 3.008-.737-3.126 3.322L16 16z"/></svg> <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><title>Shape</title><path fill-rule="nonzero" d="M8.901 9.723L5.895 12.8l.48-2.708-4.09-5.045L0 5.169 5.053 0v1.969l4.81 4.43 3.008-.737-3.126 3.322L16 16z"/></svg>

Before

Width:  |  Height:  |  Size: 236 B

After

Width:  |  Height:  |  Size: 224 B

View File

@ -1 +1 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M8 13.523c-.428.355-.87.67-1.316.945.388.604.83 1.12 1.316 1.532.485-.41.928-.928 1.316-1.532-.447-.274-.888-.59-1.316-.945zm4.32-1.982c.14 1.25.03 2.42-.32 3.39-1.018-.18-2.082-.67-3.09-1.41 1.366-.22 2.567-.94 3.41-1.97zm-8.64 0c.843 1.03 2.044 1.75 3.41 1.98-1.008.75-2.072 1.23-3.09 1.42-.35-.97-.46-2.14-.32-3.38zm8.225-.41c-.77.96-1.884 1.63-3.155 1.82.45-.42.878-.9 1.282-1.42.652-.09 1.28-.22 1.873-.39zm-7.81 0c.592.18 1.22.31 1.873.4.404.52.832 1 1.282 1.43-1.27-.19-2.386-.86-3.155-1.82zm2.178-6.12C6.808 4.3 7.39 3.66 8 3.11c.61.547 1.192 1.183 1.727 1.898.887.106 1.73.293 2.508.547-.17.8-.43 1.624-.78 2.445.35.82.61 1.644.78 2.445-.778.254-1.62.44-2.508.547-.535.715-1.118 1.35-1.727 1.898-.61-.547-1.192-1.183-1.727-1.898-.887-.106-1.73-.293-2.508-.547.17-.8.43-1.624.78-2.445-.35-.82-.61-1.644-.78-2.445.778-.254 1.62-.44 2.508-.547zM1.74 10.1c-.328.64-.555 1.28-.668 1.906.598.21 1.267.34 1.985.37.013-.526.066-1.066.16-1.615-.522-.19-1.016-.41-1.476-.66zm12.52 0c-.46.25-.955.474-1.477.667.094.55.147 1.09.16 1.616.718-.035 1.387-.16 1.985-.374-.113-.62-.34-1.26-.67-1.9zm-1.03-4.07c1.148.5 2.1 1.18 2.77 1.97-.67.79-1.622 1.47-2.77 1.97.23-.613.356-1.277.356-1.97 0-.693-.126-1.357-.357-1.97zm-10.46 0c-.23.613-.356 1.277-.356 1.97 0 .693.126 1.357.357 1.97C1.63 9.47.67 8.79 0 8c.67-.79 1.622-1.47 2.77-1.97zm9.887.147c.22.565.343 1.18.343 1.823s-.122 1.258-.343 1.823c-.145-.606-.345-1.215-.593-1.823.248-.608.448-1.217.593-1.823zm-9.314 0c.145.606.345 1.215.593 1.823-.248.608-.448 1.217-.593 1.823C3.123 9.258 3 8.643 3 8s.122-1.258.343-1.823zm-.286-2.55c-.718.034-1.387.16-1.985.373.113.625.34 1.267.67 1.906.46-.25.953-.474 1.475-.667-.094-.55-.147-1.09-.16-1.62zm9.886 0c-.013.523-.066 1.063-.16 1.612.522.19 1.016.41 1.476.66.32-.64.55-1.28.66-1.91-.6-.22-1.27-.34-1.99-.38zm-4.193-.57c1.27.19 2.386.86 3.155 1.82-.592-.175-1.22-.307-1.873-.396-.404-.52-.832-1-1.282-1.42zm-1.5 0c-.45.424-.878.904-1.282 1.424-.652.09-1.28.23-1.873.4.77-.96 1.884-1.63 3.155-1.82zm1.66-.57c1.008-.745 2.072-1.23 3.09-1.415.35.975.46 2.14.32 3.387-.843-1.03-2.044-1.75-3.41-1.98zM3.68 4.46c-.14-1.248-.03-2.414.32-3.39 1.018.185 2.082.67 3.09 1.415-1.366.225-2.567.946-3.41 1.972zm5.637-2.93C8.927.928 8.487.412 8 0c-.485.41-.928.928-1.316 1.532.447.274.888.59 1.316.945.428-.355.87-.67 1.316-.945z" fill="#000100"/></svg> <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M8 13.523c-.428.355-.87.67-1.316.945.388.604.83 1.12 1.316 1.532.485-.41.928-.928 1.316-1.532-.447-.274-.888-.59-1.316-.945zm4.32-1.982c.14 1.25.03 2.42-.32 3.39-1.018-.18-2.082-.67-3.09-1.41 1.366-.22 2.567-.94 3.41-1.97zm-8.64 0c.843 1.03 2.044 1.75 3.41 1.98-1.008.75-2.072 1.23-3.09 1.42-.35-.97-.46-2.14-.32-3.38zm8.225-.41c-.77.96-1.884 1.63-3.155 1.82.45-.42.878-.9 1.282-1.42.652-.09 1.28-.22 1.873-.39zm-7.81 0c.592.18 1.22.31 1.873.4.404.52.832 1 1.282 1.43-1.27-.19-2.386-.86-3.155-1.82zm2.178-6.12C6.808 4.3 7.39 3.66 8 3.11c.61.547 1.192 1.183 1.727 1.898.887.106 1.73.293 2.508.547-.17.8-.43 1.624-.78 2.445.35.82.61 1.644.78 2.445-.778.254-1.62.44-2.508.547-.535.715-1.118 1.35-1.727 1.898-.61-.547-1.192-1.183-1.727-1.898-.887-.106-1.73-.293-2.508-.547.17-.8.43-1.624.78-2.445-.35-.82-.61-1.644-.78-2.445.778-.254 1.62-.44 2.508-.547zM1.74 10.1c-.328.64-.555 1.28-.668 1.906.598.21 1.267.34 1.985.37.013-.526.066-1.066.16-1.615-.522-.19-1.016-.41-1.476-.66zm12.52 0c-.46.25-.955.474-1.477.667.094.55.147 1.09.16 1.616.718-.035 1.387-.16 1.985-.374-.113-.62-.34-1.26-.67-1.9zm-1.03-4.07c1.148.5 2.1 1.18 2.77 1.97-.67.79-1.622 1.47-2.77 1.97.23-.613.356-1.277.356-1.97 0-.693-.126-1.357-.357-1.97zm-10.46 0c-.23.613-.356 1.277-.356 1.97 0 .693.126 1.357.357 1.97C1.63 9.47.67 8.79 0 8c.67-.79 1.622-1.47 2.77-1.97zm9.887.147c.22.565.343 1.18.343 1.823s-.122 1.258-.343 1.823c-.145-.606-.345-1.215-.593-1.823.248-.608.448-1.217.593-1.823zm-9.314 0c.145.606.345 1.215.593 1.823-.248.608-.448 1.217-.593 1.823C3.123 9.258 3 8.643 3 8s.122-1.258.343-1.823zm-.286-2.55c-.718.034-1.387.16-1.985.373.113.625.34 1.267.67 1.906.46-.25.953-.474 1.475-.667-.094-.55-.147-1.09-.16-1.62zm9.886 0c-.013.523-.066 1.063-.16 1.612.522.19 1.016.41 1.476.66.32-.64.55-1.28.66-1.91-.6-.22-1.27-.34-1.99-.38zm-4.193-.57c1.27.19 2.386.86 3.155 1.82-.592-.175-1.22-.307-1.873-.396-.404-.52-.832-1-1.282-1.42zm-1.5 0c-.45.424-.878.904-1.282 1.424-.652.09-1.28.23-1.873.4.77-.96 1.884-1.63 3.155-1.82zm1.66-.57c1.008-.745 2.072-1.23 3.09-1.415.35.975.46 2.14.32 3.387-.843-1.03-2.044-1.75-3.41-1.98zM3.68 4.46c-.14-1.248-.03-2.414.32-3.39 1.018.185 2.082.67 3.09 1.415-1.366.225-2.567.946-3.41 1.972zm5.637-2.93C8.927.928 8.487.412 8 0c-.485.41-.928.928-1.316 1.532.447.274.888.59 1.316.945.428-.355.87-.67 1.316-.945z"/></svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1 +1 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M7.39 14.063H0L7.39 5.14v8.923zm8.61 0H8.61c0-2.043 1.652-3.696 3.695-3.696 2.042 0 3.695 1.655 3.695 3.696zM8.61 10.86V1.936H16L8.61 10.86zM7.39 1.936c0 2.04-1.654 3.696-3.695 3.696C1.655 5.632 0 3.978 0 1.937h7.39z" fill="#0e0000"/></svg> <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M7.39 14.063H0L7.39 5.14v8.923zm8.61 0H8.61c0-2.043 1.652-3.696 3.695-3.696 2.042 0 3.695 1.655 3.695 3.696zM8.61 10.86V1.936H16L8.61 10.86zM7.39 1.936c0 2.04-1.654 3.696-3.695 3.696C1.655 5.632 0 3.978 0 1.937h7.39z"/></svg>

Before

Width:  |  Height:  |  Size: 399 B

After

Width:  |  Height:  |  Size: 384 B

View File

@ -1 +1 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M13.853 12.497c-.497.475-1.04.678-1.695.678-.88 0-2.214-.407-3.23-1.107-1.086-.746-2.51-1.492-3.708-1.514.882-1.198 2.26-2.418 3.548-3.865.475-.52 3.322-3.8 3.82-4.39.36-.43.542-.95.542-1.47 0-.2-.023-.39-.068-.57-1.356.27-2.373.4-4 .4C7.277.67 5.99.45 5.242 0c-.52.678-1.04 1.582-1.04 2.08 0 .632.612 1.152 2.126 1.152.497 0 1.31-.023 2.44-.113-2.328 3-4.632 5.44-6.01 6.98-.476.52-.747 1.22-.747 1.92 0 .27.05.54.12.79.43-.07.86-.12 1.31-.12.93 0 1.86.2 2.72.56 1.71.76 3.31 2.75 5.12 2.75 1.47 0 2.71-1.16 2.71-2.69 0-.27-.04-.55-.13-.82z" fill="#0e0000" fill-rule="nonzero"/></svg> <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M13.853 12.497c-.497.475-1.04.678-1.695.678-.88 0-2.214-.407-3.23-1.107-1.086-.746-2.51-1.492-3.708-1.514.882-1.198 2.26-2.418 3.548-3.865.475-.52 3.322-3.8 3.82-4.39.36-.43.542-.95.542-1.47 0-.2-.023-.39-.068-.57-1.356.27-2.373.4-4 .4C7.277.67 5.99.45 5.242 0c-.52.678-1.04 1.582-1.04 2.08 0 .632.612 1.152 2.126 1.152.497 0 1.31-.023 2.44-.113-2.328 3-4.632 5.44-6.01 6.98-.476.52-.747 1.22-.747 1.92 0 .27.05.54.12.79.43-.07.86-.12 1.31-.12.93 0 1.86.2 2.72.56 1.71.76 3.31 2.75 5.12 2.75 1.47 0 2.71-1.16 2.71-2.69 0-.27-.04-.55-.13-.82z" fill-rule="nonzero"/></svg>

Before

Width:  |  Height:  |  Size: 744 B

After

Width:  |  Height:  |  Size: 729 B

View File

@ -60,6 +60,29 @@
{% if rgbBlue < rgbMin %} {% if rgbBlue < rgbMin %}
{% assign rgbMin = rgbBlue %} {% assign rgbMin = rgbBlue %}
{% endif %} {% endif %}
{% if rgbRed <= 0.03928 %}
{% assign lRed = rgbRed | divided_by: 12.92 | times: 0.2126 %}
{% else %}
{% assign lRed = rgbRed | times: 0.3053 | plus: 0.6822 | times: rgbRed | plus: 0.0125 | times: rgbRed | times: 0.2126 %}
{% endif %}
{% if rgbGreen <= 0.03928 %}
{% assign lGreen = rgbGreen | divided_by: 12.92 | times: 0.7152 %}
{% else %}
{% assign lGreen = rgbGreen | times: 0.3053 | plus: 0.6822 | times: rgbGreen | plus: 0.0125 | times: rgbGreen | times: 0.7152 %}
{% endif %}
{% if rgbBlue <= 0.03928 %}
{% assign lBlue = rgbBlue | divided_by: 12.92 | times: 0.0722 %}
{% else %}
{% assign lBlue = rgbBlue | times: 0.3053 | plus: 0.6822 | times: rgbBlue | plus: 0.0125 | times: rgbBlue | times: 0.0722 %}
{% endif %}
{% assign luminance = lRed | plus: lGreen | plus: lBlue %}
{% if luminance >= 0.83 %}
{% assign class = "grid-item--dark" %}
{% else %}
{% assign class = "grid-item--light" %}
{% endif %}
{% assign hslLuminance = rgbMax | plus: rgbMin | times: 50.0 %} {% assign hslLuminance = rgbMax | plus: rgbMin | times: 50.0 %}
{% assign rgbDelta = rgbMax | minus: rgbMin %} {% assign rgbDelta = rgbMax | minus: rgbMin %}
{% if rgbDelta == 0 %} {% if rgbDelta == 0 %}
@ -84,10 +107,10 @@
{% endif %} {% endif %}
{% if hslSaturation < 10 %} {% if hslSaturation < 10 %}
{% assign hslLuminance = hslLuminance | round: 0 | prepend: "000" | slice: -3, 3 %} {% assign hslLuminance = hslLuminance | round: 0 | prepend: "000" | slice: -3, 3 %}
{% capture greyscaleIconsUnsortedString %}{{ greyscaleIconsUnsortedString }}{{ hslLuminance }},{{ filename }},{{ hslHue }},{{ hslSaturation }},{{ hex }},{{ title }}{% unless forloop.last %};{% endunless %}{% endcapture %} {% capture greyscaleIconsUnsortedString %}{{ greyscaleIconsUnsortedString }}{{ hslLuminance }},{{ filename }},{{ hslHue }},{{ hslSaturation }},{{ hex }},{{ title }},{{ class }}{% unless forloop.last %};{% endunless %}{% endcapture %}
{% else %} {% else %}
{% assign hslHue = hslHue | round: 0 | prepend: "000" | slice: -3, 3 %} {% assign hslHue = hslHue | round: 0 | prepend: "000" | slice: -3, 3 %}
{% capture iconsUnsortedString %}{{ iconsUnsortedString }}{{ hslHue }},{{ hslSaturation }},{{ hslLuminance }},{{ filename }},{{ hex }},{{ title }}{% unless forloop.last %};{% endunless %}{% endcapture %} {% capture iconsUnsortedString %}{{ iconsUnsortedString }}{{ hslHue }},{{ hslSaturation }},{{ hslLuminance }},{{ filename }},{{ hex }},{{ title }},{{ class }}{% unless forloop.last %};{% endunless %}{% endcapture %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% assign iconsArray = iconsUnsortedString | split: ";" %} {% assign iconsArray = iconsUnsortedString | split: ";" %}
@ -154,14 +177,11 @@
} }
svg { svg {
fill: currentColor;
height: 1.5rem; height: 1.5rem;
width: 1.5rem; width: 1.5rem;
} }
path, rect, circle {
fill: #FFF;
}
#carbonads { #carbonads {
height: 100%; height: 100%;
width: 100%; width: 100%;
@ -340,6 +360,15 @@
background-color: #757575; background-color: #757575;
text-align: center; text-align: center;
} }
.grid-item--light {
color: #FFF;
}
.grid-item--dark {
color: #222;
}
.grid-item__link {
color: inherit;
}
@supports not (display: grid) { @supports not (display: grid) {
.grid-item { .grid-item {
border: 0.1875rem solid #FFF; border: 0.1875rem solid #FFF;
@ -366,7 +395,6 @@
} }
.grid-item__link { .grid-item__link {
color: #FFFFFF;
display: block; display: block;
padding: 1rem 1rem 0; padding: 1rem 1rem 0;
text-align: center; text-align: center;
@ -389,7 +417,6 @@
} }
.grid-item__subtitle { .grid-item__subtitle {
color: #FFFFFF;
font-size: 0.75rem; font-size: 0.75rem;
line-height: 1rem; line-height: 1rem;
margin: 0; margin: 0;
@ -461,7 +488,7 @@
</li> </li>
{% for icon in iconsArray %} {% for icon in iconsArray %}
{% assign iconArray = icon | split: "," %} {% assign iconArray = icon | split: "," %}
<li class="grid-item" style="background-color: #{{ iconArray[4] }}"> <li class="grid-item {{ iconArray[6] }}" style="background-color: #{{ iconArray[4] }}">
<a class="grid-item__link" href="/icons/{{ iconArray[3] }}.svg" download> <a class="grid-item__link" href="/icons/{{ iconArray[3] }}.svg" download>
{% assign filePath = iconArray[3] | prepend: "icons/" | append: ".svg" %} {% assign filePath = iconArray[3] | prepend: "icons/" | append: ".svg" %}
{% include_relative {{ filePath }} %} {% include_relative {{ filePath }} %}
@ -472,7 +499,7 @@
{% endfor %} {% endfor %}
{% for icon in greyscaleIconsArray %} {% for icon in greyscaleIconsArray %}
{% assign iconArray = icon | split: "," %} {% assign iconArray = icon | split: "," %}
<li class="grid-item" style="background-color: #{{ iconArray[4] }}"> <li class="grid-item {{ iconArray[6] }}" style="background-color: #{{ iconArray[4] }}">
<a class="grid-item__link" href="/icons/{{ iconArray[1] }}.svg" download> <a class="grid-item__link" href="/icons/{{ iconArray[1] }}.svg" download>
{% assign filePath = iconArray[1] | prepend: "icons/" | append: ".svg" %} {% assign filePath = iconArray[1] | prepend: "icons/" | append: ".svg" %}
{% include_relative {{ filePath }} %} {% include_relative {{ filePath }} %}

14
package.json Normal file
View File

@ -0,0 +1,14 @@
{
"name": "simple-icons",
"version": "1.0.0",
"description": "SVG icons for popular brands https://simpleicons.org",
"homepage": "https://www.simpleicons.org",
"keywords": [
"svg",
"icons"
],
"main": "_data/simple-icons.json",
"repository": "git@github.com:danleech/simple-icons.git",
"author": "Dan Leech",
"license": "CCO"
}