标签图标

:discourse2: 摘要 Tag Icons 允许标签在标签名称旁边显示图标。
:eyeglasses: 预览 在 Discourse Theme Creator 上预览
:hammer_and_wrench: 仓库链接 https://github.com/discourse/discourse-tag-icons
:open_book: 初次使用 Discourse 主题? Discourse 主题使用新手指南

安装此主题组件

功能

以下是标签样式设置为默认(简单)时的显示效果示例:

以下是标签样式设置为 box 时的显示效果:

设置

名称 描述
tag icon list 输入逗号分隔的标签配置,格式为 “tag-slug,icon,iconColor”。图标颜色是可选的。
svg icons 此主题组件中使用的 FontAwesome 6 图标列表

:discourse2: 由我们托管? 主题组件在我们的 Standard、Business 和 Enterprise 计划中均可使用。

81 个赞
Is anyone else using tags on a Discourse forum in a big way?
Discourse Coloring Tag
Category Icons
How to test themes or theme components?
A playful approach to category moderation
Discourse更新后,主页排版混乱
How to make a category-list-like front page for a tag-oriented site?
Request or idea for a component: topic title or topic flair
Admin guide to tags in Discourse
Customizing your site with existing theme components
Category Icons
Setup Continuous Integration using GitHub Actions
Tag change color for element in a Tag group
Setting tag style to 'box'?
MD Topic List component
Remove Dashes from Tag Names
Links in tag descriptions aren’t escaped when using Tag Icons
Good approach for data sensitivity markings?
We're upgrading our icons to Font Awesome 6!
For newly created labels, assign a random style
How to create a tag "🎥"?
How to create a tag "🎥"?
Does anyone know how to add emojis to tags?
Renaming Tags: Consequences
Workarounds to support alternate tag structures
Difficult contrast of tags and categories when the text colour is white
Tag Banners
Some of my tags have # and some don't
The Horizon theme does not display tags on topic lists
Default tag icon
Tag Icons + Tag Banners + Right Sidebar Blocks
Add backgroundColor option for Tag Icons theme-component
Include an emoji when creating a new topic?
Angus' Events Plugin :calendar:
Add color and subcategory styling to category and chat mentions
Trying to use css to insert png icons in tag boxes
Workarounds to support alternate tag structures
Uncaught TypeError: Cannot read property 'apply' of undefined
A picker for font awesome icons
api.onPageChange not working with endless scroll
Volunteer Activities - a simple setup for non-hierarchical collaboration
Looking for a freelancer to implement a custom Discourse theme (based on an existing mockup)
MD Topic List Mobile component
Javascript error + content missing after update 2.6.0.beta3
Emoji in tag - thoughts and experiences