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
run: |
git add themes.json
git add themes/*
git commit -m "Rebuild themes.json after theme submission"
git push

View file

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