icons: Add new unmute icon SVG.

Added unmute.svg in web/shared/icons. Also added
source and license information for the icon in
docs/THIRDPARTY.

Additionally, used unmute icon for unmute option in
topic_sidebar menu for topics in muted stream.

Fixes #25124
This commit is contained in:
Hardik Dharmani
2023-04-16 00:31:57 +05:30
committed by Tim Abbott
parent 99f8c19d6d
commit 06709bc5da
3 changed files with 13 additions and 2 deletions

View File

@@ -132,6 +132,12 @@ Copyright: Google, Inc.
License: Apache-2.0
Comment: Material volume icon (rounded) with custom cross symbol
Files: web/shared/icons/unmute.svg
Source: https://fonts.google.com/icons?selected=Material+Symbols+Rounded:volume_up
Copyright: Google, Inc.
License: Apache-2.0
Comment: Material volume up icon (rounded)
Files: web/shared/icons/smart-toy.svg
Source: https://fonts.google.com/icons?selected=Material+Symbols+Rounded:smart_toy
Copyright: Google, Inc.

View File

@@ -0,0 +1,5 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.77778 4.42543C11.0933 5.08321 12 6.43432 12 8.00766C12 9.58099 11.0933 10.9321 9.77778 11.581V4.42543Z" fill="black"/>
<path d="M9.77778 1.47432V1.29655C9.77778 0.736545 10.3378 0.336546 10.8533 0.54099C13.8667 1.68766 16 4.59432 16 8.00766C16 11.421 13.8667 14.3277 10.8533 15.4743C10.3378 15.6699 9.77778 15.2788 9.77778 14.7188V14.541C9.77778 14.2032 9.99111 13.9099 10.3111 13.7854C12.6044 12.8699 14.2222 10.621 14.2222 8.00766C14.2222 5.39432 12.6044 3.14543 10.3111 2.22988C10 2.10543 9.77778 1.8121 9.77778 1.47432Z" fill="black"/>
<path d="M0 9.83335V6.16669C0 5.66252 0.4125 5.25002 0.916667 5.25002H3.66667L6.6825 2.22502C7.26 1.64752 8.25 2.06002 8.25 2.87585V13.115C8.25 13.9309 7.26 14.3434 6.6825 13.7659L3.66667 10.75H0.916667C0.4125 10.75 0 10.3375 0 9.83335Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 914 B

View File

@@ -13,14 +13,14 @@
{{#unless topic_unmuted}}
<li class="hidden-for-spectators">
<a tabindex="0" class="sidebar-popover-unmute-topic" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
<i class="zulip-icon zulip-icon-mute" aria-hidden="true"></i>
<i class="zulip-icon zulip-icon-unmute" aria-hidden="true"></i>
{{t "Unmute topic (muted stream)"}}
</a>
</li>
{{else}}
<li class="hidden-for-spectators">
<a tabindex="0" class="sidebar-popover-remove-unmute" data-stream-id="{{ stream_id }}" data-topic-name="{{ topic_name }}">
<i class="zulip-icon zulip-icon-mute" aria-hidden="true"></i>
<i class="zulip-icon zulip-icon-unmute" aria-hidden="true"></i>
{{t "Mute topic (muted stream)"}}
</a>
</li>