[GH-ISSUE #1106] operators not visible in Listings in dark mode #19709

Closed
opened 2026-06-01 17:59:43 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @gulshan-123 on GitHub (Jan 10, 2026).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1106

Originally assigned to: @profvjreddi on GitHub.

https://mlsysbook.ai/book/contents/core/dnn_architectures/dnn_architectures.html#lst-mlp_layer_compute
Image

As can be seen in the image, in the dark mode operators such as +=, +, * are not visible. Is this only for me?

Browser: Firefox
Ubuntu 24.04

Originally created by @gulshan-123 on GitHub (Jan 10, 2026). Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1106 Originally assigned to: @profvjreddi on GitHub. https://mlsysbook.ai/book/contents/core/dnn_architectures/dnn_architectures.html#lst-mlp_layer_compute <img width="818" height="342" alt="Image" src="https://github.com/user-attachments/assets/35aebab2-3fd6-496c-9ae2-16e3fa29b2f7" /> As can be seen in the image, in the dark mode operators such as +=, +, * are not visible. Is this only for me? Browser: Firefox Ubuntu 24.04
GiteaMirror added the area: websitetype: bug labels 2026-06-01 17:59:43 -05:00
Author
Owner

@profvjreddi commented on GitHub (Jan 11, 2026):

Thank you for letting me know! I'm fixing it @gulshan-123

Looks like this now! I will be avialable in the latest bug fix release I will do soon.

Image
<!-- gh-comment-id:3734561839 --> @profvjreddi commented on GitHub (Jan 11, 2026): Thank you for letting me know! I'm fixing it @gulshan-123 Looks like this now! I will be avialable in the latest bug fix release I will do soon. <img width="1548" height="982" alt="Image" src="https://github.com/user-attachments/assets/650380b9-7ebf-4c2f-981d-26c7839f3f5f" />
Author
Owner

@profvjreddi commented on GitHub (Jan 11, 2026):

Fixed in commit 9f5791e1b on dev branch.

Root cause: The syntax highlighting theme defined operators with color #1A1A1A (nearly black), which is invisible on dark backgrounds.

Solution: Added dark mode overrides in dark-mode.scss for all syntax highlighting tokens, using a One Dark Pro inspired palette with bright, visible colors.

<!-- gh-comment-id:3734562235 --> @profvjreddi commented on GitHub (Jan 11, 2026): Fixed in commit 9f5791e1b on dev branch. **Root cause:** The syntax highlighting theme defined operators with color `#1A1A1A` (nearly black), which is invisible on dark backgrounds. **Solution:** Added dark mode overrides in `dark-mode.scss` for all syntax highlighting tokens, using a One Dark Pro inspired palette with bright, visible colors.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#19709