def flatten_colors(colors):
all_colors = {"<STR_LIT>": colors["<STR_LIT>"],<EOL>"<STR_LIT>": colors["<STR_LIT>"],<EOL>**colors["<STR_LIT>"],<EOL>**colors["<STR_LIT>"]}<EOL>return {k: util.Color(v) for k, v in all_colors.items()}<EOL>
Prepare colors to be exported.
       Flatten dicts and convert colors to util.Color()