mirror of
https://github.com/go-gitea/gitea
synced 2025-08-02 23:58:35 +00:00
Replace blue button and label classes with primary (#19763)
* make blue really blue * replace blue button and label classes with primary * add --color-blue-dark * add light color variants, tweak a few colors * fix colors * add comment Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@@ -158,7 +158,7 @@
|
||||
<a class="{{if .PageIsIssueList}}active{{end}} item" href="{{.RepoLink}}/issues">
|
||||
{{svg "octicon-issue-opened"}} {{.i18n.Tr "repo.issues"}}
|
||||
{{if .Repository.NumOpenIssues}}
|
||||
<span class="ui blue small label">{{CountFmt .Repository.NumOpenIssues}}</span>
|
||||
<span class="ui primary small label">{{CountFmt .Repository.NumOpenIssues}}</span>
|
||||
{{end}}
|
||||
</a>
|
||||
{{end}}
|
||||
@@ -173,7 +173,7 @@
|
||||
<a class="{{if .PageIsPullList}}active{{end}} item" href="{{.RepoLink}}/pulls">
|
||||
{{svg "octicon-git-pull-request"}} {{.i18n.Tr "repo.pulls"}}
|
||||
{{if .Repository.NumOpenPulls}}
|
||||
<span class="ui blue small label">{{CountFmt .Repository.NumOpenPulls}}</span>
|
||||
<span class="ui primary small label">{{CountFmt .Repository.NumOpenPulls}}</span>
|
||||
{{end}}
|
||||
</a>
|
||||
{{end}}
|
||||
@@ -188,7 +188,7 @@
|
||||
<a href="{{.RepoLink}}/projects" class="{{ if .IsProjectsPage }}active{{end}} item">
|
||||
{{svg "octicon-project"}} {{.i18n.Tr "repo.project_board"}}
|
||||
{{if .Repository.NumOpenProjects}}
|
||||
<span class="ui blue small label">{{CountFmt .Repository.NumOpenProjects}}</span>
|
||||
<span class="ui primary small label">{{CountFmt .Repository.NumOpenProjects}}</span>
|
||||
{{end}}
|
||||
</a>
|
||||
{{ end }}
|
||||
@@ -197,7 +197,7 @@
|
||||
<a class="{{if .PageIsReleaseList}}active{{end}} item" href="{{.RepoLink}}/releases">
|
||||
{{svg "octicon-tag"}} {{.i18n.Tr "repo.releases"}}
|
||||
{{if .NumReleases}}
|
||||
<span class="ui blue small label">{{CountFmt .NumReleases}}</span>
|
||||
<span class="ui primary small label">{{CountFmt .NumReleases}}</span>
|
||||
{{end}}
|
||||
</a>
|
||||
{{end}}
|
||||
|
Reference in New Issue
Block a user