feat: Add support for color themes in theme creation

This commit is contained in:
Mauro Balades 2024-08-21 16:52:53 +02:00
parent 5ee29229a8
commit b674c261ba
2 changed files with 1 additions and 2 deletions

View file

@ -30,6 +30,7 @@ jobs:
- name: Commit changes - name: Commit changes
run: | run: |
git add themes.json git add themes.json
git add themes/*
git commit -m "Rebuild themes.json after theme submission" git commit -m "Rebuild themes.json after theme submission"
git push git push

View file

@ -30,8 +30,6 @@ def write_colors(colors_file, output_file):
if colors["isDarkMode"]: if colors["isDarkMode"]:
f.write(' color-scheme: dark !important;\n') f.write(' color-scheme: dark !important;\n')
f.write('}\n') f.write('}\n')
with open(output_file, 'r') as f:
print(f.read())
def main(): def main():
with open(THEMES_DATA_FILE, 'w') as f: with open(THEMES_DATA_FILE, 'w') as f: