Metadata-Version: 2.1
Name: ttkbootstrap
Version: 0.0.1
Summary: A collection of ttk themes inspired by Bootstrap
Home-page: UNKNOWN
Author: Israel Dryer
Author-email: israel.dryer@gmail.com
License: UNKNOWN
Description: # Izzy-Themes-TTK
        A collection of modern themes for Tkinter TTK built using standard, cross-platform themes ('clam', 'alt', 'classic', 'default'). 
        Most of these themes are adapted and or/inspired from the open source bootstrap themes published on https://bootswatch.com/  
        
        ## Installation
        ```python
        pip install ttkbootstrap
        ```
        
        ## Basic Usage
        
        ```python
        from ttkbootstrap import BootStyle, ttk
        
        style = BootStyle()
        style.theme_use('flatly')
        root = style.master
        
        # create widget with primary colors
        ttk.Label(root, text='Hello world').pack()
        
        # create widget with other colors
        ttk.Label(root, text='Hello world', style='danger.TLabel').pack()
        
        # run the window
        root.mainloop()
        ```
        ## Applying Styles
        By default, the primary color for the theme will be used on widgets (See images below for examples of theme color options). All other themed colors can be used by applying the color prefix to the ttk widget class.
          
        ```python
        ttk.Label(root, text='Hello World', style='info.TLabel')
        ttk.Button(root, text='Hello World', style='info.TButton')
        ttk.Button(root, text='Hello World', style='warning.Outline.TButton')
        ttk.Radiobutton(root, text='Hello World', style='danger.TRadiobutton')
        ```
        
        ### Color prefixes
        - primary <i>(default)</i>
        - secondary
        - success
        - info
        - warning
        - danger
        
        ### Defined ttk widget classes
        - TButton
        - Outline.TButton
        - TSpinbox
        - Horizontal.TScale
        - Vertical.TScale
        - Horizontal.TScrollbar
        - Vertical.TScrollbar
        - TCombobox
        - TFrame
        - TCheckbutton
        - TEntry
        - TLabel
        - TLabelframe
        - TNotebook
        - TMenubutton
        - Outline.TMenubutton
        - Horizontal.TProgressbar
        - Vertical.TProgressbar
        - TRadiobutton
        - Treeview
        
        ### Exceptions
        - The **Scale** widget is built with an image set in the primary theme color; this cannot be changed via styles.
        - The **Checkbutton** and **Radiobutton** colors are only changeable on Linux and MacOS. Windows uses the built-in "xpnative" themed elements to build the widgets.
        
        ## Create New Themes
        Creating a new theme is really easy... simply add a theme record to the `themes.json` file with the appropriate fields
        ```json
            {
              "name": "cosmo",
              "font": "Helvetica",
              "type": "light",
              "colors": {
                "primary": "#2780e3",
                "secondary": "#373a3c",
                "success": "#3fb618",
                "info": "#9954bb",
                "warning": "#ff7518",
                "danger": "#ff0039",
                "bg": "#ffffff",
                "fg": "#373a3c",
                "selectbg": "#373a3c",
                "selectfg": "#ffffff",
                "light": "#fdfdfe",
                "border": "#ced4da",
                "inputfg": "#49506a"
              }
            }
        ```
        
        ## Light Themes
        <img src="examples/cosmo.png" width="45%"/> <img src="examples/flatly.png" width="45%"/>  
        <img src="examples/journal.png" width="45%"/> <img src="examples/litera.png" width="45%"/>  
        <img src="examples/lumen.png" width="45%"/> <img src="examples/minty.png" width="45%"/>  
        <img src="examples/pulse.png" width="45%"/> <img src="examples/sandstone.png" width="45%"/>  
        <img src="examples/united.png" width="45%"/> <img src="examples/yeti.png" width="45%"/>  
          
        ## Dark Themes
        <img src="examples/darkly.png" width="45%"/> <img src="examples/cyborg.png" width="45%"/>
        <img src="examples/superhero.png" width="45%"/> <img src="examples/solar.png" width="45%"/>  
        
        
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
