mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-08 01:10:01 +02:00
feat: Update theme creation workflow to handle color themes
This commit is contained in:
parent
f8a1049600
commit
19b1ad2567
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ def main():
|
||||||
json.dump(themes_data, f, indent=4)
|
json.dump(themes_data, f, indent=4)
|
||||||
theme_colors_file = os.path.join(theme_folder, 'colors.json')
|
theme_colors_file = os.path.join(theme_folder, 'colors.json')
|
||||||
if os.path.exists(theme_colors_file):
|
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')
|
theme_colors_output = os.path.join(theme_folder, 'chrome.css')
|
||||||
write_colors(theme_colors_file, theme_colors_output)
|
write_colors(theme_colors_file, theme_colors_output)
|
||||||
print(f"Rebuilt theme: {theme}")
|
print(f"Rebuilt theme: {theme}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue