Skip to content

Commit

Permalink
Initiated PostCSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Javid-Izadfar committed Dec 25, 2016
1 parent 4b1e385 commit ca9d4fe
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
node_modules/
19 changes: 19 additions & 0 deletions gulpfile.js
@@ -0,0 +1,19 @@
var gulp = require('gulp');
var postcss = require('gulp-postcss');
var postcss_simple_vars = require('postcss-simple-vars');

gulp.task('css', function() {
var plugins = [
postcss_simple_vars,
];
return gulp.src('postcss/gorbeh-icons.css')
.pipe(postcss(plugins))
.pipe(gulp.dest('css'));
});

// default gulp task
gulp.task('default', ['css'], function() {

// watch for CSS changes
gulp.watch('./postcss/*.css', ["css"]);
});
29 changes: 29 additions & 0 deletions package.json
@@ -0,0 +1,29 @@
{
"name": "gorbeh",
"version": "2.1.0",
"description": "Material Icons and more, with postCSS toolkit",
"main": "gulpfile.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/IKAcc/Gorbeh.git"
},
"keywords": [
"Icon",
"Material",
"Iran"
],
"author": "IKA Computing Club",
"license": "MIT",
"bugs": {
"url": "https://github.com/IKAcc/Gorbeh/issues"
},
"homepage": "https://github.com/IKAcc/Gorbeh#readme",
"dependencies": {
"gulp": "^3.9.1",
"gulp-postcss": "^6.2.0",
"postcss-simple-vars": "^3.0.0"
}
}
Empty file added postcss/gorbeh-icons.css
Empty file.

0 comments on commit ca9d4fe

Please sign in to comment.