Darkdetect 0.7.0
This release contains an important change for Linux: from now on, all the themes that have -dark
(case-insensitive) in their names will be detected as 'Dark'
by darkdetect
. Thanks to @DoctorDalek1963 for this contribution!
Changelog:
- Linux: generalise detection to any theme with
'-dark'
intheme.lower()
(initially suggested in #17 by @HetDaftary, PR #24 by @DoctorDalek1963. Thanks to @larsoner for his support). - macOS: do not use the deprecated
distutils.version
to check OS version compatibility. The needed logic was reimplemented (issue #18 by @Carreau).