Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

icons: Change bot icon from GitHub logo to Google material icon.

sayamsamal9f6f77f6bc2d
diff --git a/docs/THIRDPARTY b/docs/THIRDPARTY
index 5af4d3fde8f..aa72642df88 100644
--- a/docs/THIRDPARTY
+++ b/docs/THIRDPARTY
@@ -132,6 +132,11 @@ Copyright: Google, Inc.
License: Apache-2.0
Comment: Material volume icon (rounded) with custom cross symbol
+Files: web/shared/icons/smart-toy.svg
+Source: https://fonts.google.com/icons?selected=Material+Symbols+Rounded:smart_toy
+Copyright: Google, Inc.
+License: Apache-2.0
+
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/web/shared/icons/smart-toy.svg b/web/shared/icons/smart-toy.svg
new file mode 100644
index 00000000000..43b8a5e642b
--- /dev/null
+++ b/web/shared/icons/smart-toy.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48"><path d="M7.35 29.2q-2.25 0-3.8-1.55Q2 26.1 2 23.85t1.55-3.8q1.55-1.55 3.8-1.55v-6.15q0-1.2.9-2.1.9-.9 2.1-.9h8.3q0-2.25 1.55-3.8Q21.75 4 24 4t3.8 1.55q1.55 1.55 1.55 3.8h8.3q1.2 0 2.1.9.9.9.9 2.1v6.15q2.25 0 3.8 1.55Q46 21.6 46 23.85t-1.55 3.8q-1.55 1.55-3.8 1.55V39q0 1.2-.9 2.1-.9.9-2.1.9h-27.3q-1.2 0-2.1-.9-.9-.9-.9-2.1Zm9.8-5q.85 0 1.425-.575.575-.575.575-1.425 0-.85-.575-1.425Q18 20.2 17.15 20.2q-.85 0-1.425.575-.575.575-.575 1.425 0 .85.575 1.425.575.575 1.425.575Zm13.7 0q.85 0 1.425-.575.575-.575.575-1.425 0-.85-.575-1.425-.575-.575-1.425-.575-.85 0-1.425.575-.575.575-.575 1.425 0 .85.575 1.425.575.575 1.425.575ZM17.1 33.75h13.8q.65 0 1.075-.425.425-.425.425-1.075 0-.65-.425-1.075-.425-.425-1.075-.425H17.1q-.65 0-1.075.425-.425.425-.425 1.075 0 .65.425 1.075.425.425 1.075.425ZM10.35 39h27.3V12.35h-27.3Zm0 0V12.35 39Z"/></svg>
\ No newline at end of file
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 3844d566960..55cf826b324 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -1308,6 +1308,11 @@ $option_title_width: 180px;
background-repeat: no-repeat;
}
+ .zulip-icon-smart-toy {
+ font-size: 1.6em;
+ margin: 8px 11px 10px 9px;
+ }
+
.locked {
width: 18px;
height: 18px;
diff --git a/web/templates/settings_overlay.hbs b/web/templates/settings_overlay.hbs
index 5311034978f..7b635a66058 100644
--- a/web/templates/settings_overlay.hbs
+++ b/web/templates/settings_overlay.hbs
@@ -30,7 +30,7 @@
</li>
{{#unless is_guest}}
<li tabindex="0" data-section="your-bots">
- <i class="icon fa fa-github" aria-hidden="true"></i>
+ <i class="icon zulip-icon zulip-icon-smart-toy" aria-hidden="true"></i>
<div class="text">{{t "Bots" }}</div>
</li>
{{/unless}}
@@ -125,7 +125,7 @@
{{/unless}}
{{#unless is_guest}}
<li tabindex="0" data-section="bot-list-admin">
- <i class="icon fa fa-github" aria-hidden="true"></i>
+ <i class="icon zulip-icon zulip-icon-smart-toy" aria-hidden="true"></i>
<div class="text">{{t "Bots" }}</div>
{{#unless is_admin}}
<i class="locked fa fa-lock" title="{{t 'Only organization administrators can edit these settings.' }}"></i>