2011-11-08 17:40:44 +01:00
|
|
|
These are "less" files that compile into the CSS of claro.
|
|
|
|
|
|
|
|
---------
|
|
|
|
Installing and running on Windows:
|
|
|
|
|
|
|
|
1. Install node:
|
|
|
|
a) Go to https://github.com/ajaxorg/node-builds, press download button, and select "download zip"
|
|
|
|
b) unzip the file into C:\
|
|
|
|
|
2012-08-14 16:59:10 +02:00
|
|
|
2. Add node environment variables:
|
2011-11-08 17:40:44 +01:00
|
|
|
|
|
|
|
a) open Control Panel --> click System icon --> select Advanced tab --> click Environment variables button
|
|
|
|
b) press "edit" on path
|
|
|
|
c) depending on what directory you unzipped to and the exact filenames, you will add something like
|
|
|
|
|
2012-08-14 16:59:10 +02:00
|
|
|
;C:\ajaxorg-node-builds-0fcee7d\win32
|
2011-11-08 17:40:44 +01:00
|
|
|
|
|
|
|
4. To compile all the files:
|
|
|
|
|
|
|
|
C:\> cd C:\myworkspace\dijit\themes\claro
|
|
|
|
C:\> node compile.js
|
|
|
|
|
|
|
|
--------
|
|
|
|
To install/run less version 2 on mac:
|
|
|
|
|
|
|
|
1. Install Node.js
|
|
|
|
Download a built copy from https://github.com/ajaxorg/node-builds.
|
2012-08-14 16:59:10 +02:00
|
|
|
Alternately, go to http://nodejs.org/#download (./configure, make, make install).
|
2011-11-08 17:40:44 +01:00
|
|
|
|
2012-08-14 16:59:10 +02:00
|
|
|
2. Edit .bash_profile etc. to add node to your path
|
2011-11-08 17:40:44 +01:00
|
|
|
|
|
|
|
export PATH=$PATH:/opt/less/bin
|
|
|
|
|
|
|
|
To compile all the files:
|
|
|
|
|
|
|
|
$ cd dijit/themes/claro
|
|
|
|
$ node compile.js
|
|
|
|
|
|
|
|
-----
|
|
|
|
|
|
|
|
See http://lesscss.org/ and https://github.com/cloudhead/less.js/ for more information.
|