feat: Update theme creation workflow to handle color themes

This commit is contained in:
Mauro Balades 2024-08-21 16:50:17 +02:00
parent f8a1049600
commit 19b1ad2567

View file

@ -50,6 +50,7 @@ def main():
json.dump(themes_data, f, indent=4)
theme_colors_file = os.path.join(theme_folder, 'colors.json')
if os.path.exists(theme_colors_file):
print(f" Found colors.json in theme: {theme}")
theme_colors_output = os.path.join(theme_folder, 'chrome.css')
write_colors(theme_colors_file, theme_colors_output)
print(f"Rebuilt theme: {theme}")