parent
c7ab6cbf82
commit
b17c8bd8c1
|
@ -1,8 +1,8 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="7" height="14">
|
||||
<g fill='#fff'>
|
||||
<rect x="0.5" y="3" width="1" height="5"/>
|
||||
<rect x="2.5" y="4" width="1" height="7"/>
|
||||
<rect x="4.5" y="4" width="1" height="7"/>
|
||||
<rect x="6.5" y="4" width="1" height="4"/>
|
||||
<rect x="0" y="3" width="1" height="5"/>
|
||||
<rect x="2" y="4" width="1" height="7"/>
|
||||
<rect x="4" y="4" width="1" height="7"/>
|
||||
<rect x="6" y="4" width="1" height="4"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 283 B After Width: | Height: | Size: 275 B |
|
@ -4332,6 +4332,7 @@ cache(function(data, match, sendBadge, request) {
|
|||
});
|
||||
}));
|
||||
|
||||
// Gitter room integration.
|
||||
camp.route(/^\/gitter\/room\/([^\/]+\/[^\/]+)\.(svg|png|gif|jpg|json)$/,
|
||||
cache(function(data, match, sendBadge, request) {
|
||||
var userRepo = match[1];
|
||||
|
@ -4342,6 +4343,7 @@ cache(function(data, match, sendBadge, request) {
|
|||
badgeData.colorscheme = 'brightgreen';
|
||||
if (darkBackgroundTemplates.some(function(t) { return t === badgeData.template; })) {
|
||||
badgeData.logo = badgeData.logo || logos['gitter-white'];
|
||||
badgeData.logoWidth = 7;
|
||||
}
|
||||
sendBadge(format, badgeData);
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue
Block a user