builtwithnix.org icon indicating copy to clipboard operation
builtwithnix.org copied to clipboard

A badget that is of the same dimensions as shields.io

Open srid opened this issue 5 years ago • 9 comments

If you look at https://github.com/srid/rib#readme - you will notice that the BuiltwithNix badget is oddly out of place, as it is larger in size than the three other badges (which use shields.io).

As long as it doesn't violate any of their terms, might be a good idea to make the badge look like theirs so it integrates well with the rest?

srid avatar Dec 30 '19 03:12 srid

Sounds good. Do you have or know somebody who has designer skills by any chance?

zimbatm avatar Dec 30 '19 17:12 zimbatm

Actually I just realized that shields.io provides a way to dynamically create images, eg: https://img.shields.io/badge/builtwith-nix-purple

EDIT: But yea maybe builtwithnix.org needs something unique (but with same dimensoins). I don't know of any designer who can volunteer here.

srid avatar Dec 30 '19 17:12 srid

Given that shields.io uses https://github.com/simple-icons/simple-icons I think we could submit a request for inclusion of the Nix logo into their icons, and then simply generate the badge from shields.io?

manveru avatar Jan 10 '20 14:01 manveru

now we just need to source a NixOS SVG from somewhere

zimbatm avatar Jan 10 '20 17:01 zimbatm

Using the one from https://github.com/NixOS/nixos-homepage/blob/master/logo/nixos-hex.svg should be good enough?

manveru avatar Jan 11 '20 01:01 manveru

it wasn't as simple as I thought. The SVG has to be cleaned-up. They have a npm run svgo utility to do that but it removed all the <path> elements ^_^

zimbatm avatar Jan 13 '20 10:01 zimbatm

Hey people 👋 Thought I'd chime in on this issue, in case others hadn't noticed: looks like there's a Nix icon in simple-icons now. I've just added the following badge to one of my project READMEs:

https://img.shields.io/badge/Built_With-Nix-5277C3.svg?logo=nixos&labelColor=73C3D5

It looks great!

cmacrae avatar Apr 28 '20 12:04 cmacrae

Here is another shield that better matches the current one: built with nix

https://img.shields.io/static/v1?logo=nixos&logoColor=white&label=&message=Built%20with%20Nix&color=41439a

AluisioASG avatar Jun 16 '20 04:06 AluisioASG