0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 10:44:34 +01:00

Use primary as button color (#32949)

* Fix #32871
* Fix #32948
This commit is contained in:
wxiaoguang 2024-12-22 23:03:39 +08:00 committed by GitHub
parent 35c86af164
commit afe314fa77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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}}