This commit is contained in:
Aevann1 2021-08-15 05:05:10 +02:00
parent 1adad0403f
commit b9d51332e5
2 changed files with 9 additions and 4 deletions

View file

@ -140,8 +140,9 @@ def settings_profile_post(v):
theme = request.values.get("theme")
if theme:
v.theme = theme
if theme == "coffee": v.themecolor = "38a169"
if theme == "coffee" or theme == "4chan": v.themecolor = "38a169"
elif theme == "tron": v.themecolor = "80ffff"
elif theme == "win98": v.themecolor = "30409f"
g.db.add(v)
return "", 204