Details
-
Type: Improvement
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: Short Term
-
Component/s: None
-
Labels:None
-
Epic Link:
Description
The theme variables (admin and client) should be used to generate the SASS variables file for each theme.
This should then be used in combination with leafo/scssphp to build the theme CSS files each time a theme is edited from within Blesta, or a new theme created within Blesta (added or imported). This CSS file should be written to the cache directory.
If a theme CSS file fails to write to the cache directory, then the system will have to fallback to the default theme instead.
The dynamic theme require URI would need to be updated to deliver this CSS cache file instead of generating one on demand as it currently does.