arXiv / arXiv/html_feedback

Listing background is not inverted, but text color is

Open
#2,301 1 comment 0 reactions 0 assignees View on GitHub
bug darkmode listings
Dominant language
No language data
Stars
42
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### Description

When using the listings package and setting the background color, the background is fixed, but the text color is inverted. This can result in the code blocks appearing empty

### (Optional:) Please add any files, screenshots, or other information here.

![image](https://github.com/user-attachments/assets/bcbd1894-3119-4544-9ad1-6766649a2381)

### (Required) What is this issue most closely related to? Select one.

Choose One

### Internal issue ID

66915397-4e75-48e6-a22d-c29ed509ce7f

### Paper URL

https://arxiv.org/html/2410.09247v1

### Browser

Chrome/128.0.0.0

### Device Type

Desktop

Contributor guide

Open the contributing guide

Research direction

Open the linked paper in Chrome and reproduce the listings rendering with a custom background color. Trace the listing’s background and text-color styling in the relevant rendering path; done when code blocks retain readable text against the selected background.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.