# 在插件中使用服务器和耳机图标

**URL:** https://meta.discourse.org/t/using-server-and-headphone-icon-in-plugin/103402
**Category:** Feature
**Created:** [2018年十二月3日 22:15 UTC](https://meta.discourse.org/t/using-server-and-headphone-icon-in-plugin/103402 "2018-12-03T22:15:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ArwedSchmidt](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@ArwedSchmidt](https://meta.discourse.org/u/ArwedSchmidt)
#### Post date: [2018年十二月3日 22:15 UTC](https://meta.discourse.org/t/using-server-and-headphone-icon-in-plugin/103402/1 "2018-12-03T22:15:11Z")

</div>

Hello,  
when using the plugin [discourse-mumble](https://github.com/ArwedSchmidt/discourse-mumble), one needs the two icons “server” and “headphones” available in the general icon set. I’m unsure whether the code style of the plugin is good in that respect, but what can I do if I want to fix this? Can a plugin add to the icons? Shall I inline the icon? I can of course [patch this into discourse itself](https://github.com/ArwedSchmidt/discourse/commit/7bdd6e3bbd322a32ba1913717326af98e52575da), but is this a good idea? Any references welcome.

Cheers,  
Arwed

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2018年十二月3日 22:28 UTC](https://meta.discourse.org/t/using-server-and-headphone-icon-in-plugin/103402/2 "2018-12-03T22:28:42Z")

</div>

You can find instructions for adding icons via themes and plugins here:

> [@Introducing Font Awesome 5 and SVG icons](https://meta.discourse.org/t/introducing-font-awesome-5-and-svg-icons/101643):
>
> See also: [We're upgrading our icons to Font Awesome 6!](https://meta.discourse.org/t/were-upgrading-our-icons-to-font-awesome-6/325349) We will shortly merge into master a [branch](https://github.com/discourse/discourse/tree/fontawesome5) that upgrades Discourse to Font Awesome 5.5.0 (the free version) and switches to using SVG icons instead of an icon font. This is a substantial change, with lots of benefits, and one significant change for developers. Here is a quick rundown of the changes: using SVG icons will provide crisper icons, better for accessibility and easier to customize, see [this Github article](https://blog.github.com/2016-02-22-delivering-octicons-with-svg/) for more details since…
