mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 17:05:31 +02:00
feat: Add support for color themes in theme creation
This commit is contained in:
parent
5ee29229a8
commit
b674c261ba
2 changed files with 1 additions and 2 deletions
1
.github/workflows/submit-pr.yml
vendored
1
.github/workflows/submit-pr.yml
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue