v2.3.3(9월 초 출시)부터 원격 테마에서 자동 생성된 SASS 색상 변수($primary-low, $primary-medium 등)를 오버라이드할 수 있습니다. (아직 관리자 UI를 통해 직접 수행할 수는 없습니다.)
이러한 색상 중 하나를 오버라이드하려면 테마의 about.json 파일의 color_scheme 섹션에 해당 항목을 추가해야 합니다. 이렇게 하면 /admin/customize/colors에서 색상 스킴 내에 해당 오버라이드가 목록으로 표시됩니다.
"color_schemes": {
“My_colors”: {
"primary": "000000",
"primary-high": "333333",
"primary-medium": "666666",
"primary-low-mid": "999999",
"primary-low": “cccccc”
}
}
모든 색상 변환은 color_transformations.scss에 나열되어 있습니다. 기본 라이트 색상 스킴에서 생성된 색상은 https://theme-creator.discourse.org/styleguide/atoms/colors에서 미리 볼 수도 있습니다.
원격 테마에 대해 자세히 알아보려면 Structure of themes and theme components 및 https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648을 참고하세요.
