The current code doesn't allow the user to push colors or stuff like typographic measurements into the LESS compiler process, you pretty much have to use Bootstrap 2, with its default colors, so I want the user to be able to override this file within(/or only within) my template, with 2 major changes:
Thanks
Labels |
Added:
?
|
Thank you, but at least a hook point for template settings save?
Saving template styles emits the usual onContentBeforeSave
and onContentAfterSave
events in the com_templates.style
context.
Thank you.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-03-14 13:12:47 |
Closed_By | ⇒ | thednp |
generatecss.php doesn't ship as part of a release, it's only a convenience tool used when contributing to core and making LESS changes to the core templates to quickly regenerate the CSS for the templates. So it is not a reliable resource to use in distributed extensions/templates (and obviously not used in the template manager when LESS is compiled from there).
No, there are not hook points in the LESS compiling process to push values into the compiled CSS via PHP in any other way.