[LyX/master] Improve readability of dark text colors in dark mode (#13218)

Jürgen Spitzmüller juergen at spitzmueller.org
Thu May 21 11:53:56 UTC 2026


Scott Kostyshak schrieb am 21.05.2026 10:03 (GMT +02:00):
> The problem is that I have a *lot* of custom insets. And it helps for
> them to have different colors from each other so I can quickly
> distinguish which is which based on the color (and without having to
> read the label). I see there is textlabel1 up to textlabel3. But I would
> need much more than that. Not sure there is any ideal solution.

One solution that has been proposed (#12462) is to extend the color definition in layouts from

Color <color>

to

Color <light-mode color> <dark-mode color>

taking the first one for both modes if only one is specified.

This makes sense and is probably not too hard to implement, but I need to find time for it.

Note, though, that this remains sub-optimal when color themes are being used.

Jürgen

> 
> Thanks,
> Scott
> 
> -- 
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> https://lists.lyx.org/mailman/listinfo/lyx-devel
> 


More information about the lyx-devel mailing list