Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 650 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 650 Bytes

Gulp tasks

Add to bower.json

{
    "dependencies": {
        "gulp-tasks": "https://github.com/ConnectHolland/gulp-tasks.git#^2.0"
    }
}

Inline images task

With the task inline-images you can create a 'sprite' of inline css images. The task generates an scss file with the inline-image($name) mixin and .inline-image-* css classes.

Make sure the following packages are available:

    "gulp-add-src": "^0.2.0",
    "gulp-concat": "^2.5.2",
    "gulp-image-data-uri": "^1.2.1",

Example configuration of config.json:

    "inline-images": {
        "src": [
            "images/icons2x/*"
        ]
    }