Keep track of brand guidelines/presskits/etc. explicitly (#2846)

Co-authored-by: Peter Noble <PeterShaggyNoble@users.noreply.github.com>
This commit is contained in:
Eric Cornelissen 2021-01-17 22:41:03 +01:00 committed by GitHub
parent 70ead50f27
commit 9fed7b6ebf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 6 deletions

View File

@ -25,6 +25,12 @@
"type": "string", "type": "string",
"pattern": "^https?://[^\\s]+$", "pattern": "^https?://[^\\s]+$",
"required": true "required": true
},
"guidelines": {
"description": "The brand guidelines for the icon and/or color",
"type": "string",
"pattern": "^https?://[^\\s]+$",
"required": false
} }
}, },
"required": true "required": true

View File

@ -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.) * 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). * 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: Here is the object for The Movie Database as an example:
```json ```json
{ {
"title": "The Movie Database", "title": "The Movie Database",
"hex": "01D277", "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"
} }
``` ```

View File

@ -1618,7 +1618,8 @@
{ {
"title": "Corona Engine", "title": "Corona Engine",
"hex": "F96F29", "hex": "F96F29",
"source": "https://coronalabs.com/" "source": "https://coronalabs.com/",
"guidelines": "https://coronalabs.com/presskit.pdf"
}, },
{ {
"title": "Corona Renderer", "title": "Corona Renderer",
@ -2473,7 +2474,8 @@
{ {
"title": "Firebase", "title": "Firebase",
"hex": "FFCA28", "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", "title": "Firefox",
@ -2783,7 +2785,8 @@
{ {
"title": "GitHub", "title": "GitHub",
"hex": "181717", "hex": "181717",
"source": "https://github.com/logos" "source": "https://github.com/logos",
"guidelines": "https://github.com/logos"
}, },
{ {
"title": "GitHub Actions", "title": "GitHub Actions",
@ -4158,7 +4161,8 @@
{ {
"title": "LG", "title": "LG",
"hex": "A50034", "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", "title": "LGTM",
@ -7443,7 +7447,8 @@
{ {
"title": "Toyota", "title": "Toyota",
"hex": "EB0A1E", "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", "title": "TP-Link",