mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 00:45:30 +02:00
Deprecate color themes and notify users in the theme submission script
This commit is contained in:
parent
250226bccb
commit
f61da83440
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ def get_styles(is_color_theme, theme_id):
|
|||
|
||||
# we actually have a JSON file here that needs to be generated
|
||||
if is_color_theme:
|
||||
panic("Color themes have been deprecated, sorry!")
|
||||
with open(f"themes/{theme_id}/{COLORS_FILE}", "w") as f:
|
||||
json.dump(json.loads(content), f, indent=4)
|
||||
return "/* This is a color theme. */"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue