Skip to content

Scaling options for the svg badges #404

Open
@DigiLive

Description

@DigiLive

Given badges are IMO huge in dimensions.
It would be great if there would be badges available with smaller dimensions (e.g. to be used in a document) or the possibility to scale them dynamically.

I know I can scale a badge if I use it as a source for the image tag, but I mainly use markdown files with references. E.g.,

[![Open your Home Assistant instance and show your dashboard resources.][ref1]][ref2]

[ref1]: https://my.home-assistant.io/badges/lovelace_resources.svg
[ref2]: https://my.home-assistant.io/redirect/lovelace_resources/

vs

[<img src="https://my.home-assistant.io/badges/lovelace_resources.svg" alt="Open your Home Assistant instance and show your dashboard resources." width="200">](https://my.home-assistant.io/redirect/lovelace_resources/)

Previews:
Default scale: Open your Home Assistant instance and show your dashboard resources.

vs

Smaller scale: Open your Home Assistant instance and show your dashboard resources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions