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

Add stars Badge! #8

Closed
ghost opened this issue May 21, 2023 · 4 comments
Closed

Add stars Badge! #8

ghost opened this issue May 21, 2023 · 4 comments
Assignees
Labels
Badge Request Label to put when requsting badges Planned

Comments

@ghost
Copy link

ghost commented May 21, 2023

Is it possible to add a badge that shows the number of stars from a repo? (a pastel Purple would be a nice color! but preferably editable)

@ghost ghost changed the title Add stars Bade! Add stars Badge! May 21, 2023
@ziadOUA ziadOUA added Badge Request Label to put when requsting badges Planned labels May 21, 2023
@ziadOUA
Copy link
Owner

ziadOUA commented May 21, 2023

Hi @TeaEndsAcronyms ! Thanks for the suggestion.
Sadly, as for now I cannot add this badge since I am focusing on static badges.

If you have any idea on how to create this badge, don't hesitate.

@ghost
Copy link
Author

ghost commented May 30, 2023

To be honest I don't know lol. Sorry I can't be of help, but if you end up making it that would be cool! :)

@ziadOUA ziadOUA self-assigned this Jun 25, 2023
@ziadOUA
Copy link
Owner

ziadOUA commented Jun 25, 2023

Hello @TeaEndsAcronyms,

I have managed to add the stars badge !
I still haven't added documentation about how to add it, but you can add yours (and also test it) :

<img src="https://m3-markdown-badges.vercel.app/stars/1/1/<github-username>/<repo>"

You can change the color of the badge by changing the first number (12 different styles), and you can change the variant of the badge (1 to 3, similar to the other static badges)

Example :

<img src="https://m3-markdown-badges.vercel.app/stars/10/2/TeaEndsAcronyms/Material-You-Apps">

@ziadOUA ziadOUA closed this as completed Jun 25, 2023
@ghost
Copy link
Author

ghost commented Jun 25, 2023

Thanks, these look really good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Badge Request Label to put when requsting badges Planned
Projects
None yet
Development

No branches or pull requests

1 participant