coursetheme
- Description:
- Application of custom course theme settings
- Source:
Classes
- CourseThemeModule
Methods
(static) exports.getVariablesString(data, variablesStr) → {String}
- Description:
- Generates a LESS variables string from a nested data object
- Source:
Parameters:
| Name |
Type |
Description |
data |
Object
|
The data to process |
variablesStr |
String
|
String memo to allow recursion |
Returns:
The processed LESS variables string
-
Type
-
String
(static) exports.processCustomStyling(courseData)
- Description:
- Processes custom styling by moving the themeCustomStyle attribute from
themeVariables to the top-level course data
- Source:
Parameters:
| Name |
Type |
Description |
courseData |
Object
|
The course data object (fwBuild.courseData) |