myriadrf / LimeSuite

Driver and GUI for LMS7002M-based SDR platforms
https://myriadrf.org/projects/lime-suite/
Apache License 2.0
465 stars 182 forks source link

Fix hard-to-read log text on dark mode themes #382

Closed sergeyvfx closed 1 year ago

sergeyvfx commented 1 year ago

When the Lime Suite GUI is used on a macOS which is default to the dark mode the information logged into the log window was hard to read: it was defaulting to the black foreground.

The behavior now matched when no SetDefaultStyle() used at all: the light theme will use black text, and the dark theme will use the white color.

The limitation this change does not address is the update of the colors in the log window when the theme is changed between dark ans light while the LimeSuiteGUI is running.