feat: Update workflow names for theme creation and PR submission

This commit is contained in:
Mauro Balades 2024-08-21 16:51:50 +02:00
parent 19b1ad2567
commit 5ee29229a8
3 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,4 @@
name: Create Theme
on:
issues:
types: [opened]

View file

@ -1,4 +1,4 @@
name: Submit PR
on:
pull_request:
types: [closed]

View file

@ -30,6 +30,8 @@ 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: