mirror of
1
Fork 0
forgejo/web_src/css
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
..
chroma Chroma color tweaks (#26978) 2023-09-08 11:03:01 -05:00
codemirror Remove EasyMDE focus outline on text (#25328) 2023-06-18 04:10:07 +00:00
editor Unify `border-radius` behavior (#26770) 2023-08-28 19:43:59 +00:00
features Refactor "shortsha" (#26877) 2023-09-03 02:58:52 +00:00
markup Unify `border-radius` behavior (#26770) 2023-08-28 19:43:59 +00:00
modules Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
repo Display archived labels specially when listing labels (#26820) 2023-09-18 04:54:05 +00:00
shared Improve issue list layout (#26983) 2023-09-09 20:23:57 +08:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
themes Replace box-shadow for `floating` dropdown as well (#26581) 2023-08-21 12:49:49 +02:00
actions.css Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
admin.css User details page (#26713) 2023-08-31 11:21:18 +02:00
base.css Display archived labels specially when listing labels (#26820) 2023-09-18 04:54:05 +00:00
dashboard.css Dashboard context dropdown position fix on landing page in mobile view. (#27047) 2023-09-13 15:15:36 +08:00
explore.css Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
font_i18n.css Fix `@font-face` overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Unify `border-radius` behavior (#26770) 2023-08-28 19:43:59 +00:00
helpers.css Remove some transition related code (#26755) 2023-08-28 01:26:23 +00:00
home.css avoid hard-coding height in language dropdown menu (#25986) 2023-07-19 23:30:57 +02:00
index.css Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
install.css Make "install page" respect environment config (#25648) 2023-07-09 22:43:37 +00:00
org.css Remove incorrect CSS helper classes (#26712) 2023-08-25 06:47:59 +00:00
repo.css Improve repo/user/org search (#27030) 2023-09-12 16:44:48 +00:00
review.css Unify `border-radius` behavior (#26770) 2023-08-28 19:43:59 +00:00
user.css Unify `border-radius` behavior (#26770) 2023-08-28 19:43:59 +00:00