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

Scott Kostyshak skostysh at lyx.org
Thu May 21 08:03:24 UTC 2026


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
-------------- 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/53e29d24/attachment.sig>


More information about the lyx-devel mailing list