# 기본 테마에서 --category-color 변수 사용이 일관되지 않나요?

**URL:** https://meta.discourse.org/t/inconsistent-use-of-category-color-variable-in-default-theme/241346
**Category:** Support
**Created:** [10월 8, 2022, 2:12오후 UTC](https://meta.discourse.org/t/inconsistent-use-of-category-color-variable-in-default-theme/241346 "2022-10-08T14:12:01Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [10월 8, 2022, 3:52오후 UTC](https://meta.discourse.org/t/inconsistent-use-of-category-color-variable-in-default-theme/241346/2 "2022-10-08T15:52:28Z")

</div>

Richard님, 안녕하세요.

이 내용이 도움이 될 수 있을 것 같습니다. 🙂

> [@박스 카테고리 배경색 변경](https://meta.discourse.org/t/change-category-background-color-for-boxes/238748/2?u=dodesz):
>
> Hello, This is possible with css and little bit template modification. slightly_smiling_face On desktop, categories border has a color variable which you can use for background too. This is the --category-color variable which is the border-color. [Screenshot 2022-09-12 at 17.25.56] But because this variable is a hex value you can’t make it transparency. However you can add this to a ::before pseudo where you can set opacity too. I made this as a component so you can install it or fork an…

---

_[View the full topic](https://meta.discourse.org/t/inconsistent-use-of-category-color-variable-in-default-theme/241346)._
