(filemode='kaa.filetype.default.defaultmode.DefaultMode',
              theme=None)
Update theme color.

    filemode -- Mode class name to register keybind.
                  (default 'kaa.filetype.default.defaultmode.DefaultMode)
    theme -- Dictionary of theme name and list of styles. Currently, the only
             valid theme name is 'basic'.

    ex)
        # update default foreground color to red.
        theme_def(theme={
            'basic': [
               Style('default', 'red', None),
            ]})
Update theme color.
Update theme color .
def theme_def(filemode='kaa.filetype.default.defaultmode.DefaultMode',
              theme=None):
    """Update theme color.

    filemode -- Mode class name to register keybind.
                  (default 'kaa.filetype.default.defaultmode.DefaultMode)
    theme -- Dictionary of theme name and list of styles. Currently, the only
             valid theme name is 'basic'.

    ex)
        # update default foreground color to red.
        theme_def(theme={
            'basic': [
               Style('default', 'red', None),
            ]})

    """

    add_class_addon(filemode, 'style', theme)
def theme_def ( filemode = 'kaa.filetype.default.defaultmode.DefaultMode' , theme = None ) : add_class_addon ( filemode , 'style' , theme )