Release 4 new icons and 10 updated icons (v3.1.0)

# New Icons

- Drooble (#3231)
- IFTTT (#3304)
- JPEG (#3303)
- Planet (#3274)

# Updated Icons

- Ardour (#3256)
- Basecamp (#3277)
- Celery (#3256)
- CentOS (#3256)
- Cloudsmith (#3256)
- deepin (#3256)
- JetBrains (#3256)
- KTM (#3256)
- Nucleo (#3285)
- uBlock Origin (#3256)
This commit is contained in:
github-actions[bot] 2020-07-14 05:44:38 +00:00 committed by GitHub
commit f769131317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 445 additions and 310 deletions

File diff suppressed because one or more lines are too long

View File

@ -3,10 +3,11 @@ const { htmlFriendlyToTitle } = require("./scripts/utils.js");
const getBounds = require("svg-path-bounding-box");
const titleRegexp = /(.+) icon$/;
const svgRegexp = /^<svg.*<\/svg>\r?\n?$/;
const svgRegexp = /^<svg( [^\s]*=".*"){3}><title>.*<\/title><path d=".*"\/><\/svg>\r?\n?$/;
const iconSize = 24;
const iconFloatPrecision = 3;
const iconTolerance = 0.001;
const iconIgnored = require("./.svglint-ignored.json");
module.exports = {
@ -58,7 +59,7 @@ module.exports = {
reporter.name = "icon-size";
const iconPath = $.find("path").attr("d");
if (iconIgnored.hasOwnProperty(iconPath)) {
if (iconIgnored.size.hasOwnProperty(iconPath)) {
return;
}
@ -77,9 +78,34 @@ module.exports = {
const rawSVG = $.html();
if (!svgRegexp.test(rawSVG)) {
reporter.error("Unexpected character(s) detected outside the opening and/or closing <svg> tags");
reporter.error("Unexpected character(s), most likely extraneous whitespace, detected in SVG markup");
}
},
function(reporter, $, ast) {
reporter.name = "icon-centered";
const iconPath = $.find("path").attr("d");
const bounds = getBounds(iconPath);
if (
iconIgnored.size.hasOwnProperty(iconPath) ||
iconIgnored.center.hasOwnProperty(iconPath)
) {
return
}
const targetCenter = iconSize / 2;
const centerX = +((bounds.minX + bounds.maxX) / 2).toFixed(iconFloatPrecision);
const devianceX = centerX - targetCenter;
const centerY = +((bounds.minY + bounds.maxY) / 2).toFixed(iconFloatPrecision);
const devianceY = centerY - targetCenter;
if (
Math.abs(devianceX) > iconTolerance ||
Math.abs(devianceY) > iconTolerance
) {
reporter.error(`<path> must be centered at (${targetCenter}, ${targetCenter}); the center is currently (${centerX}, ${centerY})`);
}
}
]
}
};

View File

@ -737,7 +737,7 @@
},
{
"title": "Basecamp",
"hex": "5ECC62",
"hex": "1D2D35",
"source": "https://basecamp.com/about/press"
},
{
@ -1665,6 +1665,11 @@
"hex": "212121",
"source": "https://github.com/drone/brand"
},
{
"title": "Drooble",
"hex": "19C4BE",
"source": "https://blog.drooble.com/press/"
},
{
"title": "Dropbox",
"hex": "0061FF",
@ -2925,6 +2930,11 @@
"hex": "EA1D2C",
"source": "https://ifood.com.br/"
},
{
"title": "IFTTT",
"hex": "000000",
"source": "https://ifttt.com/discover/brand-guidelines"
},
{
"title": "iHeartRadio",
"hex": "C6002B",
@ -3150,6 +3160,11 @@
"hex": "5091CD",
"source": "https://docs.joomla.org/Joomla:Brand_Identity_Elements"
},
{
"title": "JPEG",
"hex": "8A8A8A",
"source": "https://jpeg.org/contact.html"
},
{
"title": "jQuery",
"hex": "0769AD",
@ -4192,8 +4207,8 @@
},
{
"title": "Nucleo",
"hex": "766DCC",
"source": "https://nucleoapp.com/wp-content/themes/nucleo-webapp-12/img/logo.svg"
"hex": "111111",
"source": "https://nucleoapp.com/"
},
{
"title": "NuGet",
@ -4570,6 +4585,11 @@
"hex": "F86001",
"source": "https://www.pjsip.org/favicon.ico"
},
{
"title": "Planet",
"hex": "009DB1",
"source": "https://www.planet.com/explorer/"
},
{
"title": "PlanGrid",
"hex": "0085DE",

View File

@ -1 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Basecamp icon</title><path d="M12 2C5.54 2 .48 10.22 0 17.16 2.028 20.68 6.915 22 12 22s9.975-1.32 12-4.84C23.52 10.218 18.46 2 12 2zm.15 18.4c-9.54 0-10.456-4.034-10.456-4.034l.18-.976S4.5 9.72 6.15 9.72s2.34 2.34 3.69 2.34 4.274-5.19 5.324-5.19c1.047 0 2.82 1.95 4.27 3.75 1.45 1.802 2.878 4.887 2.878 4.887l-.008.034.15.886S21.688 20.4 12.148 20.4z"/></svg>
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Basecamp icon</title><path d="M12.6516 22.453c-4.0328 0-7.575-1.5542-10.244-4.4946a1.11 1.11 0 0 1-.219-1.1338c.7008-1.8884 2.5935-6.2808 5.0205-6.2948h.0125c1.219 0 2.1312.9655 2.8648 1.7412.2192.2324.555.5875.7818.7611.5656-.5587 1.6775-2.4158 2.5422-4.2779.259-.5567.9203-.7985 1.4765-.5402.557.2584.7988.919.5404 1.4762-2.6217 5.6503-4.019 5.6503-4.478 5.6503-1.022 0-1.7628-.7843-2.4791-1.5422-.3208-.339-.9878-1.045-1.2482-1.045h-.0004c-.5665.095-1.8085 2.0531-2.6966 4.2034 2.1925 2.1722 4.9232 3.2726 8.1266 3.2726 4.3955 0 7.683-1.1964 9.0996-3.2953-.4888-5.585-3.5642-13.1634-9.0996-13.1634-4.6855 0-8.2152 3.264-10.4915 9.7007-.205.579-.8416.8828-1.4187.6776-.5789-.2047-.882-.8398-.6776-1.4185 2.624-7.421 6.859-11.1833 12.5878-11.1833 7.4826 0 10.9304 9.5613 11.3458 15.588a1.1154 1.1154 0 0 1-.1456.6314c-1.7407 3.0221-5.7182 4.6864-11.2002 4.6864Z"/></svg>

Before

Width:  |  Height:  |  Size: 438 B

After

Width:  |  Height:  |  Size: 949 B

1
icons/drooble.svg Normal file
View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Drooble icon</title><path d="M24 11.986a7.599 7.599 0 0 0-7-7.559v7.574a5 5 0 0 1-10 0c0-3.604 3.707-6.022 7-4.583V.17C6.615-1.069 0 4.63 0 12c0 6.628 5.373 12 12 12 6.628 0 12-5.372 12-12v-.014m-14 .015a2 2 0 1 0 4 0 2 2 0 0 0-4 0m14-.015a7.599 7.599 0 0 0-7-7.559v7.574a5 5 0 0 1-10 0c0-3.604 3.707-6.022 7-4.583V.17C6.615-1.069 0 4.63 0 12c0 6.628 5.373 12 12 12 6.628 0 12-5.372 12-12v-.014m-14 .015a2 2 0 1 0 4 0 2 2 0 0 0-4 0Z"/></svg>

After

Width:  |  Height:  |  Size: 520 B

1
icons/ifttt.svg Normal file
View File

@ -0,0 +1 @@
<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>IFTTT icon</title><path d="M0 8.82h2.024v6.36H0zm11.566 0h-3.47v2.024h1.446v4.337h2.024v-4.337h1.446V8.82zm5.494 0h-3.47v2.024h1.446v4.337h2.024v-4.337h1.446V8.82zm5.494 0h-3.47v2.024h1.446v4.337h2.024v-4.337H24V8.82zM7.518 10.843V8.82H2.892v6.36h2.024v-1.734H6.65v-2.024H4.916v-.578z"/></svg>

After

Width:  |  Height:  |  Size: 371 B

1
icons/jpeg.svg Normal file
View File

@ -0,0 +1 @@
<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>JPEG icon</title><path d="M8.559 20.407c-.63 0-1.08-.026-1.08-.026V17.22h1.073c1.19 0 1.95.33 1.95 1.426 0 .93-.329 1.76-1.943 1.76m.028-3.965H6.61V24h.87v-2.797h1.275c1.783 0 2.634-1.096 2.634-2.483 0-1.413-.871-2.279-2.8-2.279M13.37 20.571h3.063v-.812H13.37v-2.55h3.548v-.768H12.5v7.42h4.566v-.768H13.37zM21.485 19.938v.753h1.289v1.866c-.395.587-1.452.587-1.452.587-.805 0-1.454-.277-1.927-.838-.47-.558-.707-1.158-.707-2.06 0-.947.235-1.675.711-2.257.482-.583 1.15-.905 1.982-.905.427 0 .884.131 1.33.405l.538-.602c-.482-.396-1.096-.593-1.84-.593-1.11 0-2.005.361-2.656 1.08-.657.715-.99 1.668-.99 2.832s.305 2.043.9 2.745c.591.692 1.42 1.047 2.44 1.047.46 0 .932-.043 1.423-.197.378-.12.508-.216 1.075-.216v-3.647zM3.856 16.441h-.584v.768h.584v3.571c0 1.101.033 1.746-.345 2.124a1.267 1.267 0 01-.865.367c-1.362 0-1.412-1.091-1.412-1.091H.4c.08 1.942 2.362 1.813 2.362 1.813.607-.033 1.087-.233 1.462-.609.495-.499.507-1.422.507-2.192v-4.75zM17.352 0H3.063v14.282h8.266V8.271h6.023zM18.038 9.067h5.213v5.216h-5.213z"/></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Nucleo icon</title><path d="M7.247 22.499c1.488.661 3.058 1.075 4.794 1.075 1.736 0 3.39-.414 4.795-1.075-1.57-1.075-3.224-2.397-4.795-3.803-1.57 1.406-3.224 2.728-4.794 3.803zm14.715-4.63A11.75 11.75 0 0 0 23.532 12c0-1.736-.413-3.39-1.074-4.795-1.736 2.563-4.216 5.456-7.027 8.267-.579.579-1.24 1.24-1.902 1.819-.248-.248-.496-.496-.826-.744a20.637 20.637 0 0 0 1.901-1.902c3.059-3.058 5.622-6.117 7.275-8.68 1.901-2.893 2.397-4.712 1.57-5.621-.082-.166-.495-.331-.909-.331-.992 0-2.645.744-4.63 2.067-1.735-.992-3.72-1.654-5.869-1.654-2.15 0-4.133.579-5.87 1.654C4.189.757 2.535.013 1.543.013 1.046.013.716.178.468.426-1.516 2.41 4.684 10.1 9.313 14.728c5.456 5.456 10.913 9.259 13.227 9.259.496 0 .827-.165 1.075-.413.827-.827.33-2.728-1.57-5.622l-.083-.083zm.578-16.781c.083 0 .248 0 .331.082.248.248.165 1.323-1.488 3.968-.661-.909-1.488-1.818-2.48-2.48 1.653-.992 2.893-1.57 3.637-1.57zM2.7 5.138C1.294 2.906.88 1.501 1.212 1.17c.082-.082.248-.082.33-.082.744 0 1.984.578 3.638 1.57a17.58 17.58 0 0 0-2.48 2.48zM22.87 22.83c-.083.082-.248.082-.33.082-.745 0-1.985-.578-3.638-1.57.91-.662 1.819-1.488 2.48-2.48 1.653 2.645 1.736 3.72 1.488 3.968zm-12.152-5.374c-.744-.661-1.488-1.323-2.15-2.067-2.728-2.728-5.373-5.786-7.027-8.266C.881 8.61.468 10.264.468 11.917c0 2.15.578 4.134 1.57 5.87l-.082.082C.054 20.763-.442 22.582.385 23.491c.248.248.661.413 1.075.413 1.818 0 5.539-2.314 9.672-5.952a3.13 3.13 0 0 1-.413-.496zm-9.177 5.456c-.082 0-.248 0-.33-.082-.248-.248-.166-1.323 1.488-3.968.661.909 1.488 1.736 2.48 2.48-1.654.992-2.894 1.57-3.638 1.57z"/></svg>
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Nucleo icon</title><path d="M13.7993 12A1.7994 1.7994 0 0 1 12 13.7994 1.7994 1.7994 0 0 1 10.2006 12 1.7994 1.7994 0 0 1 12 10.2006 1.7994 1.7994 0 0 1 13.7993 12m1.4731 3.2622a35.2223 35.2223 0 0 1-3.3126 2.9618 44.0775 44.0775 0 0 1-3.3126-2.9618 35.2127 35.2127 0 0 1-2.9611-3.3126A35.2127 35.2127 0 0 1 8.6472 8.637a43.9342 43.9342 0 0 1 3.3126-2.9611 43.9342 43.9342 0 0 1 3.3126 2.9611 35.1287 35.1287 0 0 1 2.9611 3.3126 29.2652 29.2652 0 0 1-2.961 3.3126m1.004-7.5806a40.9184 40.9184 0 0 0-3.1621-2.861c2.9611-2.1592 5.722-3.4632 7.6292-3.4632a1.8893 1.8893 0 0 1 1.4053.4523c1.1042 1.1042.2507 4.2662-2.359 8.0803h1.656a25.0968 25.0968 0 0 0 1.4054-2.4592c1.4053-3.0115 1.506-5.32.2999-6.5748a3.6587 3.6587 0 0 0-2.458-.8517c-3.2124 0-8.3333 3.0115-12.9997 7.6773a40.9184 40.9184 0 0 0-2.861 3.162C1.721 6.5792.6672 2.9655 1.8212 1.8115a1.9685 1.9685 0 0 1 1.4053-.4523c1.707 0 4.1157 1.0545 6.6755 2.8112V2.5642C7.3924.9076 5.0335.0043 3.2264.0043a3.2292 3.2292 0 0 0-2.359.8535c-1.2547 1.2548-1.103 3.5633.3017 6.5748 1.3045 2.8106 3.6635 5.9223 6.5244 8.8337a40.9184 40.9184 0 0 0 3.1621 2.861c-2.9108 2.1592-5.722 3.463-7.6293 3.463a1.8917 1.8917 0 0 1-1.4052-.454c-1.1042-1.1042-.2508-4.2662 2.359-8.0808H2.5743a25.167 25.167 0 0 0-1.4053 2.459c-1.4047 3.014-1.506 5.322-.3017 6.5779a3.2316 3.2316 0 0 0 2.359.8529c3.2124 0 8.3321-3.0115 12.9997-7.6772a40.808 40.808 0 0 0 2.861-3.1621c3.1092 4.2645 4.166 7.8782 3.0114 9.0303a1.8905 1.8905 0 0 1-1.4052.4517c-1.7064 0-4.1158-1.0538-6.6756-2.8106v1.656c2.5598 1.6086 4.9188 2.5623 6.6756 2.5623a3.2292 3.2292 0 0 0 2.3589-.8535c1.2548-1.2548 1.1042-3.5633-.2999-6.5748-1.256-2.861-3.6149-5.9727-6.4759-8.8858Z"/></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

1
icons/planet.svg Normal file
View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Planet icon</title><path d="M12.891 6.582c-1.159 0-2.4.457-3.217 1.633h-.033a1.59 1.59 0 0 0-1.59-1.59h-.048v10.86a1.792 1.792 0 0 0 1.784 1.784v-4.703h.034c.343.571 1.29 1.536 3.185 1.536 2.857 0 4.572-2.352 4.572-4.638.002-2.416-1.616-4.882-4.687-4.882zm-.066 7.975c-1.714 0-3.07-1.388-3.07-3.217 0-1.666 1.242-3.2 3.023-3.2 1.845 0 3.103 1.616 3.103 3.233-.001 1.905-1.455 3.184-3.056 3.184zM12.001 24A12 12 0 1 1 24 12.001 12.013 12.013 0 0 1 12.001 24zm0-22.856a10.861 10.861 0 1 0 10.861 10.862 10.87 10.87 0 0 0-10.86-10.862z"/></svg>

After

Width:  |  Height:  |  Size: 619 B

View File

@ -229,7 +229,7 @@
</li>
{% for icon in iconsArray %}
{% assign iconArray = icon | split: "," %}
<li class="grid-item {{ iconArray[6] }}" style="background-color: #{{ iconArray[4] }}; --order-alpha: {{ iconArray[7] }}">
<li class="grid-item {{ iconArray[6] }}" style="background-color: #{{ iconArray[4] }}; --order-alpha: {{ iconArray[8] }}">
<a class="grid-item__link" href="/icons/{{ iconArray[3] }}.svg" download>
{% assign filePath = iconArray[3] | prepend: "icons/" | append: ".svg" %}
{% include_relative {{ filePath }} %}
@ -240,7 +240,7 @@
{% endfor %}
{% for icon in greyscaleIconsArray %}
{% assign iconArray = icon | split: "," %}
<li class="grid-item {{ iconArray[6] }}" style="background-color: #{{ iconArray[4] }}; --order-alpha: {{ iconArray[7] }}">
<li class="grid-item {{ iconArray[6] }}" style="background-color: #{{ iconArray[4] }}; --order-alpha: {{ iconArray[8] }}">
<a class="grid-item__link" href="/icons/{{ iconArray[1] }}.svg" download>
{% assign filePath = iconArray[1] | prepend: "icons/" | append: ".svg" %}
{% include_relative {{ filePath }} %}

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "simple-icons",
"version": "3.0.1",
"version": "3.1.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "simple-icons",
"version": "3.0.1",
"version": "3.1.0",
"description": "SVG icons for popular brands https://simpleicons.org",
"homepage": "https://www.simpleicons.org",
"keywords": [