# 새 업데이트로 인해 새/읽지 않은 주제의 배경색 CSS 타겟팅 방식이 바뀌어 수정 방법을 모르겠습니다

**URL:** https://meta.discourse.org/t/new-update-changed-how-my-css-targets-new-unread-topic-background-colors-and-i-dont-know-how-to-fix-it/373748
**Category:** Development
**Created:** [7월 10, 2025, 1:29오후 UTC](https://meta.discourse.org/t/new-update-changed-how-my-css-targets-new-unread-topic-background-colors-and-i-dont-know-how-to-fix-it/373748 "2025-07-10T13:29:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Kartoon](https://avatars.discourse-cdn.com/v4/letter/k/e36b37/32.png) [@Kartoon](https://meta.discourse.org/u/Kartoon)
#### Post date: [7월 10, 2025, 1:29오후 UTC](https://meta.discourse.org/t/new-update-changed-how-my-css-targets-new-unread-topic-background-colors-and-i-dont-know-how-to-fix-it/373748/1 "2025-07-10T13:29:56Z")

</div>

이전에는 [GitHub - pyxfluff/Blackout · GitHub](https://github.com/pyxfluff/Blackout) 의 CSS를 사용하여 배경을 더 깊은 검은색으로 변경하고 있었습니다 (예시는 [Blackout - A Theme For OLED Displays](https://meta.discourse.org/t/blackout-a-theme-for-oled-displays/235047) 에서 확인하실 수 있습니다). 잘 작동하고 있었는데, 오늘 업데이트 이후 메인 페이지의 읽은(topics) 항목들이 기본 테마의 회색으로 되돌아갔습니다(읽지 않은 항목은 그대로입니다). 수십 가지의 변경을 시도해 보았지만 아무런 효과가 없습니다.

특히 아래 코드 블록을 삭제하면 전체 배경이 원래의 동일한 색상으로 리셋됩니다. 즉, 여기서 ‘읽은’ 상태의 배경을 더 이상 제대로 타겟팅하지 못하고 있는 것이 분명하지만, 제가 추가하는 어떤 시도도 효과가 없습니다.

`body, .boxed.white, .admin-detail, .admin-controls, .admin-controls .controls, .user-content,.group-details-container,`  
`div.edit-category .edit-category-title-bar, .user-main .about, .user-main .about .details .primary,`  
`.user-main .about .details, .user-stream .item, .user-stream .user-stream-item, .search-container .search-header,`  
`.search-container .search-filters .search-advanced-filters, .search-container .search-bar,`  
`.search-container .search-filters {`  
`background-color:#000!important;`  
`}`

 ![Screenshot 2025-07-10 062810](https://global.discourse-cdn.com/meta/original/4X/a/0/7/a07a11b44d56013f92a14a325752ae1b74288333.png)

읽은/읽지 않은 두 상태 모두 아래쪽 이미지처럼 보였으면 합니다. 위쪽 이미지처럼 보이길 원하지 않습니다. 이거 여전히 가능한가요? 무엇을 어떻게 타겟팅해야 하는지 모르겠고, 시도해 보면 AI는 계속 작동하지 않는 CSS만 더 제시할 뿐입니다.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [7월 10, 2025, 1:32오후 UTC](https://meta.discourse.org/t/new-update-changed-how-my-css-targets-new-unread-topic-background-colors-and-i-dont-know-how-to-fix-it/373748/2 "2025-07-10T13:32:40Z")

</div>

색판의 색상을 그냥 바꾸면 안 될까요?

---

<div class="post-metadata">

### Author: ![Kartoon](https://avatars.discourse-cdn.com/v4/letter/k/e36b37/32.png) [@Kartoon](https://meta.discourse.org/u/Kartoon)
#### Post date: [7월 10, 2025, 1:41오후 UTC](https://meta.discourse.org/t/new-update-changed-how-my-css-targets-new-unread-topic-background-colors-and-i-dont-know-how-to-fix-it/373748/3 "2025-07-10T13:41:23Z")

</div>

이것은 몇몇 스킨에서 세 번째 색상 모드로 사용되어, 밝은 모드/어두운 모드/이 모드 중 하나를 선택할 수 있게 해 주었습니다. 아주 중요한 것은 아니지만, 정확히 무엇이 변경되었는지, 그리고 그것이 깨졌을 때 단순히 안 깨지기를 바라는 것이 아니라 실제로 고칠 수 있도록 어떻게 해야 하는지 이해하고 싶었을 뿐입니다. 특히 제가 한 일 때문에 깨진 것도 아니고, 제 통제가 되지 않는 상황에서 말이죠.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [7월 10, 2025, 2:15오후 UTC](https://meta.discourse.org/t/new-update-changed-how-my-css-targets-new-unread-topic-background-colors-and-i-dont-know-how-to-fix-it/373748/4 "2025-07-10T14:15:13Z")

</div>

최근 새로운 색상 변수가 추가되었습니다.

> <https://github.com/discourse/discourse/commit/20f57aec12a5d2291c79a447d18eb3f164877c61>
>
> Working on adding a lot more variables to core. Doing so enables easy
> styling & …changes to the main bulk of the interface.
> 
> \*\*Example of what can be done\*\*
> Using these variables in core allows for the following stylistic changes
> to be made with less than 100 lines of code. Most of which are changing
> the value assigned to variables in this PR.
> 
> !\[CleanShot 2025-07-03 at 19 56
> 46@2x\](https://github.com/user-attachments/assets/130dc8be-3970-49ea-9003-d124d779edcc)

예를 들어, 방문한 주제의 배경색이 추가된 것으로 보입니다:

 ![Screenshot_20250710_160842_Firefox](https://global.discourse-cdn.com/meta/original/4X/6/1/a/61af47cd2e6716f06b5f1ed8df262d79c0cdbc57.jpeg)

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [7월 10, 2025, 6:22오후 UTC](https://meta.discourse.org/t/new-update-changed-how-my-css-targets-new-unread-topic-background-colors-and-i-dont-know-how-to-fix-it/373748/5 "2025-07-10T18:22:48Z")

</div>

2023년경 이후로 테마를 업데이트하지 않아 일부 오류가 발생할 수 있습니다. 실제로 이 테마를 사용하는 사람이 있는지 확신하지 못했지만, 시간이 나면 수정하겠습니다. 알려주셔서 감사합니다.
