]>
Commit | Line | Data |
---|---|---|
81bea17a AD |
1 | These are "less" files that compile into the CSS of claro. |
2 | ||
3 | --------- | |
4 | Installing and running on Windows: | |
5 | ||
6 | 1. Install node: | |
7 | a) Go to https://github.com/ajaxorg/node-builds, press download button, and select "download zip" | |
8 | b) unzip the file into C:\ | |
9 | ||
1354d172 | 10 | 2. Add node environment variables: |
81bea17a AD |
11 | |
12 | a) open Control Panel --> click System icon --> select Advanced tab --> click Environment variables button | |
13 | b) press "edit" on path | |
14 | c) depending on what directory you unzipped to and the exact filenames, you will add something like | |
15 | ||
1354d172 | 16 | ;C:\ajaxorg-node-builds-0fcee7d\win32 |
81bea17a AD |
17 | |
18 | 4. To compile all the files: | |
19 | ||
20 | C:\> cd C:\myworkspace\dijit\themes\claro | |
21 | C:\> node compile.js | |
22 | ||
23 | -------- | |
24 | To install/run less version 2 on mac: | |
25 | ||
26 | 1. Install Node.js | |
27 | Download a built copy from https://github.com/ajaxorg/node-builds. | |
1354d172 | 28 | Alternately, go to http://nodejs.org/#download (./configure, make, make install). |
81bea17a | 29 | |
1354d172 | 30 | 2. Edit .bash_profile etc. to add node to your path |
81bea17a AD |
31 | |
32 | export PATH=$PATH:/opt/less/bin | |
81bea17a AD |
33 | |
34 | To compile all the files: | |
35 | ||
36 | $ cd dijit/themes/claro | |
37 | $ node compile.js | |
38 | ||
81bea17a AD |
39 | ----- |
40 | ||
41 | See http://lesscss.org/ and https://github.com/cloudhead/less.js/ for more information. |