-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Figure 1 in 2510.20075v1 is a good example:
https://arxiv.org/html/2510.20075v1#S1.F1
The v0.8.4 CSS keeps the black-on-yellow light mode correct, as with the PDF.
In dark mode, the foreground text color switches to an appropriate white.
And currently, an HSL map switches the highlight yellow to a similar yellow.
The problem: white-on-yellow is quite difficult to read in practice.
Changing that fill map to oklch shows better results:
[data-theme="dark"] [style*="--ltx-fill-color:"] {
--fill-color: oklch(from var(--ltx-fill-color) calc(1 - 0.7 * l) c h);
fill: var(--fill-color);
}But likely damages other examples? Opening an issue to collect more data and suggestions.

Reactions are currently unavailable