Current repo and existing installation have different color schemes

Jürgen Spitzmüller spitz at lyx.org
Wed Apr 14 09:33:45 UTC 2021


Am Dienstag, dem 13.04.2021 um 12:51 -0700 schrieb Narahari Rao:
> Looks like bool ColorCache::isDarkmode() is setting the document
> colors
> on startup, using QtPalette to get text/bg color and comparing them
> to
> guess whether the user is in a dark theme or not. However, changing
> what this function returns during runtime (via a variable) does not
> change the document colors, so it looks like it needs a refresh of
> some sort.

Runtime change has been implemented for the Mac (812b6f7d69e69). This
probably can also be extended to other OSes.

Jürgen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210414/ca941b91/attachment.asc>


More information about the lyx-devel mailing list