Open everdrone opened 2 years ago
Decided to open a new issue as a continuation of https://github.com/gojp/goreportcard/issues/304, since it was closed and marked as stale.
It would be nice to have the query parameters available by default on shields.io badges on this badge as well. Specifically these parameters:
color
labelColor
logo
logoColor
label
message
logoWidth
style
Currently the badge is redirected to the URL:
https://img.shields.io/badge/<LABEL>-<MESSAGE>-<COLOR>
Instead, it could be redirected to:
https://img.shields.io/static/v1?label=<LABEL>&message=<MESSAGE>&color=<COLOR>
By appending the other parameters to the query string:
https://img.shields.io/static/v1?label=go%20report&message=A+&color=ff69b4&logo=go
Decided to open a new issue as a continuation of https://github.com/gojp/goreportcard/issues/304, since it was closed and marked as stale.
It would be nice to have the query parameters available by default on shields.io badges on this badge as well. Specifically these parameters:
color
labelColor
logo
logoColor
label
message
(probably not this one since it's gonna override the report result)logoWidth
style
(this one seems to be available already)Currently the badge is redirected to the URL:
Instead, it could be redirected to:
By appending the other parameters to the query string: