From a51b115b0ad755562c71f6a382326c59868dfb96 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 13 Jun 2023 12:51:02 +0200 Subject: 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: Screenshot 2023-06-12 at 21 45 34 --------- Co-authored-by: wxiaoguang --- web_src/svg/gitea-azuread.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 web_src/svg/gitea-azuread.svg (limited to 'web_src/svg/gitea-azuread.svg') diff --git a/web_src/svg/gitea-azuread.svg b/web_src/svg/gitea-azuread.svg new file mode 100644 index 0000000000..6b69abcba4 --- /dev/null +++ b/web_src/svg/gitea-azuread.svg @@ -0,0 +1 @@ + \ No newline at end of file -- cgit v1.2.3