0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-11 08:25:15 +01:00
gitea/web_src/svg
silverwind a51b115b0a
Use inline SVG for built-in OAuth providers (#25171)
The plan is that all built-in auth providers use inline SVG for more
flexibility in styling and to get the GitHub icon to follow
`currentcolor`. This only removes the `public/img/auth` directory and
adds the missing svgs to our svg build.

It should map the built-in providers to these SVGs and render them. If
the user has set a Icon URL, it should render that as an `img` tag
instead.

```
gitea-azure-ad
gitea-bitbucket
gitea-discord
gitea-dropbox
gitea-facebook
gitea-gitea
gitea-gitlab
gitea-google
gitea-mastodon
gitea-microsoftonline
gitea-nextcloud
gitea-twitter
gitea-yandex
octicon-mark-github
```

GitHub logo is now white again on dark theme:

<img width="431" alt="Screenshot 2023-06-12 at 21 45 34"
src="https://github.com/go-gitea/gitea/assets/115237/27a43504-d60a-4132-a502-336b25883e4d">

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-06-13 10:51:02 +00:00
..
fontawesome-openid.svg
fontawesome-save.svg
fontawesome-send.svg
fontawesome-windows.svg
gitea-alpine.svg
gitea-azuread.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-azureadv2.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-bitbucket.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-cargo.svg
gitea-chef.svg
gitea-codebase.svg
gitea-composer.svg
gitea-conan.svg
gitea-conda.svg
gitea-cran.svg
gitea-debian.svg
gitea-discord.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-double-chevron-left.svg
gitea-double-chevron-right.svg
gitea-dropbox.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-empty-checkbox.svg
gitea-exclamation.svg
gitea-facebook.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-git.svg
gitea-gitbucket.svg
gitea-gitlab.svg
gitea-go.svg
gitea-gogs.svg
gitea-google.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-helm.svg
gitea-join.svg
gitea-lock-cog.svg
gitea-lock.svg
gitea-mastodon.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-matrix.svg
gitea-maven.svg
gitea-microsoftonline.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-nextcloud.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-npm.svg
gitea-nuget.svg
gitea-onedev.svg
gitea-openid.svg
gitea-pub.svg
gitea-python.svg
gitea-rpm.svg
gitea-rubygems.svg
gitea-split.svg
gitea-swift.svg
gitea-twitter.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-unlock.svg
gitea-vagrant.svg
gitea-vscode.svg
gitea-whitespace.svg
gitea-yandex.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
material-invert-colors.svg
material-palette.svg