1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/public/img
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
..
emoji
svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
404.png
500.png
apple-touch-icon.png
avatar_default.png
checkmark.png
dingtalk.ico
discord.png
failed.png
favicon.png
favicon.svg Modernize JS build scripts (#19824) 2022-06-06 11:27:25 +08:00
feishu.png
gitea.svg
gogs.ico
loading.png
logo.png
logo.svg
msteams.png
openid-16x16.png
packagist.png
repo_default.png
slack.png
telegram.png
wechatwork.png