As part of a "heatmap table", coded in LaTeX, the table cell background has been set to a range of colours near white in LaTeX. In dark mode, arXiv's HTML render sets the background colour to dark-grey and font colour to be white throughout the document. Since the background colour was manually set of these cells, the background colour values from the LaTeX are shown, but the font colour was not explicitly set so dark-mode's default of white is used, resulting on white text on a white background.
I suggest that the HTML dark mode should only set the font colour on contents which use dark mode's background colour, and on content where a background colour has been set it should use a black font colour if unset.
(Optional:) Please add any files, screenshots, or other information here.
(Required) What is this issue most closely related to? Select one.
Description
As part of a "heatmap table", coded in LaTeX, the table cell background has been set to a range of colours near white in LaTeX. In dark mode, arXiv's HTML render sets the background colour to dark-grey and font colour to be white throughout the document. Since the background colour was manually set of these cells, the background colour values from the LaTeX are shown, but the font colour was not explicitly set so dark-mode's default of white is used, resulting on white text on a white background.
I suggest that the HTML dark mode should only set the font colour on contents which use dark mode's background colour, and on content where a background colour has been set it should use a black font colour if unset.
(Optional:) Please add any files, screenshots, or other information here.
(Required) What is this issue most closely related to? Select one.
Other
Internal issue ID
c8d313a0-6c0b-4ac0-86fe-326cfec64b7d
Paper URL
https://arxiv.org/html/2406.02465v1
Browser
Firefox/126.0
Device Type
Desktop