forked from gitea/gitea
1
0
Fork 0
gitea/templates/user/settings
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
..
security Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
account.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
actions.tmpl Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00
appearance.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
applications.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
applications_oauth2.tmpl Allow creation of OAuth2 applications for orgs (#18084) 2022-10-09 20:07:41 +08:00
applications_oauth2_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
applications_oauth2_edit_form.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
applications_oauth2_list.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
grants_oauth2.tmpl Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
hook_new.tmpl Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
hooks.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
keys.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
keys_gpg.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
keys_principal.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
keys_ssh.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_head.tmpl Reduce margins on user settings page, introduce `flex-container` (#26046) 2023-07-31 07:16:03 +00:00
navbar.tmpl Differentiate better between user settings and admin settings (#26538) 2023-08-16 10:12:03 +00:00
organization.tmpl Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00
packages.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
packages_cleanup_rules_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
packages_cleanup_rules_preview.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
profile.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
repos.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
runner_edit.tmpl Add user level action runners (#24995) 2023-05-31 09:39:54 +08:00