Compress the CSS

This commit is contained in:
Thomas Sileo
2018-07-03 23:54:16 +02:00
parent 5331874c77
commit 7eb52884b8
2 changed files with 2 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ with open(os.path.join(SASS_DIR, f"{THEME_STYLE.value}.scss")) as f:
theme_css += "\n"
with open(os.path.join(SASS_DIR, "base_theme.scss")) as f:
raw_css = theme_css + f.read()
CSS = sass.compile(string=raw_css)
CSS = sass.compile(string=raw_css, output_style='compressed')
USER_AGENT = (