PY-WINDOW-STYLES
Pywindowstyles or simply pywinstyles is a python package that let you change the header/title bar color and themes easily in windows 10/11
Supported UI Libraries
Tkinter
Customtkinter
PyQt
PySide
WxPython
Pygame
Kivy
PySimpleGUI
more...
Installation
pip install pywinstyles
Window Styles/Themes
import pywinstyles
...
pywinstyles.apply_style(window, style)
...
Custom Window Colors (Only works in windows 11)
Change Title Bar Color
pywinstyles.change_header_color(window, color="#00524d")
Change Title Text Color
pywinstyles.change_title_color(window, color="white")
Change Border Color
pywinstyles.change_border_color(window, color="#00ffff")
Get Windows Accent Color
default_color = pywinstyles.get_accent_color() # returns hex color string
Hope this package can help in UI development with python
Author: Akash Bora