Use primary as button color (#32949)

* Fix #32871
* Fix #32948
pull/32938/head^2
wxiaoguang 1 month ago committed by GitHub
parent 35c86af164
commit afe314fa77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      templates/repo/clone_panel.tmpl
  2. 2
      templates/repo/code/upstream_diverging_info.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> <span>{{svg "octicon-code" 16}} Code</span>
{{svg "octicon-triangle-down" 14 "dropdown icon"}} {{svg "octicon-triangle-down" 14 "dropdown icon"}}
</button> </button>

@ -10,7 +10,7 @@
{{end}} {{end}}
</div> </div>
{{if .CanWriteCode}} {{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"}} {{ctx.Locale.Tr "repo.pulls.upstream_diverging_merge"}}
</button> </button>
{{end}} {{end}}

Loading…
Cancel
Save