עדכון חדש שינה איך ה-CSS שלי מטפל בצבעי רקע של נושאים חדשים/לא נקראו, ואני לא יודע איך לתקן זאת

סיכום מבוסס בינה מלאכותית

A user, Kartoon, reports that a recent update to Discourse broke their custom CSS for changing the background color of read topics, which previously worked with the Blackout theme. The CSS no longer targets the read topic backgrounds, leaving them as grey instead of the desired deep black. Another user, pfaffman, suggests using color palettes instead, but Kartoon explains the CSS was part of a third color mode and wants to understand the change. Moin points out that new color variables were introduced in a recent commit, likely affecting the styling of visited topics. darkpixlz, the theme creator, acknowledges the issue and plans to fix it, noting the theme hasn’t been updated since 2023 Kartoon, pfaffman, Moin, darkpixlz.

I was previously using the CSS from GitHub - pyxfluff/Blackout · GitHub to change the background to a deeper black (you can see examples Blackout - A Theme For OLED Displays ). It was working fine, but today after I updated all the read topics on the main page have defaulted to the grey color of the underlying theme (unread remains the same). I’ve been trying dozens of changes and none of them have made a difference.

This specifically

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;
}

When removed resets the entire background back to the same matching color. So obviously something here isn’t targeting the “read” backgrounds anymore, but nothing I add makes a difference.

Want all the topics in both states to still look like the bottom, not the top . Is this still possible to do? I don’t know what or how to target that and AI just keeps giving me more non-working CSS too when I try to get that to figure it out.

למה לא פשוט לשנות את הצבעים בפלטת צבעים?

הוא שימש כמשטר צבע שלישי עבור כמה סקינים כדי שתוכלו לקבל בהיר/כהה/זה. זה לא סופר חשוב, אני יותר רק רציתי להבין מה בדיוק השתנה ואיך לעשות משהו בנידון כדי שכאשר משהו נשבר אוכל באמת לתקן אותו במקום לקוות שזה פשוט לא יקרה

Recently, new color variables were added.
https://github.com/discourse/discourse/commit/20f57aec12a5d2291c79a447d18eb3f164877c61

I think this added, for example, the background color on visited topics:

לא עדכנתי את התבנית מאז 2023 בערך, יש לצפות לכמה תקלות. אפילו לא הייתי בטוח שאנשים באמת משתמשים בתבנית אבל אתקן את זה כשיתפנה לי קצת זמן, תודה שהודעת לי.