grunt-img2sassb64
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "grunt-img2sassb64", | ||
"version": "0.1.0", | ||
"description": "Converts image files to Base64 and saves them as SCSS or SASS variables", | ||
"version": "0.1.1", | ||
"description": "Converts image files to Base64 and saves them as SCSS or SASS variables in a single file", | ||
"homepage": "https://github.com/sarweiler/img2sassb64", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/sarweiler/img2sassb64.git", |
# img2sassb64 | ||
> A grunt task to convert image files to Base64 and save them as SASS variables | ||
> A grunt task to convert image files to Base64 and save them as SCSS or SASS variables in a single file. | ||
If you save the generated file as a partial (e.g. `_icons.scss`) you can easily import the file to your SCSS or SASS file and access the graphics via the variable names. | ||
Variable names will be the file names with '.' replaced by '_'. For example, `icon.png` will be `$icon_png`. | ||
Use this plugin together with a watch to have your graphics processed as soon as you place them in the given directory. | ||
## Getting Started | ||
@@ -80,2 +87,8 @@ This plugin requires Grunt. | ||
## Release History | ||
* 0.1.0 Changed directory input to file input to be more flexible | ||
* 0.0.4 First version | ||
## Contributing | ||
@@ -82,0 +95,0 @@ In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12193
98