Skip to content
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

feat: add style query to badge endpoint #203

Merged
merged 1 commit into from
Sep 14, 2022
Merged

Conversation

dirien
Copy link
Contributor

@dirien dirien commented Sep 14, 2022

Hi,

Description

this PR adds the option to style the badge. I added a query parameter (style) and you can from the official styles from badges.io (plastic, flat, flat-square, for-the-badge and social).

flat is the default style.
image

Here an example of for-the-badge:
image

Looking for your feedback.

@netlify
Copy link

netlify bot commented Sep 14, 2022

Deploy Preview for ossf-scorecard canceled.

Name Link
🔨 Latest commit a0bf0b7
🔍 Latest deploy log https://app.netlify.com/sites/ossf-scorecard/deploys/632219b11951d6000876fb78

Copy link
Contributor

@azeemshaikh38 azeemshaikh38 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with comment.

openapi.yaml Outdated Show resolved Hide resolved
@azeemshaikh38
Copy link
Contributor

Thanks for suggesting this change, this is pretty cool!

Signed-off-by: Engin Diri <engin.diri@mail.schwarz>
@azeemshaikh38 azeemshaikh38 merged commit 3dda032 into ossf:main Sep 14, 2022
@dirien dirien deleted the badge_style branch September 14, 2022 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants