def METHOD_NAME(title, extra_classnames='', href=None, icon_path=None, icon=None, font_color=None,
                   background_color=None):
    theme_settings = globals_.theme_settings
    font_color = font_color or theme_settings.primary_button_font_color
    background_color = background_color or theme_settings.primary_button_background_color
    return {
        'title': title,
        'href': href,
        'icon_path': icon_path,
        'icon': icon,
        'font_color': font_color,
        'background_color': background_color,
        'extra_classnames': extra_classnames,
    }