Skip to content

Commit

Permalink
Release 2 new icons and 1 updated icon (v5.1.0)
Browse files Browse the repository at this point in the history
# New Icons

- Construct 3 (simple-icons#5515)
- Paddy Power (simple-icons#5744)

# Updated Icons

- ManageIQ (simple-icons#5165)
  • Loading branch information
ericcornelissen authored Jun 6, 2021
2 parents 7cdc8ac + 8cf7175 commit 9b5f374
Show file tree
Hide file tree
Showing 13 changed files with 52 additions and 15 deletions.
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Documentation
about: Report problems and suggest ideas for the documentation
labels: docs
---

<!-- Before opening a new issue search for duplicate or closed issues -->


### Kind of issue <!-- Change the one that applies to `[x]` -->
- [ ] Improvement
- [ ] Mistake
- [ ] Other, namely:

### Description


<!--
Anything relevant, for example:
- A (perma)link to the documentation
- For improvements: Suggested for how to improve
- For mistakes: Suggested fixes
-->
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/icon_request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Icon request
about: Request a new icon for SimpleIcons
about: Request a new icon for Simple Icons
labels: new icon
---

Expand All @@ -23,7 +23,7 @@ labels: new icon

**Official resources for icon and color:**
<!-- for example media kits, brand guidelines, SVG files, etc. -->

<!-- For more details on our processes please see our contributing
guidelines, which can be found at
https://github.com/simple-icons/simple-icons/blob/develop/CONTRIBUTING.md -->
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/package.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Packages
about: Issues and improvements for the packages
about: Report problems and suggest ideas for the packages
labels: package
---

Expand Down
1 change: 0 additions & 1 deletion .svglint-ignored.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .svglintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const fs = require('fs');
const data = require("./_data/simple-icons.json");
const { htmlFriendlyToTitle } = require("./scripts/utils.js");
const svgpath = require("svgpath");
const { svgPathBbox } = require("svg-path-bbox");
const svgPathBbox = require("svg-path-bbox");
const parsePath = require("svg-path-segments");

const svgRegexp = /^<svg( [^\s]*=".*"){3}><title>.*<\/title><path d=".*"\/><\/svg>\r?\n?$/;
Expand Down Expand Up @@ -177,7 +177,7 @@ module.exports = {
if (precisionMax > iconMaxFloatPrecision) {
let errorMsg = `found ${precisionMax} decimals in segment "${iconPath.substring(segment.start, segment.end)}"`;
if (segment.chained) {
let readableChain = iconPath.substring(segment.chainStart, chainEnd);
let readableChain = iconPath.substring(segment.chainStart, segment.chainEnd);
if (readableChain.length > 20) {
readableChain = `${readableChain.substring(0, 20)}...`;
}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ This is useful if you want to do a computation on every icon:
```javascript
const simpleIcons = require('simple-icons');

for (const title in simpleIcons) {
const icon = simpleIcons.Get(title);
for (const iconSlug in simpleIcons) {
const icon = simpleIcons.Get(iconSlug);
// do stuff
}
```
Expand Down
11 changes: 11 additions & 0 deletions _data/simple-icons.json
Original file line number Diff line number Diff line change
Expand Up @@ -1851,6 +1851,12 @@
"hex": "172B4D",
"source": "https://www.atlassian.com/company/news/press-kit"
},
{
"title": "Construct 3",
"hex": "00FFDA",
"source": "https://www.construct.net/",
"guidelines": "https://www.construct.net/"
},
{
"title": "Consul",
"hex": "F24C53",
Expand Down Expand Up @@ -6360,6 +6366,11 @@
"type": "MIT"
}
},
{
"title": "Paddy Power",
"hex": "004833",
"source": "https://www.paddypower.com/"
},
{
"title": "Pagekit",
"hex": "212121",
Expand Down
1 change: 1 addition & 0 deletions icons/construct3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion icons/manageiq.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/paddypower.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-icons",
"version": "5.0.0",
"version": "5.1.0",
"description": "SVG icons for popular brands https://simpleicons.org",
"homepage": "https://simpleicons.org",
"keywords": [
Expand All @@ -23,7 +23,7 @@
"jest-diff": "26.6.2",
"jsonschema": "1.4.0",
"npm-run-all": "4.1.5",
"svg-path-bbox": "0.2.0",
"svg-path-bbox": "1.0.0",
"svg-path-segments": "0.1.8",
"svglint": "1.0.7",
"svgo": "2.3.0",
Expand Down
2 changes: 2 additions & 0 deletions slugs.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ update the script at 'scripts/release/update-slugs-table.js'.
| `Conda-Forge` | `condaforge` |
| `Conekta` | `conekta` |
| `Confluence` | `confluence` |
| `Construct 3` | `construct3` |
| `Consul` | `consul` |
| `Contactless Payment` | `contactlesspayment` |
| `Contentful` | `contentful` |
Expand Down Expand Up @@ -1211,6 +1212,7 @@ update the script at 'scripts/release/update-slugs-table.js'.
| `OYO` | `oyo` |
| `p5.js` | `p5dotjs` |
| `Packagist` | `packagist` |
| `Paddy Power` | `paddypower` |
| `Pagekit` | `pagekit` |
| `PagerDuty` | `pagerduty` |
| `PageSpeed Insights` | `pagespeedinsights` |
Expand Down

0 comments on commit 9b5f374

Please sign in to comment.