poser icon indicating copy to clipboard operation
poser copied to clipboard

Feature Request: Add new style for social: `?style=social`

Open chrimaho opened this issue 3 years ago • 6 comments

Feature Request

Q A
New Feature yes
RFC yes
BC Break unknown

Summary

You currently have these styles, and they are very useful:

style demo
flat
flat-square
plastic
for-the-badge

However, shields.io has one other style available: social. See more info here.

For example:

style demo
flat
flat-square
plastic
for-the-badge
social

But when I try to use this for Profile Views: ![](https://komarev.com/ghpvc/?username=chrimaho&style=social)

Can you please also add this ?style=social function to your repo?

Also related to this issue on another repo.

Thank you!

chrimaho avatar Jan 03 '23 04:01 chrimaho

Hi @chrimaho you suggest to add a simple social badge without octocat or with octocat? I'm asking this because this library is agnostic to external context such as the github logo. It is meant to be fully configurable on content and colors, adding the github logo by default would imply a coupling. Do not you think?

JellyBellyDev avatar Jan 03 '23 08:01 JellyBellyDev

@chrimaho I recommend you to remove the rendered counter from the message. Otherwise your profile view increments on thread open and on each page refresh ))

antonkomarev avatar Jan 03 '23 08:01 antonkomarev

My above example is just one example.

Here are some more examples:

URL Image
https://shields.io/#styles image
https://github.com/psincraian/pepy/issues/208#issuecomment-706079042 image
https://itmustbecode.com/pcf-control-generate-shields-io-badges-in-the-powerplatform/ image
https://github.com/badges/shields image

chrimaho avatar Jan 03 '23 09:01 chrimaho

I understand, @chrimaho do you want to try to make a PR?

JellyBellyDev avatar Jan 03 '23 09:01 JellyBellyDev

@JellyBellyDev , I would like to, but I'm afraid I don't know which part of your repo would need to be changed to facilitate this new feature. I'm not very experienced in the php language.

chrimaho avatar Jan 03 '23 09:01 chrimaho

@chrimaho ok, no problem! I'll try it as soon as I have some time! ;)

JellyBellyDev avatar Jan 03 '23 17:01 JellyBellyDev