Skip to content

Commit

Permalink
Use primary as button color (#32949) (#32950)
Browse files Browse the repository at this point in the history
Backport #32949 by wxiaoguang

* Fix #32871
* Fix #32948

Co-authored-by: wxiaoguang <[email protected]>
  • Loading branch information
GiteaBot and wxiaoguang authored Dec 22, 2024
1 parent 57868c2 commit c442c68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/repo/clone_panel.tmpl
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
2 changes: 1 addition & 1 deletion templates/repo/code/upstream_diverging_info.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit c442c68

Please sign in to comment.