def get_theme_dicts(theme):
	"""Used to return the dictionaries containing all the needed colors."""

	dict_app, dict_widget = {}, {}
	for key in theme['APP COLORS']:
		dict_app[key] = theme['APP COLORS'][key]
	for key in theme['WIDGET COLORS']:
		dict_widget[key] = theme['WIDGET COLORS'][key]
	return dict_app, dict_widget