Change color of personal messages

테마와 테마 컴포넌트를 구분하는 변경 사항을 적용할 당시, Meta에 있는 모든 테마 컴포넌트에 PR을 보냈던 기억이 납니다.

이것은 다른 주제에 대한 답변이었기 때문에 누락된 것으로 보이며, 이후 Customization > Theme 카테고리에 별도의 주제로 이동되었습니다.

@oca 이 "theme"에 한 줄만 추가하면 테마 컴포넌트처럼 작동합니다. 다음과 같이 컴포넌트의 about.json 파일에 다음 내용을 추가해야 합니다.

"component": true
{
  "name": "Private messages with color",
  "about_url": "https://framagit.org/oca/discourse-theme-colored-private-messages   ",
  "license_url": "https://framagit.org/oca/discourse-theme-colored-private-messages/blob/master/LICENSE",
+ "component": true,
   "assets": {
        "asset-variable": "assets/background.svg"
   }
}

이렇게 하면 다른 컴포넌트와 마찬가지로 정상적으로 작동할 것이며, 이후 이 주제에 theme-component 태그를 추가할 수 있습니다.

6개의 좋아요