Skip to content

Commit

Permalink
Release 8 new icons and 2 removed icons (v7.0.0)
Browse files Browse the repository at this point in the history
# New Icons

- Boxy SVG (#7306)
- Linear (#7419)
- MLflow (#7302)
- PlanetScale (#7367)
- Rasa (#7277)
- Task (#7413)
- tRPC (#7446)
- Vitess (#7372)

# Removed Icons

- Java (#7378)
- TransferWise (#7420)
  • Loading branch information
mondeja committed May 29, 2022
2 parents 2147637 + be0b791 commit 798d414
Show file tree
Hide file tree
Showing 29 changed files with 106 additions and 112 deletions.
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ node_modules/
npm-debug.log

# Build files
icons/*.js
/index.js
/icons.js
/icons.mjs
/icons.d.ts
3 changes: 3 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@

// We generally always want the major version
separateMajorMinor: false,

// We manually update digest dependencies (eg. hashes in Github actions)
digest: { enabled: false },
}
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
did-create-pr: ${{ steps.release.outputs.did-create-pr }}
new-version: ${{ steps.release.outputs.new-version }}
steps:
- uses: simple-icons/release-action@v1
- uses: simple-icons/release-action@5edfadcb9d0fcced712defd84c26d8fd3913beb9
id: release
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@
!icons.js
!icons.mjs
!icons.d.ts
!alias.d.ts
6 changes: 2 additions & 4 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ _data/simple-icons.json
scripts/build/templates/*.js

# Generated JavaScript files don't need to be formatted
icons/*.js
icons/*.d.ts
icons.d.ts
index.js
icons.js
icons.mjs
index.js
icons.d.ts
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ We welcome icon requests. Before you submit a new issue please make sure the ico
- Universities or other educational institutions
- Any brands representing individuals rather than an organization, company, or product. This includes musicians, bands, and social media personalities.

Some companies and organizations are excessively protective with their brands, so please don't consider them:

- Disney
- Do you know more? Please, [report them](https://github.com/simple-icons/simple-icons/issues/new?labels=docs&template=documentation.yml).

If you are in doubt, feel free to submit it and we'll have a look.

When submitting a request for a new or updated icon include helpful information such as:
Expand Down Expand Up @@ -117,7 +122,6 @@ There are many different tools for editing SVG files, some options include:
| [Boxy SVG](https://boxy-svg.com/) | Vector Graphics Editor | Windows, Mac, Linux | $ / Free (Linux, Web) |
| [Affinity Designer](https://affinity.serif.com/designer/) | Vector Graphics Editor | Windows, Mac | $ |
| [Adobe Illustrator](https://www.adobe.com/products/illustrator.html) | Vector Graphics Editor | Windows, Mac | $ - $$$ |
| [IcoMoon](https://icomoon.io/) | Icon Editing/Management Tool | Online | Free |

Using your preferred tool you should:

Expand Down
48 changes: 11 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ Icons can be downloaded as SVGs directly from [our website](https://simpleicons.
Icons can be served from a CDN such as [JSDelivr](https://www.jsdelivr.com/package/npm/simple-icons) or [Unpkg](https://unpkg.com/browse/simple-icons/). Simply use the `simple-icons` npm package and specify a version in the URL like the following:

```html
<img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v6/icons/[ICON SLUG].svg" />
<img height="32" width="32" src="https://unpkg.com/simple-icons@v6/icons/[ICON SLUG].svg" />
<img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v7/icons/[ICON SLUG].svg" />
<img height="32" width="32" src="https://unpkg.com/simple-icons@v7/icons/[ICON SLUG].svg" />
```

Where `[ICON SLUG]` is replaced by the [slug] of the icon you want to use, for example:

```html
<img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v6/icons/simpleicons.svg" />
<img height="32" width="32" src="https://unpkg.com/simple-icons@v6/icons/simpleicons.svg" />
<img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@v7/icons/simpleicons.svg" />
<img height="32" width="32" src="https://unpkg.com/simple-icons@v7/icons/simpleicons.svg" />
```

These examples use the latest major version. This means you won't receive any updates following the next major release. You can use `@latest` instead to receive updates indefinitely. However, this will result in a `404` error if the icon is removed.
Expand All @@ -49,36 +49,22 @@ The icons are also available through our npm package. To install, simply run:
npm install simple-icons
```

The API can then be used as follows, where `[ICON SLUG]` is replaced by a [slug]:

```javascript
const simpleIcons = require('simple-icons');

// Get a specific icon by its slug as:
// simpleIcons.Get('[ICON SLUG]');

// For example:
const icon = simpleIcons.Get('simpleicons');

```

Alternatively, you can also import all icons from a single file, where `[ICON SLUG]` is replaced by a capitalized [slug]. We highly recommend using a bundler that can tree shake such as [webpack](https://webpack.js.org/) to remove the unused icon code:
All icons are imported from a single file, where `[ICON SLUG]` is replaced by a capitalized [slug]. We highly recommend using a bundler that can tree shake such as [webpack](https://webpack.js.org/) to remove the unused icon code:
```javascript
// Import a specific icon by its slug as:
// import { si[ICON SLUG] } from 'simple-icons/icons'

// For example:
// use import/esm to allow tree shaking
import { siSimpleicons } from 'simple-icons/icons'
import { siSimpleicons } from 'simple-icons/icons';
// or with require/cjs
const { siSimpleicons } = require('simple-icons/icons');
```

> :warning: The old way of importing with `require('simple-icons/icons/[ICON SLUG]')` is deprecated and
will be removed in v7.0.0.

Either method will return an icon object:
It will return an icon object:

```javascript
console.log(icon);
console.log(siSimpleicons);

/*
{
Expand All @@ -100,18 +86,6 @@ NOTE: the `license` entry will be `undefined` if we do not yet have license data
*/
```

Lastly, the `simpleIcons` object is also enumerable.
This is useful if you want to do a computation on every icon:

```javascript
const simpleIcons = require('simple-icons');

for (const iconSlug in simpleIcons) {
const icon = simpleIcons.Get(iconSlug);
// do stuff
}
```

#### TypeScript Usage <img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/typescript.svg#gh-light-mode-only" alt="Typescript" align=left width=19 height=19><img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/assets/readme/typescript-white.svg#gh-dark-mode-only" alt="Typescript" align=left width=19 height=19>

Type definitions are bundled with the package.
Expand Down Expand Up @@ -150,7 +124,7 @@ echo file_get_contents('path/to/package/icons/simpleicons.svg');
| <img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/hexo.svg#gh-light-mode-only" alt="Hexo" align=left width=24 height=24><img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/assets/readme/hexo-white.svg#gh-dark-mode-only" alt="Hexo" align=left width=24 height=24> [Hexo plugin](https://github.com/nidbCN/hexo-simpleIcons) | [@nidbCN](https://github.com/nidbCN/) |
| <img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/homeassistant.svg#gh-light-mode-only" alt="Home Assistant" align=left width=24 height=24><img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/assets/readme/homeassistant-white.svg#gh-dark-mode-only" alt="Home Assistant" align=left width=24 height=24> [Home Assistant plugin](https://github.com/vigonotion/hass-simpleicons) | [@vigonotion](https://github.com/vigonotion/) |
| <img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/hugo.svg#gh-light-mode-only" alt="Hugo" align=left width=24 height=24><img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/assets/readme/hugo-white.svg#gh-dark-mode-only" alt="Hugo" align=left width=24 height=24> [Hugo module](https://github.com/foo-dogsquared/hugo-mod-simple-icons) | [@foo-dogsquared](https://github.com/foo-dogsquared) |
| <img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/java.svg#gh-light-mode-only" alt="Java" align=left width=24 height=24><img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/assets/readme/java-white.svg#gh-dark-mode-only" alt="Java" align=left width=24 height=24> [Java library](https://github.com/silentsoft/simpleicons4j) | [@silentsoft](https://github.com/silentsoft) |
| <img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/openjdk.svg#gh-light-mode-only" alt="OpenJDK" align=left width=24 height=24><img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/assets/readme/openjdk-white.svg#gh-dark-mode-only" alt="OpenJDK" align=left width=24 height=24> [Java library](https://github.com/silentsoft/simpleicons4j) | [@silentsoft](https://github.com/silentsoft) |
| <img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/jetpackcompose.svg#gh-light-mode-only" alt="Jetpack Compose" align=left width=24 height=24><img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/assets/readme/jetpackcompose-white.svg#gh-dark-mode-only" alt="Jetpack Compose" align=left width=24 height=24> [Jetpack Compose library](https://github.com/DevSrSouza/compose-icons) | [@devsrsouza](https://github.com/devsrsouza/) |
| <img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/kirby.svg#gh-light-mode-only" alt="Kirby" align=left width=24 height=24><img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/assets/readme/kirby-white.svg#gh-dark-mode-only" alt="Kirby" align=left width=24 height=24> [Kirby plugin](https://github.com/runxel/kirby3-simpleicons) | [@runxel](https://github.com/runxel) |
| <img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/laravel.svg#gh-light-mode-only" alt="Laravel" align=left width=24 height=24><img src="https://raw.githubusercontent.com/simple-icons/simple-icons/develop/assets/readme/laravel-white.svg#gh-dark-mode-only" alt="Laravel" align=left width=24 height=24> [Laravel Package](https://github.com/ublabs/blade-simple-icons) | [@adrian-ub](https://github.com/adrian-ub) |
Expand Down
51 changes: 40 additions & 11 deletions _data/simple-icons.json
Original file line number Diff line number Diff line change
Expand Up @@ -1480,6 +1480,11 @@
"hex": "0061D5",
"source": "https://www.box.com/en-gb/about-us/press"
},
{
"title": "Boxy SVG",
"hex": "3584E3",
"source": "https://boxy-svg.com/ideas/7/redesign-the-app-icon#comment-1875"
},
{
"title": "Brandfolder",
"hex": "40D1F5",
Expand Down Expand Up @@ -5149,12 +5154,6 @@
"hex": "8A4182",
"source": "https://github.com/jasmine/jasmine/blob/8991b1bba39b5b7e89fc5eeb07ae271a684cb1a4/images/jasmine-horizontal.svg"
},
{
"title": "Java",
"hex": "007396",
"source": "https://www.oracle.com/legal/logos.html",
"guidelines": "https://www.oracle.com/legal/logos.html"
},
{
"title": "JavaScript",
"hex": "F7DF1E",
Expand Down Expand Up @@ -5899,6 +5898,11 @@
"source": "https://www.lineageos.org/",
"guidelines": "https://docs.google.com/presentation/d/1VmxFrVqkjtNMjZbAcrC4egp8C_So7gjJR3KuxdJfJDo/edit?usp=sharing"
},
{
"title": "Linear",
"hex": "5E6AD2",
"source": "https://linear.app/"
},
{
"title": "LinkedIn",
"hex": "0A66C2",
Expand Down Expand Up @@ -6613,6 +6617,11 @@
]
}
},
{
"title": "MLflow",
"hex": "0194E2",
"source": "https://github.com/mlflow/mlflow/blob/855881f93703b15ffe643003fb4d7c84f0ec2502/assets/icon.svg"
},
{
"title": "MobX",
"hex": "FF9955",
Expand Down Expand Up @@ -7894,6 +7903,11 @@
"hex": "009DB1",
"source": "https://www.planet.com/explorer/"
},
{
"title": "PlanetScale",
"hex": "000000",
"source": "https://planetscale.com/"
},
{
"title": "PlanGrid",
"hex": "0085DE",
Expand Down Expand Up @@ -8608,6 +8622,11 @@
"hex": "FEDA03",
"source": "https://rarible.com/"
},
{
"title": "Rasa",
"hex": "5A17EE",
"source": "https://rasa.com/"
},
{
"title": "Raspberry Pi",
"hex": "A22846",
Expand Down Expand Up @@ -10385,6 +10404,11 @@
"hex": "CC0000",
"source": "https://www.target.com/"
},
{
"title": "Task",
"hex": "29BEB0",
"source": "https://github.com/go-task/task/blob/367c0b38a6787bebf6ee5af864be1574ad40b24a/docs/Logo_mono.svg"
},
{
"title": "Tasmota",
"hex": "1FA3EC",
Expand Down Expand Up @@ -10757,11 +10781,6 @@
"hex": "ED1C24",
"source": "https://trakt.tv"
},
{
"title": "TransferWise",
"hex": "00B9FF",
"source": "https://brand.transferwise.com/logo"
},
{
"title": "Transport for Ireland",
"hex": "00B274",
Expand Down Expand Up @@ -10824,6 +10843,11 @@
"source": "https://trove.nla.gov.au/about/who-we-are/our-logo",
"guidelines": "https://trove.nla.gov.au/about/who-we-are/trove-brand-guidelines"
},
{
"title": "tRPC",
"hex": "2596BE",
"source": "https://github.com/trpc/trpc/blob/e0df4a2d5b498dd953a65901e04915c6e3f7ecc5/www/static/img/logo-no-text.svg"
},
{
"title": "TrueNAS",
"hex": "0095D5",
Expand Down Expand Up @@ -11294,6 +11318,11 @@
"hex": "646CFF",
"source": "https://vitejs.dev/"
},
{
"title": "Vitess",
"hex": "F16728",
"source": "https://cncf-branding.netlify.app/projects/vitess/"
},
{
"title": "Vivaldi",
"hex": "EF3939",
Expand Down
6 changes: 0 additions & 6 deletions alias.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion assets/readme/java-white.svg

This file was deleted.

1 change: 1 addition & 0 deletions assets/readme/openjdk-white.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/boxysvg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 798d414

Please sign in to comment.