Skip to content

Conversation

@weh
Copy link
Contributor

@weh weh commented Jul 8, 2025

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 at the correct alphabetic position as seen here

This PR closes #1126

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

https://huggingface.co

@weh weh added feature:icon PR when a new icon is ready to be added to the collection bot:peek Trigger peek-bot. Remove and re-add the label to re-trigger labels Jul 8, 2025
@weh weh requested review from a team, ConX, ReenigneArcher, Snailedlt, canaleal and lunatic-fox and removed request for a team July 8, 2025 16:56
@weh weh changed the title new icon: huggingface (original, original-wordmark, plain, plain-word… new icon: huggingface (original, original-wordmark, plain, plain-wordmark, line, line-wordmark) Jul 8, 2025
@weh weh added bot:peek Trigger peek-bot. Remove and re-add the label to re-trigger and removed bot:peek Trigger peek-bot. Remove and re-add the label to re-trigger labels Jul 8, 2025
@devicons devicons deleted a comment from github-actions bot Jul 8, 2025
@devicons devicons deleted a comment from github-actions bot Jul 8, 2025
@weh weh added the bot:check Trigger check-bot. Remove and re-add the label to re-trigger label Jul 8, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jul 8, 2025

Hi there,

I'm Devicons' Peek Bot and I just peeked at the icons that you wanted to add using icomoon.io.

Here are the SVGs as intepreted by Icomoon when we upload the files:
Imgur Images

Here are the zoomed-in screenshots of the added icons as SVGs:
Imgur Images Imgur Images Imgur Images Imgur Images

Here are the icons that will be generated by Icomoon:
Imgur Images

Here are the zoomed-in screenshots of the added icons as icons:
Imgur Images Imgur Images Imgur Images Imgur Images

Here are the colored versions:
Imgur Images Imgur Images Imgur Images Imgur Images

The maintainers will now check for:

  1. The number of Glyphs matches the number of SVGs that were selected.
  2. The icons (second group of pictures) look the same as the SVGs (first group of pictures).
  3. The icons are of high quality (legible, matches the official logo, etc.)
  4. A new object is added in the devicon.json file at the correct alphabetic position as seen here

In case of font issues, it might be caused by Icomoon not accepting strokes in the SVGs. Check this doc for more details and fix the issues as instructed by Icomoon and update this PR once you are done.

Thank you for contributing to Devicon! I hope that your icons are accepted into the repository.

Note: If the images don't show up, it has been autodeleted by Imgur after 6 months due to our API choice.

Cheers,
Peek Bot 😊

@ReenigneArcher
Copy link
Member

Traceback (most recent call last):
list index out of range
  File "/home/runner/work/devicon/devicon/.github/scripts/build_assets/util.py", line 65, in find_object_added_in_pr
    icon_name = pattern.findall(pr_title)[icon_name_index].lower().strip()  # should only have one match
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./.github/scripts/check_icon_pr.py", line 27, in main
    filtered_icon = util.find_object_added_in_pr(all_icons, args.pr_title)
  File "/home/runner/work/devicon/devicon/.github/scripts/build_assets/util.py", line 72, in find_object_added_in_pr
    raise Exception(message)
Exception: util.find_object_added_in_pr: Couldn't find an icon matching the name in the PR title.
PR title is: 'new icon: huggingface (original, original-wordmark, plain, plain-word…'

When you rename the PR title, manually re-running the workflow won't fix this because GitHub is using the same context as the last run. If you sync the branch it should correct.

@weh weh force-pushed the feature/1126-huggingface branch from f6398b0 to 8ee073d Compare July 28, 2025 08:56
@weh
Copy link
Contributor Author

weh commented Jul 28, 2025

When you rename the PR title, manually re-running the workflow won't fix this because GitHub is using the same context as the last run. If you sync the branch it should correct.

A rebase did help here 😄

@canaleal canaleal merged commit 5472210 into devicons:develop Dec 22, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:check Trigger check-bot. Remove and re-add the label to re-trigger bot:peek Trigger peek-bot. Remove and re-add the label to re-trigger feature:icon PR 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