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

Scott Kostyshak <[email protected]> Thu, 21 May 2026 10:03:24 +0200
Newsgroups gmane.editors.lyx.devel
Message-ID <ag67eRttDaGCmIWF@jimmy>
On Thu, May 21, 2026 at 09:25:30AM +0200, Jürgen Spitzmüller wrote:
> Am Donnerstag, dem 21.05.2026 um 08:48 +0200 schrieb Scott Kostyshak:
> > > UI colors should be set to fit well with the UI in
> > > the first place.
> > 
> > I don't understand this statement. Are you saying that the reason the
> > colors don't match is because of the poor color choice for the custom
> > layout?
> 
> No. When you say "red" in a layout file, we assume you want to see red.
> We assume you select a color that works well in the work area.
> 
> As opposed to that, we you select "red" as a text color, we assume you
> want to see this color in the output (e.g., PDF), but in the workarea,
> as with black (default) text color, we try to make it more readable if
> the background color does not match the output (PDF) background color.
> 
> In general, I would always suggest to use semantic colors (such as
> textlabel1) for UI elements, as they do have dedicated dark and light
> settings.

Ahhh I see. That of course makes a lot of sense. Thanks for the
explanation.

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.

Thanks,
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+sFAmoOvEsACgkQA4ZnarZH
C+sC4AgAgXSPcRkg9iWHamyKzCxT3olU9y5loJRtJF2zJ7/JpC/NFny1r1a6Sbvy
+RyppXlX7aKsMDNQPPBd6pQawh3rRXoUEf9oSjsn62ROr8gRGnpsueK6f9Rlts4d
fo/f8CKREHwtIpUV8TwYairQ2ImMG8C2xi9K1SaGqQe0rTFLMAfEWicwUA89z7CY
5ODq+6ZvHy74zrzfYHNJhLdeg14D/u44Xk9urcMaJsZ7EwTwx38Zz09ti2Vuyenj
CHlGVH1O7Ln/e1PyxCUBGDc4m4Mny0hYW5mkA6gZR66nTWzW6LoNPLvVsqNfXkC5
E8eFQMy3XZGvFThpbtwL/3s2oVXJtA==
=02j7
-----END PGP SIGNATURE-----