Skip to content

Commit

Permalink
Replace 4183C4 with blue (#6366)
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB authored Apr 5, 2021
1 parent f037952 commit 4a5f6a4
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion services/github/github-followers.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = class GithubFollowers extends GithubAuthV3Service {
static render({ followers }) {
return {
message: metric(followers),
color: '4183C4',
color: 'blue',
}
}

Expand Down
1 change: 1 addition & 0 deletions services/github/github-followers.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const t = (module.exports = require('../tester').createServiceTester())
t.create('Followers').get('/webcaetano.json').expectBadge({
label: 'followers',
message: isMetric,
color: 'blue',
})

t.create('Followers (user not found)').get('/PyvesB2.json').expectBadge({
Expand Down
2 changes: 1 addition & 1 deletion services/github/github-forks.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = class GithubForks extends GithubAuthV4Service {
static render({ user, repo, forkCount }) {
return {
message: metric(forkCount),
color: '4183C4',
color: 'blue',
link: [
`https://github.com/${user}/${repo}/fork`,
`https://github.com/${user}/${repo}/network`,
Expand Down
1 change: 1 addition & 0 deletions services/github/github-forks.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ t.create('Forks')
.expectBadge({
label: 'forks',
message: isMetric,
color: 'blue',
link: [
'https://github.com/badges/shields/fork',
'https://github.com/badges/shields/network',
Expand Down
2 changes: 1 addition & 1 deletion services/github/github-sponsors.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = class GithubSponsors extends GithubAuthV4Service {
static render({ count }) {
return {
message: metric(count),
color: '4183C4',
color: 'blue',
}
}

Expand Down
1 change: 1 addition & 0 deletions services/github/github-sponsors.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const t = (module.exports = new ServiceTester({
t.create('Sponsors').get('/sponsors/Homebrew.json').expectBadge({
label: 'sponsors',
message: isMetric,
color: 'blue',
})

t.create('Sponsors (user not found)')
Expand Down
2 changes: 1 addition & 1 deletion services/github/github-watchers.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = class GithubWatchers extends GithubAuthV3Service {
static render({ watchers, user, repo }) {
return {
message: metric(watchers),
color: '4183C4',
color: 'blue',
link: [
`https://github.com/${user}/${repo}`,
`https://github.com/${user}/${repo}/watchers`,
Expand Down
1 change: 1 addition & 0 deletions services/github/github-watchers.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ t.create('Watchers')
.expectBadge({
label: 'watchers',
message: Joi.number().integer().positive(),
color: 'blue',
link: [
'https://github.com/badges/shields',
'https://github.com/badges/shields/watchers',
Expand Down

0 comments on commit 4a5f6a4

Please sign in to comment.