feat: export complete Discourse themes ecosystem (16 themes, SCSS, JS components and color schemes)

This commit is contained in:
eldov
2026-08-30 18:07:57 +02:00
parent 0d76aaa622
commit 3a411c2643
258 changed files with 16878 additions and 0 deletions
@@ -0,0 +1,19 @@
export function getTopicStatusBadge(topic) {
if (topic.is_hot) {
return {
icon: "fire",
text: "topic_statuses.hot.title",
className: "--hot",
};
}
if (topic.pinned || topic.pinned_globally) {
return {
icon: "thumbtack",
text: "topic_statuses.pinned.title",
className: "--pinned",
};
}
return null;
}