forked from yogsototh/hl
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moving asset pipeline to repo, improving contrast on pink links, cleanup
- Loading branch information
1 parent
63aadfa
commit 0c06ad6
Showing
21 changed files
with
467 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules/* | ||
bower_components/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "hl-assets", | ||
"description": "", | ||
"main": "gulpfile.js", | ||
"authors": [ | ||
"David Deutsch <[email protected]>" | ||
], | ||
"license": "BSD3", | ||
"homepage": "https://github.com/daviddeutsch/hl-assets", | ||
"moduleType": [], | ||
"private": true, | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
], | ||
"dependencies": { | ||
"bootstrap-sass": "~3.3.6" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
var gulp = require('gulp'), | ||
postcss = require('gulp-postcss'), | ||
sass = require('gulp-sass'), | ||
rename = require('gulp-rename'), | ||
sourcemaps = require('gulp-sourcemaps'), | ||
concat = require('gulp-concat'), | ||
autoprefixer = require('autoprefixer'), | ||
cssnano = require('gulp-cssnano'); | ||
|
||
gulp.task('css', function() { | ||
return gulp.src('scss/hl.scss') | ||
//.pipe(sourcemaps.init()) | ||
.pipe(sass({ precision: 10 })) | ||
.pipe(postcss([ autoprefixer({ browsers: [ | ||
"Android 2.3", | ||
"Android >= 4", | ||
"Chrome >= 20", | ||
"Firefox >= 24", | ||
"Explorer >= 8", | ||
"iOS >= 6", | ||
"Opera >= 12", | ||
"Safari >= 6" | ||
] }) ])) | ||
//.pipe(sourcemaps.write('.')) | ||
.pipe(gulp.dest('../css/')) | ||
.pipe(cssnano()) | ||
.pipe(rename({ extname: '.min.css' })) | ||
.pipe(gulp.dest('../css/')); | ||
}); | ||
|
||
|
||
gulp.task('watch', function() { | ||
var watcher = gulp.watch('scss/*', ['css']); | ||
|
||
watcher.on('change', function (event) { | ||
console.log('File ' + event.path + ' was ' + event.type + '. Now running css task...'); | ||
}); | ||
}); |
Oops, something went wrong.