Use better GitHub icon on sign in page dark mode #917
Labels
No labels
accessibility
bug
bug
infrastructure
Codeberg
contributions welcome
docs
duplicate
enhancement
infrastructure
legal
licence / ToS
please chill
we are volunteers
public relations
question
question
user support
s/Forgejo
s/Forgejo/migration
s/Pages
s/Weblate
s/Woodpecker
security
service
upstream
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Codeberg/Community#917
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
That GitHub icon on sign in page looks ugly in dark mode. However, there is this beautiful GitHub icon on New Migration screen.
We should use the same icons from New Migration screen.
I also notice that GitLab icon on sign in page has white ugly border around. GitLab icon on New Migration screen is also much cleaner.

That's an old GitLab logo too. Perhaps it should be updated
This was just reported to me by a new user IRL and seems to be a bad "first impression" on users that haven't registered yet, as it makes our UX look very amateurish.
I am not sure how to modify this upstream as e.g.
/assets/img/auth/github.pngis not a file that I can find under https://codeberg.org/go-gitea/gitea, https://codeberg.org/forgejo/forgejo or https://codeberg.org/codeberg/forgejo.However, the ["New Migration" page] uses some very unique "Gitea-shipped" .svg icons that look, frankly, very, very good: https://codeberg.org/repo/migrate
I looked in the upstream template responsible for displaying the current icons, and couldn't figure out whether I could show those .svg's "by default" instead without resorting to some hardcoded hacks:
go-gitea/gitea@68e934ab5d/templates/user/auth/signin_inner.tmplI suspect this is Codeberg-specific, feel free to correct me if I'm wrong.
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/public/img/auth/github.png
This issue is being actively worked on - discussion is continuing on #1023 as the very awesome Gitea maintainer that is working on fixing this saw the duplicate issue first and not this one. Both issues will be closed when the PR is merged.
It might be beautiful, but it's rarely used even by GitHub themselves, so I opted to use the mono-color variant in above PR for both pages.
Updated that as well in https://github.com/go-gitea/gitea/pull/24740.
Should be fixed: #1023 (comment)