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

Scott Kostyshak <[email protected]> Thu, 21 May 2026 18:20:00 +0200
Newsgroups gmane.editors.lyx.devel
Message-ID <ag8wf7DqrGn8iJdA@jimmy>
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

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEMfkICpsJzYuNuGlOA4ZnarZHC+sFAmoPMLAACgkQA4ZnarZH
C+uNIQf9FTT7xPHFJcpfCPHLF8uaX46l+EWSxv0OPFM5YjXUoAOJ7zNf5qWoHiRD
loy3E3VgocPh7LAvlsbp01D0Gb0lWzXBq1WKjjKpxfn5CdEYwughpthLMtmo/HGc
VRMc1UTBh1qS1lft7vkRW1+vGyqkeaPvZDEZWTiUC+KEwZLWU4ERcUPz7HQIPbIf
yOooo7HHnFhEmqj6Y2Qc8YMDDFEeiYD1KW2wUqZjeRLF7onpSi9jhp4OAf0vjCe6
UhwK+GkOYak7F/wq5NKzAwG/gZ2jbStQqasIxpoTMPkUUDmA5jbHdYbYeQQfYhYv
bpa/NAXf1vI6xHgWWCgE9XXMZbUatg==
=VeCm
-----END PGP SIGNATURE-----