FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

New-style badge SVG · Issue #232 · tip4commit/tip4commit · GitHub

Repository navigation

New-style badge SVG #232

Description

The tip4commit badge still looks like the old style badges (with bevel). Services like Travis-CI, Readthedocs or Coveralls have all switched to new style badges. It'd be great if you could also adjust that.

Example:
https://api.travis-ci.org/syncany/syncany.svg

Other badges (from https://github.com/syncany/syncany):

I suggest the following design:

Which looks like this when zoomed in:

The SVG would look like this:

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="119" height="20">
   <linearGradient id="a" x2="0" y2="100%">
      <stop offset="0" stop-color="#bbb" stop-opacity=".1" />
      <stop offset="1" stop-opacity=".1" />
   </linearGradient>
   <rect rx="3" width="119" height="20" fill="#555" />
   <rect rx="3" x="71" width="48" height="20" fill="#4c1" />
   <path fill="#4c1" d="M71 0h4v20h-4z" />
   <rect rx="3" width="119" height="20" fill="url(#a)" />
   <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
      <text x="35.5" y="15" fill="#010101" fill-opacity=".3">tip4commit</text>
      <text x="35.5" y="14">tip4commit</text>
      <text x="95" y="15" fill="#010101" fill-opacity=".3">0.99 cɃ</text>
      <text x="95" y="14">0.99 cɃ</text>
   </g>
</svg>

No activity

Activity on this issue will appear here.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL