feat: rebuild theme on web settings changed
This commit is contained in:
@@ -86,6 +86,9 @@ class WebSettings(SingletonModel):
|
||||
logo_128 = models.ImageField(
|
||||
upload_to="assets", blank=True, null=True, verbose_name=_("logo 128x128")
|
||||
)
|
||||
theme_colors = models.JSONField(
|
||||
default=dict, verbose_name=_("colores del tema"), blank=True
|
||||
)
|
||||
|
||||
def get_resized_logo(self, size):
|
||||
width, height = size
|
||||
|
||||
Reference in New Issue
Block a user