Breaking changes
- The minimum Python version supported was changed to 3.6
- The module will now raise an
ImportError
exception instead of anUnsupportedPlatfromException
exception on_accent_changed_listener()
function was renamed toon_appearance_changed()
update_accent_colors()
function was renamed toupdate_values()
New features
- Added Windows 8.x support
- Added a function to convert HEX colors to RGB tuples (
hex_to_rgb()
) - Retrieve apps' theme and system's theme using
apps_use_light_theme
andsystem_uses_light_theme
booleans
Read the documentation to learn more about the new features.
Fixes
- Get the right
window_border
color in Windows 10 and 11 - Use placeholder values if the registry keys for some values do not exist
- More optimizations and improvements
What happened to v2.0.0?
Well, that version had a bug that I didn't notice. The system_uses_light_theme
boolean was returning the wrong value for the current system theme. This is fixed in v2.0.1.
Note
To update, run the following command:
pip install --upgrade winaccent