Skip to content

Darkdetect 0.7.0

Compare
Choose a tag to compare
@albertosottile albertosottile released this 13 Jul 21:05
· 10 commits to master since this release

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' in theme.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).