mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-08 19:26:48 +00:00
A theme change compiled Bootswatch with libsass (34 MB, upstream deprecated) into two tracked files, which updates, rollbacks and new Docker containers then reset. The 27 themes now ship as static/css/themes/<theme>.min.css, built by "manage.py build_themes"; the Settings page only saves the theme name and every page links that file (zephyr when no settings are in context, as on the 500 page). libsass moves to dev/requirements.txt; a test checks that each shipped file is its theme compiled from dev/scss. The "Theme SASS Path" setting is removed, and the theme default "flaty", a typo that never applied, becomes zephyr, the theme those installs showed. The update and rollback steps restore an older version's rewritten theme files only where they are modified.
8 lines
213 B
Text
8 lines
213 B
Text
-r ../conf/requirements.txt
|
|
coverage==7.16.2
|
|
# compiles the themes (manage.py build_themes)
|
|
libsass==0.23.0
|
|
django-debug-toolbar==8.0.0
|
|
django-debug-toolbar-template-profiler==2.1.0
|
|
pip-audit==2.10.1
|
|
ruff==0.17.0
|