Shields badge specification, website and default API server
Go to file
2014-01-02 18:25:34 +01:00
.gitignore Add SVGO to the pipeline 2014-01-02 18:25:34 +01:00
badges.json Automate creation of SVG badges. 2014-01-02 17:53:17 +01:00
build-passed.svg Add SVGO to the pipeline 2014-01-02 18:25:34 +01:00
make.js Add SVGO to the pipeline 2014-01-02 18:25:34 +01:00
Makefile Automate creation of SVG badges. 2014-01-02 17:53:17 +01:00
package.json Add SVGO to the pipeline 2014-01-02 18:25:34 +01:00
README.md Some documentary information. 2014-01-02 18:06:05 +01:00
sheet.html Add SVGO to the pipeline 2014-01-02 18:25:34 +01:00
template.svg Allow optional secondary colorscheme for 1st box. 2014-01-02 18:05:35 +01:00

GitHub badges in SVG format

See https://github.com/h5bp/lazyweb-requests/issues/150.

Contribute

If you want to add a badge, only modify badges.json.

The format is the following:

/* Unique name of your badge. */
"build-passed": {
  /* Textual information shown, in order. */
  "text": [ "build", "passed" ],
  /* Width of the first box, width of the second box. */
  "widths": [ 33, 44 ],
  /* Gradient of the background color of the second box.
   * The main gradient is from index 1 to 2,
   * indices 0 and 4 provide the light and dark outline. */
  "colorB": [ "#8f6", "#4c1", "#3b0", "#370" ]
}

License

All work here is licensed CC0.