Hi, many people have already mentioned this issue regarding badge customization, and the fact that it depends on the library used to render the badge.
I suggest simply adding a JSON format that will return the number of views and update accordingly.
For example, something like https://komarev.com/ghpvc/?username=ApTyp4uK1337&format=json
Response:
So, by using the features of shields.io (https://shields.io/badges/dynamic-json-badge), we can create a customizable badge.
https://img.shields.io/badge/dynamic/json?url=https://komarev.com/ghpvc/?username=ApTyp4uK1337&format=json&query=$.views&style=flat&label=Profile views
This will resolve the issue with the styles, the label color, and the icon placement all at once.
Hi, many people have already mentioned this issue regarding badge customization, and the fact that it depends on the library used to render the badge.
I suggest simply adding a JSON format that will return the number of views and update accordingly.
For example, something like https://komarev.com/ghpvc/?username=ApTyp4uK1337&format=json
Response:
So, by using the features of shields.io (https://shields.io/badges/dynamic-json-badge), we can create a customizable badge.
https://img.shields.io/badge/dynamic/json?url=https://komarev.com/ghpvc/?username=ApTyp4uK1337&format=json&query=$.views&style=flat&label=Profile views
This will resolve the issue with the styles, the label color, and the icon placement all at once.