mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-11-16 00:59:07 +02:00
Adds download links to icon tiles
This commit is contained in:
parent
9a0cc68bda
commit
08a49f46aa
@ -168,6 +168,7 @@
|
||||
@color-brand-odnoklassniki: #F4731C;
|
||||
@color-brand-onedrive: #094AB2;
|
||||
@color-brand-opera: #FF1B2D;
|
||||
@color-brand-origin: #F56C2D;
|
||||
@color-brand-overcast: #FC7E0F;
|
||||
@color-brand-patreon: #E6461A;
|
||||
@color-brand-paypal: #00457C;
|
||||
|
@ -168,6 +168,7 @@ $color-brand-oculus: #1C1E20;
|
||||
$color-brand-odnoklassniki: #F4731C;
|
||||
$color-brand-onedrive: #094AB2;
|
||||
$color-brand-opera: #FF1B2D;
|
||||
$color-brand-origin: #F56C2D;
|
||||
$color-brand-overcast: #FC7E0F;
|
||||
$color-brand-patreon: #E6461A;
|
||||
$color-brand-paypal: #00457C;
|
||||
|
1
icons/origin.svg
Normal file
1
icons/origin.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8.392 2.073a5.876 5.876 0 0 1 2.278.613 5.843 5.843 0 0 1 1.804 1.396c.5.577.882 1.235 1.143 1.975s.365 1.519.31 2.335c-.022.424-.09.835-.204 1.232a6.235 6.235 0 0 1-.449 1.135c-.294.566-.62 1.102-.98 1.608-.359.506-.75.977-1.175 1.413-.425.435-.876.835-1.355 1.2-.479.364-.98.693-1.502.987l-.025.017a.134.134 0 0 1-.073.016.196.196 0 0 1-.106-.065.173.173 0 0 1-.041-.115.18.18 0 0 1 .008-.057.102.102 0 0 1 .025-.04c.185-.262.337-.537.457-.825.12-.288.201-.59.245-.906a.078.078 0 0 0-.025-.057.078.078 0 0 0-.057-.025 5.657 5.657 0 0 1-.53.041 3.433 3.433 0 0 1-.531-.024 5.876 5.876 0 0 1-2.278-.613 5.843 5.843 0 0 1-1.804-1.396 6.061 6.061 0 0 1-1.143-1.975 5.786 5.786 0 0 1-.31-2.335c.022-.424.09-.835.204-1.232.114-.398.264-.77.45-1.119.293-.577.62-1.118.979-1.624s.75-.977 1.175-1.413c.425-.435.876-.835 1.355-1.2.48-.364.98-.693 1.502-.987l.025-.017A.134.134 0 0 1 7.837 0c.044.01.08.033.106.065.028.033.041.071.041.115a.18.18 0 0 1-.008.057.102.102 0 0 1-.024.04 4.227 4.227 0 0 0-.458.825c-.12.288-.2.59-.244.906 0 .022.008.041.024.057a.078.078 0 0 0 .057.025c.174-.022.351-.036.53-.041.18-.005.357.003.531.024zm-.538 8.245a2.214 2.214 0 0 0 1.681-.571c.48-.425.74-.958.784-1.6a2.24 2.24 0 0 0-.571-1.69 2.196 2.196 0 0 0-1.6-.775 2.24 2.24 0 0 0-1.69.571 2.196 2.196 0 0 0-.776 1.6 2.255 2.255 0 0 0 .564 1.69c.419.484.955.743 1.608.775z" fill-rule="evenodd"/></svg>
|
After Width: | Height: | Size: 1.4 KiB |
572
index.html
572
index.html
File diff suppressed because one or more lines are too long
@ -95,7 +95,7 @@ for (var i = 0; i < source.icons.length; i++) {
|
||||
filePath = "../icons/" + fileName + ".svg";
|
||||
var fs = require('fs');
|
||||
var svg = fs.readFileSync(filePath, 'utf8');
|
||||
main += "\n<li style=\"background-color:#" + source.icons[i].hex + "\"><a href=\"https://github.com/danleech/simple-icons/blob/gh-pages/icons/" + fileName + ".svg\" class=\"icon--link\">" + svg + "<h2>" + source.icons[i].title + "</h2></a>" + "<span>#" + source.icons[i].hex + "</span></li>";
|
||||
main += "\n<li style=\"background-color:#" + source.icons[i].hex + "\"><a href=\"/icons/" + fileName + ".svg\" class=\"icon--link\" download=\"/icons/" + fileName + ".svg\">" + svg + "<h2>" + source.icons[i].title + "</h2></a>" + "<span>#" + source.icons[i].hex + "</span></li>";
|
||||
}
|
||||
|
||||
// Put all content together and export to index.html
|
||||
|
@ -850,6 +850,11 @@
|
||||
"hex": "FF1B2D",
|
||||
"source": "https://github.com/operasoftware/logo"
|
||||
},
|
||||
{
|
||||
"title": "Origin",
|
||||
"hex": "F56C2D",
|
||||
"source": "https://www.origin.com/gbr/en-us/store"
|
||||
},
|
||||
{
|
||||
"title": "Overcast",
|
||||
"hex": "FC7E0F",
|
||||
|
Loading…
Reference in New Issue
Block a user