Giter VIP home page Giter VIP logo

ctkthememaker's Introduction

Typing SVG

⚡ STATS ⚡

Akascape's github streak stats


⚙️ TECH STACK ⚙️


Main OS 3D Video Editing Photo Editing Music Production Compositing IDLE Recording


🌐 MY SOCIALS 🌐



Buy Me a Coffee at ko-fi.com

ctkthememaker's People

Contributors

akascape avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ctkthememaker's Issues

[BUG] Unknown color name "transparent"

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> 

[Enhancement] Add support for macOS?

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.

Add dependencies

Hey, don't you think having a requirements.txt would help?

tk
customtkinter
pillow

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.