A theme manager for CustomTkinter
Project description
CustomTkinter Themes
A simple Custom theme manager for customtkinter with themes created and sourced
How To Use
Install via PyPi
pip3 install customtkinterthemes
Import it
from customtkinterthemes import theme_manager
Use it
set_default_color_theme(theme_manager.get("themename"))
Note: If it shows that some fonts needs to be installed, go ahead and follow the instructions
Methods
.get(theme_name: str) -> Path:
Returns the path to the theme JSON file.
.get_all_themes() -> list[str]:
Returns a list of theme names.
.get_font_path():
Returns font directory
.validate_theme_fonts():
Checks if all fonts are installed and prints a warning message if not.
Themes sourced from
- https://github.com/a13xe/CTkThemesPack [midnight, rose, metal, cherry, lavender, red, rime, breeze, coffee, orange, blue, yellow, marsh, patina, pink, autumn, sky, carrot, violet] (Unlicense LICENSE)
- Original [flipperzero, hacked, extreme, orangish] (MIT LICENSE)
Want to add your theme?
Submit an issue with your theme and screenshots. Professional ones will be added with credits!!!
Themes
FlipperZero
set_default_color_theme(theme_manager.get("flipperzero"))
Hacked
set_default_color_theme(theme_manager.get("hacked"))
Extreme
set_default_color_theme(theme_manager.get("extreme"))
Orangish
set_default_color_theme(theme_manager.get("orangish"))
Breeze
set_default_color_theme(theme_manager.get("breeze"))
Coffee
set_default_color_theme(theme_manager.get("coffee"))
Orange
set_default_color_theme(theme_manager.get("orange"))
Midnight
set_default_color_theme(theme_manager.get("midnight"))
Violet
set_default_color_theme(theme_manager.get("violet"))
Autumn
set_default_color_theme(theme_manager.get("autumn"))
Metal
set_default_color_theme(theme_manager.get("metal"))
Cherry
set_default_color_theme(theme_manager.get("cherry"))
Red
set_default_color_theme(theme_manager.get("red"))
Patina
set_default_color_theme(theme_manager.get("patina"))
Yellow
set_default_color_theme(theme_manager.get("yellow"))
Marsh
set_default_color_theme(theme_manager.get("marsh"))
Rose
set_default_color_theme(theme_manager.get("rose"))
Pink
set_default_color_theme(theme_manager.get("pink"))
Lavender
set_default_color_theme(theme_manager.get("lavender"))
Carrot
set_default_color_theme(theme_manager.get("carrot"))
Rime
set_default_color_theme(theme_manager.get("rime"))
Sky
set_default_color_theme(theme_manager.get("sky"))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file customtkinterthemes-1.0.2.tar.gz.
File metadata
- Download URL: customtkinterthemes-1.0.2.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c51235d6e3f43a56a2304d82cee6e6ba18ec4939029ebec2d9458b8bedf43784
|
|
| MD5 |
fb6b17512dfbd82d4ef1b53366cfaa29
|
|
| BLAKE2b-256 |
d8706c7705137262febc637aed1346cc2c571ef38bc83d3fac6d79ea28858b25
|
File details
Details for the file customtkinterthemes-1.0.2-py3-none-any.whl.
File metadata
- Download URL: customtkinterthemes-1.0.2-py3-none-any.whl
- Upload date:
- Size: 36.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07624108a152143acc5f6756a63a5cbd3bfdf7a2328a37a55d06a9df2c723ad9
|
|
| MD5 |
69a78a7781643c48ccbd55395479cc5e
|
|
| BLAKE2b-256 |
87a1d6e17593b96aedb7ac5f99f402204e3eee682b5ab35864a8640f70823bbf
|