phys2 / belki

Visual exploration of multi-dimensional proteomics data
GNU General Public License v3.0
5 stars 0 forks source link

No dark mode support on macOS #2

Open pierre-kreins opened 1 year ago

pierre-kreins commented 1 year ago

Some obvious problems render the app unusable in dark mode on macOS. See attached file: "Proteins under cursor" window not readable because font changes to white in dark mode. Same problem for icons (ie top left stay black where they should become white). The list probably goes on...

elrubio commented 1 year ago

Thanks for reporting this. While we have a look at this, you can apply one of these workarounds to be able to work with Belki again:

  1. (Temporarily) set macOS to only use Light Mode system-wide, see how to change modes.

  2. Manually change application-specific settings to exclude Belki from Dark Mode. This requires you to enter one of the following commands in Terminal:

    To have have Belki always stay in Light Mode: defaults write de.uni-freiburg.physiologie.belki NSRequiresAquaSystemAppearance -bool yes

    To revert and re-establish standard behaviour, delete the setting: defaults delete de.uni-freiburg.physiologie.belki NSRequiresAquaSystemAppearance

  3. Use a third-party application to control Light/Darm Mode switching for individual applications, e.g. Gray or NightOwl. Both use the same technique described above and can be installed via Homebrew:

    brew install gray brew install nightowl