WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Unable to add Amazon svg icon using inline data payload due to size after Amazon icons were removed from SimpleIcons.org #11568

@HariSekhon

Description

@HariSekhon

I'm trying to work around this issue where SimpleIcons removed their AWS icons:

simple-icons/simple-icons#13056

by using an inline data payload of the icon as per the trick in:

#10464

but am running in to an issue where the data payload generated is so large that I think shields.io is balking on it as it is not rendering.

wget -nc https://github.com/simple-icons/simple-icons/blob/abacde1e57bf3ca327de130b5d943562c12ad424/icons/amazon.svg
$ shields_embed_logo.sh amazon.svg | wc -c 
  351694

The usual badge construction of:

![AWS](https://img.shields.io/badge/Amazon-AWS-yellow?logo=data:image/svg<MASSIVE_PAYLOAD_OMITTED_FOR_BREVITY>)

Results in a broken badge, which I also cannot paste here due to the character limit of this issue.

Do you have any ideas how to embed this AWS logo?

Should I try a different approach?

How are SimpleIcons pulled by shields.io, or is the icon set embedded in shields.io?

This seems perhaps related to pulling icons directly as D2 does and as per issue:

#10464

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