diff options
author | Giteabot <teabot@gitea.io> | 2024-12-22 23:28:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-22 15:28:36 +0000 |
commit | c442c682ef57f83115593d72541f314da464b2dc (patch) | |
tree | fa31a5f4b0d282968013e2aa4b905ec76a803e53 | |
parent | 57868c2315aa11f3790076bec38fbe009bbcbd6a (diff) | |
download | gitea-c442c682ef57f83115593d72541f314da464b2dc.tar.gz gitea-c442c682ef57f83115593d72541f314da464b2dc.zip |
Use primary as button color (#32949) (#32950)
Backport #32949 by wxiaoguang
* Fix #32871
* Fix #32948
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
-rw-r--r-- | templates/repo/clone_panel.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/code/upstream_diverging_info.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/clone_panel.tmpl b/templates/repo/clone_panel.tmpl index 8cbeda132d..d3496bdb73 100644 --- a/templates/repo/clone_panel.tmpl +++ b/templates/repo/clone_panel.tmpl @@ -1,4 +1,4 @@ -<button class="ui green button js-btn-clone-panel"> +<button class="ui primary button js-btn-clone-panel"> <span>{{svg "octicon-code" 16}} Code</span> {{svg "octicon-triangle-down" 14 "dropdown icon"}} </button> diff --git a/templates/repo/code/upstream_diverging_info.tmpl b/templates/repo/code/upstream_diverging_info.tmpl index 299ba63e9e..51402598f9 100644 --- a/templates/repo/code/upstream_diverging_info.tmpl +++ b/templates/repo/code/upstream_diverging_info.tmpl @@ -10,7 +10,7 @@ {{end}} </div> {{if .CanWriteCode}} - <button class="ui compact green button tw-m-0 link-action" data-url="{{.Repository.Link}}/branches/merge-upstream?branch={{.BranchName}}"> + <button class="ui compact primary button tw-m-0 link-action" data-url="{{.Repository.Link}}/branches/merge-upstream?branch={{.BranchName}}"> {{ctx.Locale.Tr "repo.pulls.upstream_diverging_merge"}} </button> {{end}} |