Generate a basic favicon dynamically

This commit is contained in:
Thomas Sileo 2022-07-22 08:46:14 +02:00
parent edae9a6b62
commit d88a1ad5ba
6 changed files with 29 additions and 1 deletions

View file

@ -44,6 +44,9 @@ def lint(ctx):
@task
def compile_scss(ctx, watch=False):
# type: (Context, bool) -> None
from app.utils.favicon import build_favicon
build_favicon()
theme_file = Path("data/_theme.scss")
if not theme_file.exists():
theme_file.write_text("// override vars for theming here")