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

Scott Kostyshak skostysh at lyx.org
Thu May 21 16:20:00 UTC 2026


On Thu, May 21, 2026 at 01:53:56PM +0200, Jürgen Spitzmüller wrote:
> 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.

That all makes sense, thank you! Colors are tricky.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20260521/9563f284/attachment.sig>


More information about the lyx-devel mailing list