feat: Add default site colours
This commit is contained in:
parent
d54d91f6a4
commit
7db16b7e85
2
main.py
2
main.py
@ -138,6 +138,8 @@ def edit():
|
|||||||
bg_colour = data['bg_colour']
|
bg_colour = data['bg_colour']
|
||||||
if 'fg_colour' in data:
|
if 'fg_colour' in data:
|
||||||
fg_colour = data['fg_colour']
|
fg_colour = data['fg_colour']
|
||||||
|
else:
|
||||||
|
fg_colour = "#ffffff"
|
||||||
if 'text_colour' in data:
|
if 'text_colour' in data:
|
||||||
text_colour = data['text_colour']
|
text_colour = data['text_colour']
|
||||||
if 'email' in data:
|
if 'email' in data:
|
||||||
|
Loading…
Reference in New Issue
Block a user