diff options
author | silverwind <me@silverwind.io> | 2022-05-20 00:08:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-20 00:08:08 +0200 |
commit | 9da3d78e74d6c8f363799dc2157540ea005ea102 (patch) | |
tree | 2512ad31657613614e8a1a41295de9fe0e0690bf /templates/repo/header.tmpl | |
parent | ce52514762b914a5467a48c89fe67535ecc1a801 (diff) | |
download | gitea-9da3d78e74d6c8f363799dc2157540ea005ea102.tar.gz gitea-9da3d78e74d6c8f363799dc2157540ea005ea102.zip |
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>
Diffstat (limited to 'templates/repo/header.tmpl')
-rw-r--r-- | templates/repo/header.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 57c665986a..2d963d67c8 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -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}} |