Closed micker closed 3 years ago
I think we don't need to change anything
If i understand you The CORE LESS files and the LESS files of core templates must never be customized.
If someone needs a customization then the user can create a CSS override in its own CSS files
About less re-compile in your development website (if you have not done already) You only need to turn on (auto) re-compile LESS in "Advanced" TAB of component options (It costs very little as it check modification times but for live sites it does not need to be turned ON)
Then if you visit a backend and a frontend view the dependent CSS files will be auto-created Thus your commits to GitHub will always contain the updated files
But if user use less option in core template (no code juste option) the less files are updated and customisation lost We need to édit template template admin and save to regenerate good less customisation
J4 has shifted to Sass, and doesn't include a LESS compiler:
https://github.com/joomla/joomla-cms/issues/30569
TEMPLATES:
Yes maybe for next version WE will study it Can you help us to prépare bs5 update for all templates ? WE will unify HTML and HTML5 file and update all styles
more explain Before update
After update
After resave template
in a prod site, or maybe we need to check is less compilation is correctly configure for prod at first
We do not use the LESS compiler of Joomla 3 instead we have a new version of the LESS compiler
so the removal of it in J4 is not a problem
-- Regarding CORE Less files The package already comes with THEM compiled to CSS, so we do not need to do anything on update,
-- Regarding LESS files of custom templates (e.g. item.less and category.less) When these include LESS variable files that are contained in the package, then these will be re-compiled due to package LESS files having newer date so we do not need to do something here either
right ?
Furthermore for developers doing changes to CORE LESS files, -- they need to enable the auto-compile of CORE LESS files in component configuration
So i don't think we have any issue with LESS compilation I am closing the issue, if there is some reason to open it , please respond and i will reopen it
Hello when we use flexicontent update we lost less customisation, we need to edit one template and save to regenerate it it can be cool to add less->css compilation on postinstall action