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

scverse badge #4

Open
grst opened this issue Oct 5, 2022 · 10 comments
Open

scverse badge #4

grst opened this issue Oct 5, 2022 · 10 comments
Labels
enhancement New feature or request

Comments

@grst
Copy link
Contributor

grst commented Oct 5, 2022

We probably want some sort of badge which people can pin to their approved repositories. Any suggestions how this could look like?

@grst
Copy link
Contributor Author

grst commented Oct 22, 2022

scverse approved
scverse ecosystem

@Zethson
Copy link
Member

Zethson commented Jan 16, 2023

I like this. It's not possible to make a badge two colored, right? So blue + yellow?

@grst
Copy link
Contributor Author

grst commented Jan 16, 2023

not with shields.io afaik. But it could be any svg served from scverse.org.

@Zethson
Copy link
Member

Zethson commented Jan 16, 2023

While it would be nice it might not fit with other badges then.... I quite like the homogeneous green nextflow badges. Let's bring it up at the next governance meeting.

@ivirshup ivirshup added the enhancement New feature or request label Aug 5, 2023
@ivirshup
Copy link
Member

ivirshup commented Aug 5, 2023

Also could put our logo in it:

code
import base64

def make_url(img: bytes) -> str:
    return f"https://img.shields.io/badge/scverse-ecosystem-black.svg?logo=data:image/svg%2bxml;base64,{img.decode()}"

img = base64.b64encode(Path("./scverse_bw_logo.svg").read_bytes())
print(make_url(img))

@Zethson
Copy link
Member

Zethson commented Aug 5, 2023

Hell yeah @ivirshup

@flying-sheep
Copy link
Member

flying-sheep commented Aug 7, 2023

I like this. It's not possible to make a badge two colored, right? So blue + yellow?

Yes it is, among a bunch of other parameters. see docs: https://shields.io/badges

https://img.shields.io/badge/scverse-ecosystem-blue.svg?labelColor=yellow

@mikelkou
Copy link
Contributor

mikelkou commented Dec 8, 2023

Can we still add the logo in the colored one?

@mikelkou
Copy link
Contributor

mikelkou commented Dec 8, 2023

I couldn't resist and I added it already to my repository. 🤭 The colored one will look better I think.

@gtca
Copy link

gtca commented Dec 9, 2023

Maybe

and

then?

Or actually / might look a bit cleaner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants