# Path: wdom/tag.py
# def NewTagClass(class_name: str, tag: str = None,
#                 bases: Union[type, Iterable] = (Tag, ),
#                 **kwargs: Any) -> type:
#     """Generate and return new ``Tag`` class.
# 
#     If ``tag`` is empty, lower case of ``class_name`` is used for a tag name of
#     the new class. ``bases`` should be a tuple of base classes. If it is empty,
#     use ``Tag`` class for a base class. Other keyword arguments are used for
#     class variables of the new class.
# 
#     Example::
# 
#         MyButton = NewTagClass('MyButton', 'button', (Button,),
#                                class_='btn', is_='my-button')
#         my_button = MyButton('Click!')
#         print(my_button.html)
# 
#         >>> <button class="btn" id="111111111" is="my-button">Click!</button>
#     """
#     if tag is None:
#         tag = class_name.lower()
#     if not isinstance(type, tuple):
#         if isinstance(bases, Iterable):
#             bases = tuple(bases)
#         elif isinstance(bases, type):
#             bases = (bases, )
#         else:
#             TypeError('Invalid base class: {}'.format(str(bases)))
#     kwargs['tag'] = tag
#     # Here not use type() function, since it does not support
#     # metaclasss (__prepare__) properly.
#     cls = new_class(  # type: ignore
#         class_name, bases, {}, lambda ns: ns.update(kwargs))
#     return cls


from wdom.tag import NewTagClass as NewTag
from wdom.themes import *
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# flake8: noqa


name = 'Baseguide'
project_url = 'http://basegui.de/'
project_repository = 'https://github.com/slavanga/baseguide'
license = 'MIT License'
license_url = 'https://github.com/slavanga/baseguide/blob/master/LICENSE'

css_files = [
    '_static/css/baseguide.min.css',
]


# Path: wdom/tag.py
# def NewTagClass(class_name: str, tag: str = None,
#                 bases: Union[type, Iterable] = (Tag, ),
#                 **kwargs: Any) -> type:
#     """Generate and return new ``Tag`` class.
# 
#     If ``tag`` is empty, lower case of ``class_name`` is used for a tag name of
#     the new class. ``bases`` should be a tuple of base classes. If it is empty,
#     use ``Tag`` class for a base class. Other keyword arguments are used for
#     class variables of the new class.
# 
#     Example::
# 
#         MyButton = NewTagClass('MyButton', 'button', (Button,),
#                                class_='btn', is_='my-button')
#         my_button = MyButton('Click!')
#         print(my_button.html)
# 
#         >>> <button class="btn" id="111111111" is="my-button">Click!</button>
#     """
#     if tag is None:
#         tag = class_name.lower()
#     if not isinstance(type, tuple):
#         if isinstance(bases, Iterable):
#             bases = tuple(bases)
#         elif isinstance(bases, type):
#             bases = (bases, )
#         else:
#             TypeError('Invalid base class: {}'.format(str(bases)))
#     kwargs['tag'] = tag
#     # Here not use type() function, since it does not support
#     # metaclasss (__prepare__) properly.
#     cls = new_class(  # type: ignore
#         class_name, bases, {}, lambda ns: ns.update(kwargs))
#     return cls


# Path: wdom/themes/baseguide.py
from wdom.tag import NewTagClass as NewTag
from wdom.themes import *

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# flake8: noqa


name = 'Baseguide'
project_url = 'http://basegui.de/'
project_repository = 'https://github.com/slavanga/baseguide'
license = 'MIT License'
license_url = 'https://github.com/slavanga/baseguide/blob/master/LICENSE'

css_files = [
    '_static/css/baseguide.min.css',
]


Button = NewTag('Button', bases=Button, class_='btn', is_='btn')