기능
category_style 관리자 설정에 대한 변경 사항으로 인해, 카테고리 배지 스타일을 박스, 바 또는 없음으로 설정하는 기능이 이 테마 컴포넌트로 이동되었습니다. 해당 변경 사항에 대해 자세히 알아보려면 여기를 참조하세요:
Discourse updates made 2023-11-13T05:00:00Z (UTC) or later will include this change.
In an effort to unify how categories are styled in the UI, such as in the sidebar or when mentioning a category in chat or in a post, we are removing the non-default category styles from the category_style site settings and ultimately removing this setting entirely.
For those of you already using the default (bullet) category style, no action is required.
For those …
예시
설정
이것에 대해 하나의 간단한 설정만 있습니다:
이름
설명
category badge style
원하는 카테고리 배지 스타일
우리가 호스팅하는가요? 테마 컴포넌트는 Standard, Business, Enterprise 플랜에서 사용 가능합니다.
10개의 좋아요
AstonJ
(AstonJ)
12월 24, 2023, 6:52오후
2
Just switched to this and have managed to get most of my styling back, however is it possible to add #color: FOREGROUND-COLOUR to the style attribute please?
So this:
Style Attribute {
--category-badge-color: #0;
--category-badge-text-color: #865ac9;
}
Would end up like this:
Style Attribute {
--category-badge-color: #0;
--category-badge-text-color: #865ac9;
color: #865ac9;
}
And so like this:
(Or is it possible for me to do this locally just on my install?)
Jagster
(Jakke Flemming)
4월 18, 2025, 6:24오후
3
Just another friendly remainder, but if this component is in use, and the badge style is nothing, it will hide all new style category icons.