3 Commits

Author SHA1 Message Date
Alberto Sottile
fa06378b6d darkdetect: update vendor copy to v0.7.1 2022-11-06 19:19:52 +01:00
Alberto Sottile
16168effc4 darkdetect: update vendor copy to 0.5.0 2021-10-18 21:56:44 +02:00
Alberto Sottile
bc242c2565 macOS: add support for Mojave Dark Mode
This commit adds to our UI the support for macOS 10.14+ Dark Mode.
Qt already adapts a large fraction of the color scheme, but some
label colors had to be adjusted and were put in separate STYLE_DARK
constants. To determine if the OS is set in Dark or Light Mode, we
use a new dependency, included in the vendor folder:
Darkdetect - license: BSD-3-Clause

To allow the app bundle to use the Dark Mode APIs, a constant is
added in the info.plist ('NSRequiresAquaSystemAppearance': False)
2019-05-14 16:00:22 +02:00