forked from gitea/gitea
1
0
Fork 0
gitea/templates
silverwind 8099238618
Change green buttons to primary color (#27099)
I think it's better if the primary actions have primary color instead of
green which fits better into the overall single-color UI design. This PR
currently replaces every green button with primary:

<img width="141" alt="Screenshot 2023-09-16 at 14 07 59"
src="https://github.com/go-gitea/gitea/assets/115237/843c1e50-4fb2-4ec6-84ba-0efb9472dcbe">
<img width="161" alt="Screenshot 2023-09-16 at 14 07 51"
src="https://github.com/go-gitea/gitea/assets/115237/9442195a-a3b2-4a42-b262-8377d6f5c0d1">

Modal actions now use uncolored/primary instead of previous green/red
colors. I also removed the box-shadow on all basic buttons:

<img width="259" alt="Screenshot 2023-09-16 at 14 16 39"
src="https://github.com/go-gitea/gitea/assets/115237/5beea529-127a-44b0-8d4c-afa7b034a490">
<img width="261" alt="Screenshot 2023-09-16 at 14 17 42"
src="https://github.com/go-gitea/gitea/assets/115237/4757f7b2-4d46-49bc-a797-38bb28437b88">

The change currently includes the "Merge PR" button, for which we might
want to make an exception to match the icon color there:

<img width="442" alt="Screenshot 2023-09-16 at 14 33 53"
src="https://github.com/go-gitea/gitea/assets/115237/993ac1a5-c94d-4895-b76c-0d872181a70b">
2023-09-18 22:05:31 +00:00
..
admin Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
code Refactor some CSS styles and simplify code (#26771) 2023-08-28 22:14:51 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
explore Use `print` instead of `printf` (#27093) 2023-09-16 03:51:54 +00:00
mail Update team invitation email link (#26550) 2023-08-31 16:26:13 +00:00
org Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
package Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
projects Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
repo Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
shared Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
status Replace fomantic divider module with our own (#25539) 2023-06-29 20:24:22 +08:00
swagger Fix token endpoints ignore specified account (#27080) 2023-09-18 00:21:15 +00:00
user Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
webhook Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 2023-06-08 12:23:39 +08:00