Bootstrap5 (#17)

* Bootstrap5 migration
This commit is contained in:
catborise
2021-07-07 14:12:38 +03:00
committed by GitHub
parent 1663a49cee
commit 073b7b6717
244 changed files with 9494 additions and 8597 deletions

View File

@@ -47,8 +47,11 @@ def appsettings(request):
if "BOOTSTRAP_THEME" in request.POST:
theme = request.POST.get("BOOTSTRAP_THEME", "")
scss_var = f"@import '{sass_dir.value}/wvc-theme/{theme}/variables';"
scss_bootswatch = f"@import '{sass_dir.value}/wvc-theme/{theme}/bootswatch';"
#scss_boot = f"@import '{sass_dir.value}/bootstrap/bootstrap.scss';"
scss_boot = f"@import '{sass_dir.value}/bootstrap-overrides.scss';"
scss_bootswatch = f"@import '{sass_dir.value}/wvc-theme/{theme}/bootswatch';"
try:
with open(sass_dir.value + "/wvc-main.scss", "w") as main: