diff options
author | silverwind <me@silverwind.io> | 2022-11-21 21:25:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 20:25:26 +0000 |
commit | 2e5ac53bdcbdc796dc4d1597bdf6d717e211bf24 (patch) | |
tree | 7ce8ac430ff01636612fb02e8dbce2f7ac2296fb /templates/org/settings | |
parent | 2836382f3487ed3f9ebd57b4356b72784fdf97cb (diff) | |
download | gitea-2e5ac53bdcbdc796dc4d1597bdf6d717e211bf24.tar.gz gitea-2e5ac53bdcbdc796dc4d1597bdf6d717e211bf24.zip |
Embed Matrix icon as SVG (#21890)
Embed the SVG icon directly, making further invertion unnecessary
because the icon color can now follow text color.
<img width="240" alt="Screenshot 2022-11-21 at 20 16 32"
src="https://user-images.githubusercontent.com/115237/203142189-89f20de9-c0bd-4d05-92c0-44dadf20d78f.png">
<img width="245" alt="Screenshot 2022-11-21 at 20 16 46"
src="https://user-images.githubusercontent.com/115237/203142191-658239ba-1859-49c6-91ad-10ddf14780d0.png">
Diffstat (limited to 'templates/org/settings')
-rw-r--r-- | templates/org/settings/hook_new.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/settings/hook_new.tmpl b/templates/org/settings/hook_new.tmpl index 7308cafa20..081f5a2839 100644 --- a/templates/org/settings/hook_new.tmpl +++ b/templates/org/settings/hook_new.tmpl @@ -26,7 +26,7 @@ {{else if eq .HookType "feishu"}} <img width="26" height="26" src="{{AssetUrlPrefix}}/img/feishu.png"> {{else if eq .HookType "matrix"}} - <img width="26" height="26" src="{{AssetUrlPrefix}}/img/matrix.svg"> + {{svg "gitea-matrix" 26}} {{else if eq .HookType "wechatwork"}} <img width="26" height="26" src="{{AssetUrlPrefix}}/img/wechatwork.png"> {{else if eq .HookType "packagist"}} |