A quick and easy-to-use theme builder for customtkinter!
License: MIT License
After import the theme.json generated by CTkThemeMaker
customtkinter.set_default_color_theme("theme.json")
I receive the output:
_tkinter.TclError: unknown color name "transparent"
Full traceback:
Traceback (most recent call last):
File "project\main.py", line 158, in <module>
appearance_mode_menu = ctk.CTkOptionMenu(app, values=["Sistema", "Escuro", "Claro"],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "project\.venv\Lib\site-packages\customtkinter\windows\widgets\ctk_optionmenu.py", line 123, in __init__
self._draw() # initial draw
^^^^^^^^^^^^
File "project\.venv\Lib\site-packages\customtkinter\windows\widgets\ctk_optionmenu.py", line 205, in _draw
self._canvas.itemconfig("inner_parts_right",
File "project\.venv\Lib\site-packages\customtkinter\windows\widgets\core_rendering\ctk_canvas.py", line 115, in itemconfig
super().itemconfigure(configure_id, *args, **kwargs_except_outline)
File "C:\Program Files\Python312\Lib\tkinter\__init__.py", line 2977, in itemconfigure
return self._configure(('itemconfigure', tagOrId), cnf, kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\tkinter\__init__.py", line 1711, in _configure
self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
_tkinter.TclError: unknown color name "transparent"
PS project>
As a macOS and CTk user, I was hoping to find a way to make themes easier. Unfortunately, when trying to save my theme and quick-test it, the paths were only for Windows.
If you want, I could submit a PR adding macOS support. I'm also ready to do macOS testing.
Hey, don't you think having a requirements.txt
would help?
tk
customtkinter
pillow
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.