Custom LESS is not included in import
Expected Behaviour
If I have a course with custom LESS, I should be able to export/import it and retain the custom LESS.
Actual Behaviour
The custom LESS does not get imported.
Steps to Reproduce
- Create a course with custom LESS
- Export it, note that the less is contained in src/theme/[theme name]/less/zzzzz/
- Import the course, note that the LESS has not been imported
Versions
- Authoring Tool Version: 0.10.2
Note: it seems that this has been a problem in the past https://github.com/adaptlearning/adapt_authoring/issues/2088
Expanding on this. If the custom less is defined under project settings in the AAT, this is exported as a custom less file under zzzz. This is, in my view, the wrong behaviour for the export as it should export the custom less in the course config files not in a less file. The less file should only be output as part of the build (not source export).
This way the custom less would be put back where it was defined in the AAT interface.
The only way the custom less can be imported currently is if the theme version on the AAT you are importing into is behind that of the source.