# 私有分类的挂锁图标

**URL:** https://meta.discourse.org/t/private-categories-padlock-icon/102733
**Category:** UX
**Created:** [2018年十一月25日 22:21 UTC](https://meta.discourse.org/t/private-categories-padlock-icon/102733 "2018-11-25T22:21:58Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [2021年十一月18日 02:24 UTC](https://meta.discourse.org/t/private-categories-padlock-icon/102733/9 "2021-11-18T02:24:48Z")

</div>

> [@downey](#):
>
> 有没有简单的方法可以批量更改这些图标（用于已揭示的类别）为解锁图标？

这个主题组件可以很好地做到这一点：

> [@Category Icons](https://meta.discourse.org/t/category-icons-component/104683):
>
> warning This theme component is deprecated and should no longer be used. Its features are now in Discourse Core (see: [Bringing popular features to Discourse](https://meta.discourse.org/t/bringing-popular-features-to-discourse-header-search-welcome-banner-and-category-icons-emoji/359169)). For private category icon customization, refer to [this topic](https://meta.discourse.org/t/new-aliases-for-replacing-lock-icons-on-closed-topics-and-restricted-categories/373778). discourse2Summary Category Icons allows category badge links to have icons next to the category name.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/category-icons)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-category-icons](https://github.com/discourse/discourse-category-icons) …

它看起来好多了。为什么不将其更改为核心功能？

---

_[View the full topic](https://meta.discourse.org/t/private-categories-padlock-icon/102733)._
