{"id":14976997,"url":"https://github.com/akascape/py-window-styles","last_synced_at":"2025-05-16T08:03:19.825Z","repository":{"id":176572393,"uuid":"655756199","full_name":"Akascape/py-window-styles","owner":"Akascape","description":"Customize your python UI window with awesome pre-built windows 11 themes.","archived":false,"fork":false,"pushed_at":"2024-07-12T06:54:25.000Z","size":116,"stargazers_count":474,"open_issues_count":12,"forks_count":26,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-05-16T08:02:54.466Z","etag":null,"topics":["blurred-background","customtkinter","customtkinter-themes","kivy","pygame","pyqt5","pyside6","pysimplegui","python-theme","python-windows","python-windows-application","qt-windows","tkinter","tkinter-gui","windows-11","windows-theme","wxpython"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Akascape.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"akascape"}},"created_at":"2023-06-19T14:30:52.000Z","updated_at":"2025-05-15T11:11:35.000Z","dependencies_parsed_at":"2024-01-01T05:08:49.992Z","dependency_job_id":"a167b02b-6343-40d7-8999-9e4b72a63ea3","html_url":"https://github.com/Akascape/py-window-styles","commit_stats":{"total_commits":91,"total_committers":2,"mean_commits":45.5,"dds":0.02197802197802201,"last_synced_commit":"edc944e4fb3f9147b01c9249300141c84b1847f3"},"previous_names":["akascape/py-window-styles"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2Fpy-window-styles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2Fpy-window-styles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2Fpy-window-styles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2Fpy-window-styles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akascape","download_url":"https://codeload.github.com/Akascape/py-window-styles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254493381,"owners_count":22080126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blurred-background","customtkinter","customtkinter-themes","kivy","pygame","pyqt5","pyside6","pysimplegui","python-theme","python-windows","python-windows-application","qt-windows","tkinter","tkinter-gui","windows-11","windows-theme","wxpython"],"created_at":"2024-09-24T13:54:49.020Z","updated_at":"2025-05-16T08:03:19.737Z","avatar_url":"https://github.com/Akascape.png","language":"Python","readme":"# py-window-styles\n\nCustomize your UI window with awesome built-in Windows 11 header styles and themes.\n**Windows 10 is also supported (only themes).**\n\n![Screenshot](https://github.com/Akascape/py-window-styles/assets/89206401/986062c0-30a0-4289-929a-e5e2440b8dd1)\n\n## Supported UI Libraries\n- Tkinter\n- Customtkinter\n- PyQt\n- PySide\n- WxPython\n- Pygame\n- Kivy\n- PySimpleGUI\n- DearPyGui\n- more...\n\n[\u003cimg src=\"https://img.shields.io/badge/View-Examples-informational?\u0026color=darkblue\u0026style=for-the-badge\" width=\"150\"\u003e](https://github.com/Akascape/py-window-styles/blob/main/Example_Documentation.md)\n\n## Installation\n```\npip install pywinstyles\n```\n\u003cimg src=\"https://img.shields.io/badge/Platform-Windows-informational?\" width=\"150\"\u003e [\u003cimg src=\"https://img.shields.io/pypi/v/pywinstyles?style=flat\" width=\"90\"\u003e](https://pypi.org/project/pywinstyles)\n[\u003cimg src=\"https://static.pepy.tech/badge/pywinstyles\" width=\"130\"\u003e](https://pepy.tech/project/pywinstyles)\n\n## Apply Window Styles/Themes\n```python\nimport pywinstyles\n...\npywinstyles.apply_style(window, style)\n...\n```\n| Style Name | Preview (may vary with diffrent windows versions) |\n|-----------| ------------|\n| mica |  ![](https://user-images.githubusercontent.com/89206401/222347983-d840bee2-a100-40b4-a418-1a604bfc67d4.jpg) |\n| acrylic | ![](https://github.com/Akascape/py-window-styles/assets/89206401/cbd54b23-0626-44c7-a89a-6359517ed1a5) |\n| aero (GPU Heavy) | ![](https://user-images.githubusercontent.com/89206401/223035861-ca4a1c52-7475-43a9-b197-1c06bb4ecec7.jpg)|\n| transparent (GPU Heavy) | ![](https://github.com/Akascape/py-window-styles/assets/89206401/317e9c4e-be27-444e-aa22-02b625e94960)  |\n| optimised | ![](https://user-images.githubusercontent.com/89206401/246128698-726ba674-843b-46ef-8a4d-8732b66a13a3.jpg) |\n| win7 | ![](https://github.com/Akascape/py-window-styles/assets/89206401/b01585b4-0e50-471d-ae34-c3eec9607511) |\n| inverse | ![](https://github.com/Akascape/py-window-styles/assets/89206401/b7c18335-7498-43ca-bea2-6c35255a7c92) |\n| native |  ![](https://github.com/Akascape/py-window-styles/assets/89206401/3047d165-006f-4386-88a8-b5272f740ed2) |\n| popup | ![](https://github.com/Akascape/py-window-styles/assets/89206401/dac6672e-99e8-4abc-b779-aed25c32ed09) |\n| dark | ![](https://github.com/Akascape/py-window-styles/assets/89206401/ca41fa22-ed9d-437f-8574-bf0a13218747) |\n| normal | No Change |\n\n## Apply Custom Window Colors (Only works in windows 11)\n![](https://user-images.githubusercontent.com/89206401/222352861-8af5703c-a64c-4c67-9192-29ffa0e3b4b5.jpg)\n### Change Title Bar Color\n```python\npywinstyles.change_header_color(window, color=\"#00524d\")  \n```\n### Change Title Text Color\n```python\npywinstyles.change_title_color(window, color=\"white\") \n```\n### Change Border Color\n```python\npywinstyles.change_border_color(window, color=\"#00ffff\")\n```\n### Get Windows Accent Color\n```python\ndefault_color = pywinstyles.get_accent_color() # returns hex color string\n```\n\n### Set opacity of individual widgets\n```python\npywinstyles.set_opacity(widget_id, value=0.5)\n```\n\n### Make a color transparent inside widget\n```python\npywinstyles.set_opacity(widget_id, color=\"white\")\n```\n### Add file DND feature to widgets\n```python\ndef drop_func(file):\n  print(file)\npywinstyles.apply_dnd(widget_id, drop_func)\n```\n**Hope this package can help in UI development with python**\n\n**Author: Akash Bora**\n\nAlso check [hPyT](https://github.com/Zingzy/hPyT) package if you want to play with the title bar buttons.\n\n","funding_links":["https://ko-fi.com/akascape"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakascape%2Fpy-window-styles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakascape%2Fpy-window-styles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakascape%2Fpy-window-styles/lists"}