winaccent

A simple and lightweight Python module for getting Windows' accent color or a shade of it. Works on both Windows 10 and 11 and doesn't require additional dependencies.

MIT License

Downloads
538
Stars
8
Committers
1

Bot releases are visible (Hide)

winaccent - Version 1.0.0 Latest Release

Published by Valer100 about 2 months ago

Breaking changes

accent_light was renamed to accent_dark and accent_dark to accent_light to reflect the lightness/darkness of the color. This means that after upgrading to 1.0.0 these colors will be inverted.

The easiest fix for this is to replace all occurences of accent_light with accent_light_mode and accent_dark with accent_dark_mode.

accent_light_mode and accent_dark_mode variables are named to reflect the theme (light/dark mode) and work the same way like accent_light and accent_dark variables from previous versions.

What's new

  • Added accent color shades. Read the documentation to learn more about them.
  • When running python -m winaccent in terminal a window with the current accent palette will be shown

[!NOTE]
To update, run the following command:

pip install --upgrade winaccent
winaccent - Version 0.3.0

Published by Valer100 2 months ago

What's new

  • Added on accent color changed listener

[!NOTE]
To update, run the following command:

pip install --upgrade winaccent
winaccent - Version 0.2.0

Published by Valer100 2 months ago

What's new

  • Remove dependency on darkdetect (this means that accent_auto is now deprecated)
  • Add new function: update_accent_colors()

[!NOTE]
To update, run the following command:

pip install --upgrade winaccent
winaccent - Version 0.1.0

Published by Valer100 2 months ago

The first version released