# 从文本到图标

**URL:** <https://meta.discourse.org/t/from-text-to-icon/345840>\
**Category:** Support\
**Created:** [2025年一月6日 16:15 UTC](https://meta.discourse.org/t/from-text-to-icon/345840 "2025-01-06T16:15:03Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Post date:** [2025年一月13日 23:12 UTC](https://meta.discourse.org/t/from-text-to-icon/345840/13 "2025-01-13T23:12:02Z")

</div>

> [@Radu](#):
>
> `content:'fa d-icon d-icon-reply'; `

不，但是你可以使用与之前方法相同的方法。上传它，然后按照指南将其添加为 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/from-text-to-icon/345840)._
