From ee26d1c57866930e88bd9467c91764d0bb4db9dd Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 11 Jun 2023 04:13:08 +0200 Subject: Button and color enhancements (#24989) (#25176) Backport #24989. Clean cherry-pick aside from one small conflict with divider. - Various corrections to button styles, especially secondary - Remove focus highlight, it's annoying when it stays on button after press - Clearly define ghost and link buttons with demos in devtest - Remove black, grey and tertiary buttons, they should not be used - Make `arc-green` slightly darker image image --- templates/repo/diff/box.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/repo/diff/box.tmpl') diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 64d9d82128..36fb98fa66 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -90,7 +90,7 @@

-
{{if $file.IsRenamed}}{{$file.OldName}} → {{end}}{{$file.Name}}{{if .IsLFSFile}} ({{$.locale.Tr "repo.stored_lfs"}}){{end}} - + {{if $file.IsGenerated}} {{$.locale.Tr "repo.diff.generated"}} {{end}} -- cgit v1.2.3