1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-30 09:41:11 -05:00
forgejo/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 Remove remaining fontawesome usage in templates (#15952) 2021-05-22 23:29:46 +02:00
fontawesome-save.svg Convert <div class="button"> to <button class="button"> (#23337) 2023-03-14 11:34:09 +08:00
fontawesome-send.svg Replace some icons with SVG (#20741) 2022-08-10 18:30:40 +02:00
fontawesome-windows.svg Remove remaining fontawesome usage in templates (#15952) 2021-05-22 23:29:46 +02:00
gitea-alpine.svg Add Alpine package registry (#23714) 2023-05-12 17:27:50 +00:00
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 Add Cargo package registry (#21888) 2023-02-05 18:12:31 +08:00
gitea-chef.svg Add Chef package registry (#22554) 2023-02-06 09:49:21 +08:00
gitea-codebase.svg Add migrate from Codebase (#16768) 2021-12-02 23:24:02 +01:00
gitea-composer.svg Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
gitea-conan.svg Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
gitea-conda.svg Add Conda package registry (#22262) 2023-02-01 12:30:39 -06:00
gitea-cran.svg Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
gitea-debian.svg Add Debian package registry (#24426) 2023-05-02 12:31:35 -04:00
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 Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
gitea-double-chevron-right.svg Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
gitea-dropbox.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-empty-checkbox.svg Remove all direct references to font-awesome (#24448) 2023-05-01 00:02:56 +02:00
gitea-exclamation.svg Slightly reduce exclamation icon size (#20753) 2022-08-12 13:51:33 -04:00
gitea-facebook.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-git.svg Switch migration icon to svg (#15954) 2021-09-18 17:22:51 +01:00
gitea-gitbucket.svg Fix GitBucket icon (#17644) 2021-11-16 12:24:22 +08:00
gitea-gitlab.svg Rework Oauth login buttons, swap github logo to monocolor (#24740) 2023-05-15 22:46:51 +00:00
gitea-go.svg Add Go package registry (#24687) 2023-05-14 23:38:40 +08:00
gitea-gogs.svg use gogs.ico to create a better svg for migration page (#14795) 2021-02-25 14:13:44 +08:00
gitea-google.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-helm.svg Add Helm Chart registry (#19406) 2022-04-19 12:55:35 -04:00
gitea-join.svg Change review buttons to icons to make space for text (#20934) 2022-08-26 18:49:40 +02:00
gitea-lock-cog.svg Update Octicons to v10 (#12240) 2020-07-17 18:15:12 +03:00
gitea-lock.svg Update Octicons to v10 (#12240) 2020-07-17 18:15:12 +03:00
gitea-mastodon.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-matrix.svg Embed Matrix icon as SVG (#21890) 2022-11-21 20:25:26 +00:00
gitea-maven.svg Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
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 Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
gitea-nuget.svg Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
gitea-onedev.svg Add migrate from OneDev (#16356) 2021-08-22 00:47:45 +02:00
gitea-openid.svg Rework Oauth login buttons, swap github logo to monocolor (#24740) 2023-05-15 22:46:51 +00:00
gitea-pub.svg Add support for Pub packages (#20560) 2022-08-07 18:09:54 +08:00
gitea-python.svg Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
gitea-rpm.svg Add RPM registry (#23380) 2023-05-05 20:33:37 +00:00
gitea-rubygems.svg Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
gitea-split.svg Change review buttons to icons to make space for text (#20934) 2022-08-26 18:49:40 +02:00
gitea-swift.svg Add Swift package registry (#22404) 2023-03-13 15:28:39 -05:00
gitea-twitter.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
gitea-unlock.svg Update Octicons to v10 (#12240) 2020-07-17 18:15:12 +03:00
gitea-vagrant.svg Add support for Vagrant packages (#20930) 2022-08-29 15:04:45 +08:00
gitea-vscode.svg Add icon to vscode clone link (#17641) 2021-11-14 16:48:26 -05:00
gitea-whitespace.svg Change review buttons to icons to make space for text (#20934) 2022-08-26 18:49:40 +02:00
gitea-yandex.svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00
material-invert-colors.svg Render the git graph on the server (#12333) 2020-08-06 09:04:08 +01:00
material-palette.svg Render the git graph on the server (#12333) 2020-08-06 09:04:08 +01:00