mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 22:50:19 +01:00
MDL-39003 README for bootstrap less - more clarification and details
This commit is contained in:
parent
e473358ef1
commit
38398bebc3
@ -6,15 +6,18 @@ At present, recess is the official tool for developers to compile LESS in to CSS
|
||||
other tools give different results in the generated CSS.
|
||||
|
||||
Once recess has been installed you can compile and compress the LESS in to CSS using
|
||||
the following command:
|
||||
recess --compile --compress moodle.less > ../style/moodle.css
|
||||
the following commands from the "theme/bootstrapbase/less" directory:
|
||||
|
||||
You can add --watch to make sure it updates every time you make a change.
|
||||
For the main Moodle styles:
|
||||
|
||||
recess --compile --compress moodle.less > ../style/moodle.css
|
||||
|
||||
And for the subset of styles of interest to the TinyMCE editor:
|
||||
|
||||
recess --compile --compress editor.less > ../style/editor.css
|
||||
|
||||
You can add --watch to make sure it updates every time you make a change.
|
||||
|
||||
If the compilation is failing and you're not getting any useful error message, try using lessc instead i.e.:
|
||||
|
||||
lessc moodle.less
|
||||
|
Loading…
x
Reference in New Issue
Block a user