__init__.py 471 B

123456789
  1. from .theme_manager import ThemeManager
  2. # load default blue theme
  3. try:
  4. ThemeManager.load_theme("blue")
  5. except FileNotFoundError as err:
  6. raise FileNotFoundError(f"{err}\nThe .json theme file for CustomTkinter could not be found.\n" +
  7. f"If packaging with pyinstaller was used, have a look at the wiki:\n" +
  8. f"https://github.com/TomSchimansky/CustomTkinter/wiki/Packaging#windows-pyinstaller-auto-py-to-exe")