| 22 | |
| 23 | ## The paster command |
| 24 | |
| 25 | This is the proposed behaviour of the paster command: |
| 26 | |
| 27 | - ensure `custom.less` does not exist |
| 28 | - for each colour in{fuchsia,green,maroon,red}: |
| 29 | - generate a `custom.less` file for $colour. There's a paster command that does this already: `paster color <color name>. |
| 30 | - generate the `css` from the `less` files. ie - the equivelant of running `bin/less --production`. |
| 31 | - this will generate a `main.css` file, which should be renamed to `$color.css`. |
| 32 | |
| 33 | - ensure `custom.less` does not exist |
| 34 | - generate the `css` from the `less` files. This will create a `main.css` with the default colour scheme. |
| 35 | |
| 36 | - call the paster command that minifies css and js files. (This command does not exist yet, see #2950) |