Skip to content

More options for customizing the badge #251

Open
@habedi

Description

@habedi

Hi,

Thanks for the great project!

Could you add more options to customize the dependency badge?

I want to customize the label's background color (background of dependencies) and add an icon to the badge.
But it seems there are no options for that.

Please see the example below (to see what I want to achieve):

Markdown version:

[![Crates.io](https://img.shields.io/crates/v/graphina.svg?style=flat&labelColor=282c34&color=f46623&logo=rust)](https://crates.io/crates/graphina)

Rendered version:

Crates.io

As you can see, the background color of the text (left side) is f46623, and a small Rust icon is shown on the badge.

The customization options I think might be needed are:

  • labelColor: Sets the background color of the label (like dependencies).
  • logo: Adds an icon to the badge (like the Rust logo).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions