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
Bot releases are hidden (Show)
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.
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
Published by Valer100 2 months ago
[!NOTE]
To update, run the following command:pip install --upgrade winaccent
Published by Valer100 2 months ago
darkdetect
(this means that accent_auto
is now deprecated)update_accent_colors()
[!NOTE]
To update, run the following command:pip install --upgrade winaccent
Published by Valer100 2 months ago
The first version released