# 主题作者头像光环

**URL:** https://meta.discourse.org/t/topic-author-avatar-halos/408552
**Category:** Theme component
**Created:** [2026年七月26日 17:11 UTC](https://meta.discourse.org/t/topic-author-avatar-halos/408552 "2026-07-26T17:11:54Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [2026年七月26日 17:11 UTC](https://meta.discourse.org/t/topic-author-avatar-halos/408552/1 "2026-07-26T17:11:54Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | **摘要** | 在主题作者的所有帖子中，为其头像添加彩色光环 |
| 👓 | **预览** | [使用主题创建器预览](https://discourse.theme-creator.io/theme/Lilly/topic-author-avatar-halos) |
| 🛠 | **仓库** | [https://github.com/Lillinator/topic-author-avatar-halos](https://github.com/Lillinator/topic-author-avatar-halos) |
| ❓ | **安装指南** | [如何安装主题或主题组件](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682) |

安装此主题组件

### 👩‍💻 概述

多年来，我见过许多关于如何在后续主题帖子中突出显示主题作者的请求，此主题组件正是为此设计的。

这是一个轻量级的 Discourse 主题组件，可为主题中的主题作者头像添加彩色光环。光环将出现在主题作者在其主题（和私信）中的所有帖子的头像周围，从而在参与者众多的长主题中更容易识别他们。

管理员可以通过设置指定光环的颜色、大小和透明度。

### ⚙ 设置：

| 属性 | 描述 |
| --- | --- |
| **光环颜色** | 主题作者光环的颜色，可以使用 Discourse 颜色变量（最适合深色/浅色模式兼容，例如：`var(--tertiary)`）、十六进制颜色代码或 HTML 颜色名称 |
| **光环大小** | 光环大小（小、中或大） |
| **光环透明度** | 光环透明度（0.25 = 25%，0.5 = 50%，0.75 = 75%，1.0 = 100%） |

### 📸 结果截图：

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/0/a/20abd1621d1794e4d21fd00b83402d0ceeda0736.webp)

* * *
 **[查看我的其他 Discourse 作品](https://meta.discourse.org/filter?q=category%3Acustomization%20created-by%3ALilly%20order%3Acreated)**

---

_[View the full topic](https://meta.discourse.org/t/topic-author-avatar-halos/408552)._
