You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 year ago
..
emoji Add forge emojies (#16296) 3 years ago
svg Use inline SVG for built-in OAuth providers (#25171) 1 year ago
404.png Optimize png images via Google zopflipng [ci skip] (#1639) 7 years ago
500.png Optimize png images via Google zopflipng [ci skip] (#1639) 7 years ago
apple-touch-icon.png Clean up SVG (#13680) 4 years ago
avatar_default.png Clean up SVG (#13680) 4 years ago
checkmark.png ui for repo/create page 10 years ago
dingtalk.ico Add dingtalk webhook (#2777) 7 years ago
discord.png Implementation of discord webhook (#2402) 7 years ago
failed.png Store task errors following migrations and display them (#13246) 4 years ago
favicon.png Clean up SVG (#13680) 4 years ago
favicon.svg Modernize JS build scripts (#19824) 2 years ago
feishu.png Add feishu webhook support (#10229) 4 years ago
gitea.svg Consolidate Logos and update README header (#14136) 4 years ago
gogs.ico Add Gitea Webhook (#1755) 7 years ago
loading.png optimize public/img/loading.png (#10372) 4 years ago
logo.png Consolidate Logos and update README header (#14136) 4 years ago
logo.svg Update JS dependencies (#15033) 3 years ago
msteams.png fix apple-touch-icon, regenerate images (#10065) 4 years ago
openid-16x16.png optimize all images in public/img (#6427) 5 years ago
packagist.png Add packagist webhook (#18224) 2 years ago
repo_default.png fix apple-touch-icon, regenerate images (#10065) 4 years ago
slack.png optimize all images in public/img (#6427) 5 years ago
telegram.png fix apple-touch-icon, regenerate images (#10065) 4 years ago
wechatwork.png Add support for corporate WeChat webhooks (#15910) 3 years ago