Customize your UI window with awesome built-in Windows 11 header styles and themes. Windows 10 is also supported (only themes).
- Tkinter
- Customtkinter
- PyQt
- PySide
- WxPython
- Pygame
- Kivy
- PySimpleGUI
- DearPyGui
- more...
pip install pywinstyles
import pywinstyles
...
pywinstyles.apply_style(window, style)
...| Style Name | Preview (may vary with diffrent windows versions) | 
|---|---|
| mica |  | 
| acrylic |  | 
| aero (GPU Heavy) |  | 
| transparent (GPU Heavy) |  | 
| optimised |  | 
| win7 |  | 
| inverse |  | 
| native |  | 
| popup |  | 
| dark |  | 
| normal | No Change | 
pywinstyles.change_header_color(window, color="#00524d")  pywinstyles.change_title_color(window, color="white") pywinstyles.change_border_color(window, color="#00ffff")default_color = pywinstyles.get_accent_color() # returns hex color stringpywinstyles.set_opacity(widget_id, value=0.5)pywinstyles.set_opacity(widget_id, color="white")def drop_func(file):
  print(file)
pywinstyles.apply_dnd(widget_id, drop_func)Hope this package can help in UI development with python
Author: Akash Bora
Also check hPyT package if you want to play with the title bar buttons.

