Changed the function _load_themes within style.py where the user is able to define a set of themes within the project root (or in the code) rather having the theme residing inside the package root (e.g. ../site-packages/ttkbootstrap/themes/user.py).
The function now accepts any dict structured in the correct ttkbootstrap manner.
from local_theme import USER_THEMES
Style = ttk.Style()
Style._load_themes(USER_THEMES)
Changed the function
_load_themes
withinstyle.py
where the user is able to define a set of themes within the project root (or in the code) rather having the theme residing inside the package root (e.g. ../site-packages/ttkbootstrap/themes/user.py).The function now accepts any dict structured in the correct ttkbootstrap manner.