less variables which are not scoped should be available to overwrite using a importless.json config file.
importless.json config
specifies the global variables that should be overwritten and the value with which they should be overwritten by.
Example importless.json
{
"variables": {
"icon-font-path": "build/fonts/",
"notification-base-color": "#FAFAFA"
}
}
list variables available for overwrite
importless should provide a function that returns the global variable names as an array.
overwrite
Not sure how the actual overwriting is being done. Need to investigate if the parse tree can be modified and then compiled.
Modify parse tree and then call .toCSS() to compile.
less variables which are not scoped should be available to overwrite using a
importless.jsonconfig file.importless.jsonconfigspecifies the global variables that should be overwritten and the value with which they should be overwritten by.
Example
importless.json{ "variables": { "icon-font-path": "build/fonts/", "notification-base-color": "#FAFAFA" } }list variables available for overwrite
importlessshould provide a function that returns the global variable names as an array.overwrite
Not sure how the actual overwriting is being done. Need to investigate if the parse tree can be modified and then compiled.Modify parse tree and then call
.toCSS()to compile.