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">
This commit is contained in:
parent
2836382f34
commit
2e5ac53bdc
8 changed files with 9 additions and 9 deletions
|
@ -31,7 +31,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"}}
|
||||
|
|
|
@ -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"}}
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<img width="20" height="20" src="{{AssetUrlPrefix}}/img/feishu.png">{{.locale.Tr "repo.settings.web_hook_name_feishu_or_larksuite"}}
|
||||
</a>
|
||||
<a class="item" href="{{.BaseLinkNew}}/matrix/new">
|
||||
<img width="20" height="20" src="{{AssetUrlPrefix}}/img/matrix.svg">{{.locale.Tr "repo.settings.web_hook_name_matrix"}}
|
||||
{{svg "gitea-matrix" 20 "img"}}{{.locale.Tr "repo.settings.web_hook_name_matrix"}}
|
||||
</a>
|
||||
<a class="item" href="{{.BaseLinkNew}}/wechatwork/new">
|
||||
<img width="20" height="20" src="{{AssetUrlPrefix}}/img/wechatwork.png">{{.locale.Tr "repo.settings.web_hook_name_wechatwork"}}
|
||||
|
|
|
@ -24,7 +24,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"}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue