New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alternative flat badge #1396

Merged
merged 1 commit into from Jan 26, 2019

Conversation

Projects
None yet
2 participants
@vladfaust
Copy link
Contributor

vladfaust commented Sep 13, 2018

It's an alternative .svg flat badge generated by shields.io with default font and size:

image

@vladfaust

This comment has been minimized.

Copy link
Contributor Author

vladfaust commented Oct 23, 2018

🏓

@sindresorhus

This comment has been minimized.

Copy link
Owner

sindresorhus commented Jan 26, 2019

This looks good :)

Can you call it badge-flat2.svg? And also add it to https://github.com/sindresorhus/awesome/blob/master/awesome.md#awesome-badge ?

@sindresorhus

This comment has been minimized.

Copy link
Owner

sindresorhus commented Jan 26, 2019

Can you share the Shields URL you used to generate it? In case we need to regenerate it in the future.

@sindresorhus

This comment has been minimized.

Copy link
Owner

sindresorhus commented Jan 26, 2019

And if you're up for it, we could also use a "mentioned" badge in the same style: https://github.com/sindresorhus/awesome/blob/master/awesome.md#awesome-mentioned-badge

@vladfaust vladfaust force-pushed the vladfaust:badge-flat-alternative branch from 05fee3e to 0be4a79 Jan 26, 2019

@vladfaust

This comment has been minimized.

Copy link
Contributor Author

vladfaust commented Jan 26, 2019

Hello, @sindresorhus,

The shields URL I used is:

https://img.shields.io/badge/style-awesome-lightgrey.svg?longCache=true&style=flat-square&label=&colorA=fc60a8&colorB=494368&status=ok&logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1y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Ny41MDU5MSwxMDUuNDY4MTIgNzEuOTIzMjAyLDk5LjM4MjcwNyAzMi4yMzU3MDMsMTM1LjgxNTgzIGggLTAuMDI2NDYgdiAyMy45OTc3MSBjIDAsMTAuODQ3OTEgMTAuNDUxMDQxLDE5LjY4NSAyMy4yODMzMzIsMTkuNjg1IGggMjQuNDczOTU4IGMgMTIuODMyMjkyLDAgMjMuMjgzMzM3LC04LjgzNzA5IDIzLjI4MzMzNywtMTkuNjg1IHYgLTE1Ljc2OTE3IGggMTIuNyB2IDE1Ljc2OTE3IGMgMCwxMC44NDc5MSAxMC40NTEwNCwxOS42ODUgMjMuMjgzMzMsMTkuNjg1IGggMjQuNDczOTYgYyAxMi44MzIyOSwwIDIzLjI4MzMzLC04LjgzNzA5IDIzLjI4MzMzLC0xOS42ODUgeiIgICAgICAgaWQ9InBhdGg0NDg3IiAvPiAgPC9nPjwvc3ZnPg==

I'm not sure about "Mentioned in" badge -- too much text to fit in a single line, as of shields.io do not endorse multi-line badges. Let's keep it for another PR 🙂

@sindresorhus sindresorhus merged commit 90394ed into sindresorhus:master Jan 26, 2019

@sindresorhus

This comment has been minimized.

Copy link
Owner

sindresorhus commented Jan 26, 2019

Thanks :)

@vladfaust

This comment has been minimized.

Copy link
Contributor Author

vladfaust commented Jan 26, 2019

@sindresorhus you may need to update your gh-pages branch 🤔

@sindresorhus

This comment has been minimized.

Copy link
Owner

sindresorhus commented Jan 26, 2019

Done

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