(style_json: StrOrDict, output_directory: str)
* Creates and exports the styles
    :param style_json:
    :param output_directory:
    :return:
* Creates and exports the styles
    :param style_json:
    :param output_directory:
    :return:
* Creates and exports the styles : param style_json : : param output_directory : : return :
def generate_styles(style_json: StrOrDict, output_directory: str) -> None:
    """
     * Creates and exports the styles
    :param style_json:
    :param output_directory:
    :return:
    """
    try:
        style_json = json.loads(style_json)
    except:
        pass
    styles = process(style_json)
    write_styles(styles_by_target_layer=styles, output_directory=output_directory)
    create_icons(style=style_json, output_directory=output_directory)
def generate_styles ( style_json : StrOrDict , output_directory : str ) -> None : try : style_json = json . loads ( style_json ) except : pass styles = process ( style_json ) write_styles ( styles_by_target_layer = styles , output_directory = output_directory ) create_icons ( style = style_json , output_directory = output_directory )