Skip to content

Commit

Permalink
Keep track of brand guidelines/presskits/etc. explicitly (#2846)
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Noble <PeterShaggyNoble@users.noreply.github.com>
  • Loading branch information
ericcornelissen and PeterShaggyNoble committed Jan 17, 2021
1 parent 70ead50 commit 9fed7b6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .jsonlintschema
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
"type": "string",
"pattern": "^https?://[^\\s]+$",
"required": true
},
"guidelines": {
"description": "The brand guidelines for the icon and/or color",
"type": "string",
"pattern": "^https?://[^\\s]+$",
"required": false
}
},
"required": true
Expand Down
5 changes: 4 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,16 @@ Icon metadata should be added to the `_data/simple-icons.json` file. Each icon i
* A `hex` color value that matches the brand's primary color. All uppercase and without the `#` pound symbol.)
* The `source` URL of the logo being used. There are [more details below](#source-guidelines).

There is also an optional field that may be used to specify the brand guidelines/presskit/etc. This is useful if the SVG file was sourced from a different place.

Here is the object for The Movie Database as an example:

```json
{
"title": "The Movie Database",
"hex": "01D277",
"source": "https://www.themoviedb.org/about/logos-attribution"
"source": "https://www.themoviedb.org/about/logos-attribution",
"guidelines": "https://www.themoviedb.org/about/logos-attribution"
}
```

Expand Down
15 changes: 10 additions & 5 deletions _data/simple-icons.json
Original file line number Diff line number Diff line change
Expand Up @@ -1618,7 +1618,8 @@
{
"title": "Corona Engine",
"hex": "F96F29",
"source": "https://coronalabs.com/"
"source": "https://coronalabs.com/",
"guidelines": "https://coronalabs.com/presskit.pdf"
},
{
"title": "Corona Renderer",
Expand Down Expand Up @@ -2473,7 +2474,8 @@
{
"title": "Firebase",
"hex": "FFCA28",
"source": "https://firebase.google.com/brand-guidelines/"
"source": "https://firebase.google.com/brand-guidelines/",
"guidelines": "https://firebase.google.com/brand-guidelines/"
},
{
"title": "Firefox",
Expand Down Expand Up @@ -2783,7 +2785,8 @@
{
"title": "GitHub",
"hex": "181717",
"source": "https://github.com/logos"
"source": "https://github.com/logos",
"guidelines": "https://github.com/logos"
},
{
"title": "GitHub Actions",
Expand Down Expand Up @@ -4158,7 +4161,8 @@
{
"title": "LG",
"hex": "A50034",
"source": "https://en.wikipedia.org/wiki/LG_Corporation"
"source": "https://en.wikipedia.org/wiki/LG_Corporation",
"guidelines": "https://www.lg.com/global/about-lg-brand-identity"
},
{
"title": "LGTM",
Expand Down Expand Up @@ -7443,7 +7447,8 @@
{
"title": "Toyota",
"hex": "EB0A1E",
"source": "https://www.toyota.com/brandguidelines/logo/"
"source": "https://www.toyota.com/brandguidelines/logo/",
"guidelines": "https://www.toyota.com/brandguidelines/"
},
{
"title": "TP-Link",
Expand Down

0 comments on commit 9fed7b6

Please sign in to comment.