# Component Supuraito

Contains the build process of V Platform sprites. This takes the sprites in `./sprites/sprites/` and generates a combined image `./dist/sprites.png` and `./dist/sprites@2x.png`. Check `./dist` for the full output.

This package is not a frontend JavaScript package. It does however have LESS assets.

If you're looking for navigation icons, they are in Component Aikon.

[![npm version](https://badge.fury.io/js/%40tremorvideo%2Fsupuraito.svg)](http://badge.fury.io/js/%40tremorvideo%2Fsupuraito)

## Prerequisites

* Python 2.7.9 and above
* glue 0.9.4 and above
* io.js 2.5.0 and above

## Upgrading glue

```
sudo pip install glue --upgrade
```

## Running supuraito

You will need npm packages to be installed local to this project. Run:

```
npm install
```

Put the icons that you want to add into the respective sprites folder in supuraito.

To run this in Windows:
```
npm run build-windows
```

To run this in Unix / Mac:
```
npm run build-unix
```

To add your sprites. In the console's UI directory (see gulp-tasks-imagemin README.md), run

```
gulp sprite
```

You should see your new icons generated in http://localhost:7001/bower_components/supuraito/ assuming you've started your local standalone-console server.

## Developing for supuraito

1. Change the `build.bat` file.
2. Make sure it works for both Windows and UNIX environments.
