Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new icon: angular (original, original-wordmark, plain, plain-wordmark) #1240

Merged
merged 3 commits into from
Aug 5, 2022
Merged

new icon: angular (original, original-wordmark, plain, plain-wordmark) #1240

merged 3 commits into from
Aug 5, 2022

Conversation

gabrielfins
Copy link
Contributor

Double check these details before you open a PR

  • PR does not match another non-stale PR currently opened
  • PR name matches the format new icon: Icon name (versions separated by comma). More details here
  • PR's base is the develop branch.
  • Your icons are inside a folder as seen here
  • SVG matches the standards laid out here
  • A new object is added in the devicon.json file as seen here

This PR closes #991

Link to prove your SVG is correct and up-to-date.

https://angular.io/presskit

@Panquesito7 Panquesito7 added the feature:icon Use this label for pull requests when a new icon is ready to be added to the collection label Jun 28, 2022
Copy link
Member

@Panquesito7 Panquesito7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Thanks for submitting a PR.
Could you please revert the formatting changes and make another PR for that?

Let us know if you need any help. Thanks. 😄

__
sema-logo  Summary: 🛠️ This code needs a fix  |  Tags: Not maintainable

devicon.json Outdated
Comment on lines 201 to 206
"aliases": [
{
"base": "original",
"alias": "plain"
}
]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @gabrielfins, if you include a specific plain svg, then you don't need to declare an alias between the original and the plain font.

@gabrielfins
Copy link
Contributor Author

Is it correct now?

@kilianpaquier
Copy link
Contributor

Seems good on the devicon.json side.

But I think you need the angular-plain.svg to be a svg with only one <path>.

Can you confirm @Panquesito7 ?

@Snailedlt
Copy link
Collaborator

@kilian-paquier never heard of that requirement before :O

@kilianpaquier
Copy link
Contributor

@Snailedlt My bad then ! The paths are united in the https://github.com/devicons/devicon/wiki/SVG-Standards seemed like the same for me 😁

@Snailedlt
Copy link
Collaborator

@kilian-paquier Ahh, yes you're right! Hadn't seen that there before :)

Copy link
Collaborator

@Snailedlt Snailedlt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small changes needed, also can we add the wordmark logo too?
https://www.vectorlogo.zone/util/preview.html?image=/logos/angular/angular-ar21.svg
angular-wordmark

This is the wordmark logo they use on their website
image
Would be nice to have exactly that one, but it's a .png and not a .svg file :/

Comment on lines 1 to 7
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
<g id="surface1">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 55.296875 69.324219 L 72.703125 69.324219 L 64 48.382812 Z M 55.296875 69.324219 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 64 15.359375 L 16.332031 32.359375 L 23.601562 95.386719 L 64 117.761719 L 104.398438 95.386719 L 111.667969 32.359375 Z M 93.746094 93.492188 L 82.636719 93.492188 L 76.644531 78.539062 L 51.355469 78.539062 L 45.363281 93.492188 L 34.253906 93.492188 L 64 26.675781 Z M 93.746094 93.492188 "/>
</g>
</svg>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like is explained here and like @kilian-paquier said already, paths must be united. Meaning you should only have one path node like in this suggestion:

Suggested change
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
<g id="surface1">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 55.296875 69.324219 L 72.703125 69.324219 L 64 48.382812 Z M 55.296875 69.324219 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 64 15.359375 L 16.332031 32.359375 L 23.601562 95.386719 L 64 117.761719 L 104.398438 95.386719 L 111.667969 32.359375 Z M 93.746094 93.492188 L 82.636719 93.492188 L 76.644531 78.539062 L 51.355469 78.539062 L 45.363281 93.492188 L 34.253906 93.492188 L 64 26.675781 Z M 93.746094 93.492188 "/>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
<g id="surface1">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 55.296875 69.324219 L 72.703125 69.324219 L 64 48.382812 Z M 55.296875 69.324219 M 64 15.359375 L 16.332031 32.359375 L 23.601562 95.386719 L 64 117.761719 L 104.398438 95.386719 L 111.667969 32.359375 Z M 93.746094 93.492188 L 82.636719 93.492188 L 76.644531 78.539062 L 51.355469 78.539062 L 45.363281 93.492188 L 34.253906 93.492188 L 64 26.675781 Z M 93.746094 93.492188 "/>
</g>
</svg>

devicon.json Outdated
Comment on lines 187 to 189
"tags": [
"framework"
],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add javascript as a tag here?

Suggested change
"tags": [
"framework"
],
"tags": [
"framework",
"javascript"
],

added wordmark logo (original and plain), changed the plain version to contain only one <path> tag and added "javascript" to the tags in devicon.json
@gabrielfins
Copy link
Contributor Author

Hey y'all, I think all the changes requested are done now. I've added the wordmark logo that @Snailedlt requested and changed the colors to match the one they use in their website. I've also changed the plain version to have only one <path> tag and added the "javascript" tag to the icon object in devicon.json. If it needs any other changes let me know.

@gabrielfins gabrielfins changed the title new icon: angular (original, plain) new icon: angular (original, original-wordmark, plain, plain-wordmark) Jul 4, 2022
Copy link
Collaborator

@Snailedlt Snailedlt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.
Great work! 💯

@Snailedlt Snailedlt requested a review from Panquesito7 August 5, 2022 19:27
Copy link
Member

@Panquesito7 Panquesito7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing! 🚀

__
sema-logo  Summary: 🏆 This code is awesome  |  Tags: Efficient

@Panquesito7 Panquesito7 merged commit e962181 into devicons:develop Aug 5, 2022
Snailedlt pushed a commit to Snailedlt/devicon that referenced this pull request Oct 15, 2022
devicons#1240)

* new icon: angular (original, plain)

* revert formatting changes

* added wordmark version and other changes

added wordmark logo (original and plain), changed the plain version to contain only one <path> tag and added "javascript" to the tags in devicon.json
Snailedlt pushed a commit to Snailedlt/devicon that referenced this pull request Oct 15, 2022
devicons#1240)

* new icon: angular (original, plain)

* revert formatting changes

* added wordmark version and other changes

added wordmark logo (original and plain), changed the plain version to contain only one <path> tag and added "javascript" to the tags in devicon.json
Snailedlt pushed a commit to Snailedlt/devicon that referenced this pull request Oct 15, 2022
devicons#1240)

* new icon: angular (original, plain)

* revert formatting changes

* added wordmark version and other changes

added wordmark logo (original and plain), changed the plain version to contain only one <path> tag and added "javascript" to the tags in devicon.json
@Snailedlt Snailedlt mentioned this pull request Feb 5, 2024
GCHQDeveloper926 pushed a commit to GCHQDeveloper926/devicon that referenced this pull request Dec 20, 2024
devicons#1240)

* new icon: angular (original, plain)

* revert formatting changes

* added wordmark version and other changes

added wordmark logo (original and plain), changed the plain version to contain only one <path> tag and added "javascript" to the tags in devicon.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:icon Use this label for pull requests when a new icon is ready to be added to the collection
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants