카테고리 배지 스타일

:discourse2: 요약 Category Badge Styles은 비활성화된 category_style 관리자 설정의 기능을 대체합니다
:eyeglasses: 미리보기 Discourse Theme Creator에서 미리보기 (박스)
Discourse Theme Creator에서 미리보기 (바)
:hammer_and_wrench: 리포지토리 https://github.com/discourse/discourse-category-badge-styles
:question: 설치 가이드 테마 또는 테마 컴포넌트 설치 방법

이 테마 컴포넌트 설치

기능

category_style 관리자 설정에 대한 변경 사항으로 인해, 카테고리 배지 스타일을 박스, 바 또는 없음으로 설정하는 기능이 이 테마 컴포넌트로 이동되었습니다. 해당 변경 사항에 대해 자세히 알아보려면 여기를 참조하세요:

예시

설정

이것에 대해 하나의 간단한 설정만 있습니다:

이름 설명
category badge style 원하는 카테고리 배지 스타일

:discourse2: 우리가 호스팅하는가요? 테마 컴포넌트는 Standard, Business, Enterprise 플랜에서 사용 가능합니다.

10개의 좋아요

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?)

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.