Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8fe96bd

Browse files
committedFeb 2, 2023
Remove 'primary' class from tab counter labels
Using the primary color for each label counter makes the use of color redundant, as well as suggesting this is a call to action. Use the base grey color instead.
1 parent ccb3851 commit 8fe96bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎templates/repo/header.tmpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
<a class="{{if .PageIsIssueList}}active {{end}}item" href="{{.RepoLink}}/issues">
164164
{{svg "octicon-issue-opened"}} {{.locale.Tr "repo.issues"}}
165165
{{if .Repository.NumOpenIssues}}
166-
<span class="ui primary small label">{{CountFmt .Repository.NumOpenIssues}}</span>
166+
<span class="ui small label">{{CountFmt .Repository.NumOpenIssues}}</span>
167167
{{end}}
168168
</a>
169169
{{end}}
@@ -178,7 +178,7 @@
178178
<a class="{{if .PageIsPullList}}active {{end}}item" href="{{.RepoLink}}/pulls">
179179
{{svg "octicon-git-pull-request"}} {{.locale.Tr "repo.pulls"}}
180180
{{if .Repository.NumOpenPulls}}
181-
<span class="ui primary small label">{{CountFmt .Repository.NumOpenPulls}}</span>
181+
<span class="ui small label">{{CountFmt .Repository.NumOpenPulls}}</span>
182182
{{end}}
183183
</a>
184184
{{end}}
@@ -187,7 +187,7 @@
187187
<a class="{{if .PageIsActions}}active {{end}}item" href="{{.RepoLink}}/actions">
188188
{{svg "octicon-play"}} {{.locale.Tr "actions.actions"}}
189189
{{if .Repository.NumOpenActionRuns}}
190-
<span class="ui primary small label">{{CountFmt .Repository.NumOpenActionRuns}}</span>
190+
<span class="ui small label">{{CountFmt .Repository.NumOpenActionRuns}}</span>
191191
{{end}}
192192
</a>
193193
{{end}}
@@ -202,7 +202,7 @@
202202
<a href="{{.RepoLink}}/projects" class="{{if .IsProjectsPage}}active {{end}}item">
203203
{{svg "octicon-project"}} {{.locale.Tr "repo.project_board"}}
204204
{{if .Repository.NumOpenProjects}}
205-
<span class="ui primary small label">{{CountFmt .Repository.NumOpenProjects}}</span>
205+
<span class="ui small label">{{CountFmt .Repository.NumOpenProjects}}</span>
206206
{{end}}
207207
</a>
208208
{{end}}
@@ -211,7 +211,7 @@
211211
<a class="{{if .PageIsReleaseList}}active {{end}}item" href="{{.RepoLink}}/releases">
212212
{{svg "octicon-tag"}} {{.locale.Tr "repo.releases"}}
213213
{{if .NumReleases}}
214-
<span class="ui primary small label">{{CountFmt .NumReleases}}</span>
214+
<span class="ui small label">{{CountFmt .NumReleases}}</span>
215215
{{end}}
216216
</a>
217217
{{end}}

0 commit comments

Comments
 (0)
Please sign in to comment.