Skip to content

Commit c442c68

Browse files
GiteaBotwxiaoguang
andauthored
Use primary as button color (go-gitea#32949) (go-gitea#32950)
Backport go-gitea#32949 by wxiaoguang * Fix go-gitea#32871 * Fix go-gitea#32948 Co-authored-by: wxiaoguang <[email protected]>
1 parent 57868c2 commit c442c68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/repo/clone_panel.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<button class="ui green button js-btn-clone-panel">
1+
<button class="ui primary button js-btn-clone-panel">
22
<span>{{svg "octicon-code" 16}} Code</span>
33
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
44
</button>

templates/repo/code/upstream_diverging_info.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{{end}}
1111
</div>
1212
{{if .CanWriteCode}}
13-
<button class="ui compact green button tw-m-0 link-action" data-url="{{.Repository.Link}}/branches/merge-upstream?branch={{.BranchName}}">
13+
<button class="ui compact primary button tw-m-0 link-action" data-url="{{.Repository.Link}}/branches/merge-upstream?branch={{.BranchName}}">
1414
{{ctx.Locale.Tr "repo.pulls.upstream_diverging_merge"}}
1515
</button>
1616
{{end}}

0 commit comments

Comments
 (0)