Time for action – compiling LESS into CSS using Koala
Perform the following steps to compile LESS into CSS using Koala:
Add the project directory in the Koala sidebar, as follows:
Select all the style sheets except
frameworks.less
andstyle.less
. Right-click and select Toggle Auto Compile. Have a look at the following screenshot:This will turn off the Auto Compile option on the selected style sheets and prevent Koala from compiling these style sheet unintentionally.
On the other hand, ensure that Auto Compile is checked for the two remaining style sheets,
frameworks.less
andstyle.less
:Make sure that the
frameworks.less
andstyle.less
output is set to/assets/css
directory, as shown in the following screenshot:Check the Source Map option for both style sheets to generate the source map files, which will help us when debugging:
Select the output styles for the two style sheets,
frameworks.less
andstyle.less
, to compress:This option will generate a small-sized CSS style sheet, as the codes within...