MDL-44217 theme_bootstrapbase: darkend link colour by 5% for accessibility
[moodle.git] / theme / bootstrapbase / less / README
CommitLineData
24c7fd00
SH
1About bootstrap in Moodle
2-------------------------
8903b17b 3If you want to make changes to the .css generated from these .less files then you
e473358e
JF
4need to use a LESS Compiler. Details on specific compilers and how to install them
5can be found at http://docs.moodle.org/dev/LESS
8903b17b 6
e473358e
JF
7At present, recess is the official tool for developers to compile LESS in to CSS, as
8other tools give different results in the generated CSS.
9
10Once recess has been installed you can compile and compress the LESS in to CSS using
38398beb 11the following commands from the "theme/bootstrapbase/less" directory:
8903b17b 12
38398beb
DW
13For the main Moodle styles:
14
24c7fd00 15 recess --compile --compress moodle.less > ../style/moodle.css
8903b17b
BB
16
17And for the subset of styles of interest to the TinyMCE editor:
18
24c7fd00 19 recess --compile --compress editor.less > ../style/editor.css
8903b17b 20
38398beb
DW
21You can add --watch to make sure it updates every time you make a change.
22
8903b17b
BB
23If the compilation is failing and you're not getting any useful error message, try using lessc instead i.e.:
24
24c7fd00 25 lessc moodle.less
8903b17b
BB
26
27This is the same tool that's getting called by recess, but the errors seems better if you go direct.
e473358e 28
24c7fd00
SH
29More information
30----------------
e473358e
JF
31Additional information about the Moodle bootstrap base theme can be found at
32http://docs.moodle.org/dev/Bootstrap
33