# 我们正在将图标升级到 Font Awesome 6！

**URL:** <https://meta.discourse.org/t/were-upgrading-our-icons-to-font-awesome-6/325349>\
**Category:** Announcements\
**Created:** [2024年九月9日 13:40 UTC](https://meta.discourse.org/t/were-upgrading-our-icons-to-font-awesome-6/325349 "2024-09-09T13:40:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [2024年九月9日 14:00 UTC](https://meta.discourse.org/t/were-upgrading-our-icons-to-font-awesome-6/325349/4 "2024-09-09T14:00:17Z")

</div>

> [@Jagster](#):
>
> 这个还需要吗：
> 
> `@import url("https://use.fontawesome.com/releases/v5.13.0/css/all.css");`

看起来这可能与 [Making tags look like real world tags - #11 by HeyRR](https://meta.discourse.org/t/making-tags-look-like-real-world-tags/100237/11) 相关……如果你使用像 `content: "\\f02b";` 这样的 CSS，那么是的，你仍然需要这个。这是在使用独立于我们实现的图标字体（我们直接使用 SVG 文件）

> [@Jagster](#):
>
> 这个也需要编辑吗：
> 
> ```plaintext
> 
> api.replaceIcon('d-post-share', 'share-alt');
> api.replaceIcon('d-topic-share', 'share-alt');
> api.replaceIcon("far-beer", "beer");
> 
> ```

这个不需要立即编辑，但根据[重命名列表](https://docs.fontawesome.com/web/setup/upgrade/whats-changed#icons-renamed-in-version-6)，你应该在未来 6 个月内将 `share-alt` 替换为 `share-nodes`，将 `beer` 替换为 `beer-mug-empty`（实心啤酒杯是一个专业图标……我猜它不是“[免费如啤酒](https://en.wiktionary.org/wiki/free_as_in_beer)”）

---

_[View the full topic](https://meta.discourse.org/t/were-upgrading-our-icons-to-font-awesome-6/325349)._
