Skip to content

Add ability to change label color #80

Description

@fabien-joubert

Feature Request

Q A
New Feature yes
RFC no
BC Break no

Summary

As far as I know there is no way to change the label color (left part).

I think it might be a great feature to be able to add a ?label_color=FFFFFF to further customize the badge.
With FFFFFF: the value of the color in hex.

Shields.io support this (See 'styles' on shields.io):
Screenshot 2022-01-15 at 15 13 21

So it would give something like this:

echo $poser->generate('license', 'MIT', 'FFFFFF', '428F7E', 'plastic');
// or
$image = $poser->generate('license', 'MIT', 'FFFFFF', '428F7E', 'plastic');

The default color should be the default grey/gray.


Original: antonkomarev/github-profile-views-counter #40.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions