summaryrefslogtreecommitdiffstats
path: root/web_src/svg/gitea-dropbox.svg
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-06-13 12:51:02 +0200
committerGitHub <noreply@github.com>2023-06-13 10:51:02 +0000
commita51b115b0ad755562c71f6a382326c59868dfb96 (patch)
tree55a9b74065daad1b51a7ff0835f03e63b11c181a /web_src/svg/gitea-dropbox.svg
parent2ad2d5a6cea7e0e61bd213167244066c230b054e (diff)
downloadgitea-a51b115b0ad755562c71f6a382326c59868dfb96.tar.gz
gitea-a51b115b0ad755562c71f6a382326c59868dfb96.zip
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>
Diffstat (limited to 'web_src/svg/gitea-dropbox.svg')
-rw-r--r--web_src/svg/gitea-dropbox.svg1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/svg/gitea-dropbox.svg b/web_src/svg/gitea-dropbox.svg
new file mode 100644
index 0000000000..e75e7cc8cf
--- /dev/null
+++ b/web_src/svg/gitea-dropbox.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="25 24.999 850 790.592" class="svg gitea-dropbox" width="16" height="16" aria-hidden="true"><g fill="#007ee5"><path d="M275.037 24.999 25 188.255l172.886 138.448L450 171.023zM25 465.16l250.037 163.256L450 482.374l-252.114-155.67zm425 17.214 174.963 146.042L875 465.16 702.114 326.703z"/><path d="M875 188.255 624.963 24.999 450 171.024l252.114 155.68zM450.513 513.797l-175.476 145.61-75.09-49.028v54.959L450.513 815.59 701.08 665.338v-54.96l-75.09 49.029z"/></g></svg> \ No newline at end of file