Deprecate color themes and notify users in the theme submission script

This commit is contained in:
mr. m 2025-02-19 11:28:37 +00:00
parent 250226bccb
commit f61da83440

View file

@ -79,6 +79,7 @@ def get_styles(is_color_theme, theme_id):
# we actually have a JSON file here that needs to be generated # we actually have a JSON file here that needs to be generated
if is_color_theme: if is_color_theme:
panic("Color themes have been deprecated, sorry!")
with open(f"themes/{theme_id}/{COLORS_FILE}", "w") as f: with open(f"themes/{theme_id}/{COLORS_FILE}", "w") as f:
json.dump(json.loads(content), f, indent=4) json.dump(json.loads(content), f, indent=4)
return "/* This is a color theme. */" return "/* This is a color theme. */"