# 如何更改管理员图标

**URL:** <https://meta.discourse.org/t/how-i-can-change-the-staff-icon/135129>\
**Category:** Support\
**Created:** [2019年十二月5日 05:43 UTC](https://meta.discourse.org/t/how-i-can-change-the-staff-icon/135129 "2019-12-05T05:43:52Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2019年十二月6日 21:45 UTC](https://meta.discourse.org/t/how-i-can-change-the-staff-icon/135129/10 "2019-12-06T21:45:04Z")

</div>

这不是它的工作方式。`$shield-alt-duotone` 是一个变量，旨在用于您的自定义 CSS。我之前链接的第一个主题解释了如何使用 SVG 文件替换图标为新图标：

> [@Replace Discourse's default SVG icons with custom icons in a theme](https://meta.discourse.org/t/replace-discourses-default-svg-icons-with-custom-icons-in-a-theme/115736):
>
> You can replace a Discourse’s default SVG icons individually or as a whole with your own custom SVG and override them [within a theme or theme component.](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966#create-new-themes-and-theme-components-7)Step 1 - Create an SVG Spritesheet To get started, you must create an SVG Spritesheet. This can contain anything from a single additional custom SVG icon up to an entire replacement set of hundreds. The spritesheet should be saved as an SVG file. In principle, you are nesting the \<svg\> tag contents from the original SVG icon file into \<symbol\> …

---

_[View the full topic](https://meta.discourse.org/t/how-i-can-change-the-staff-icon/135129)._
