Skip to content

Commit

Permalink
πŸš€ RELEASE: v0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MaedahBatool committed Jul 5, 2018
1 parent f580b06 commit 1bfd9ac
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
22 changes: 11 additions & 11 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ const gulp = require('gulp');
const pug = require('gulp-pug');
const sass = require('gulp-sass');

/**
* Pug
*/
gulp.task('pug', function() {
return gulp
.src(config.pugSrc)
Expand All @@ -30,23 +33,20 @@ gulp.task('pug', function() {
.pipe(gulp.dest(config.pugDst));
});

/**
* Scss
*/
gulp.task('scss', function() {
return gulp
.src('config.scssSrc')
.src(config.scssSrc)
.pipe(sass({ outputStyle: 'compressed' }).on('error', sass.logError))
.pipe(gulp.dest('config.scssDst'));
.pipe(gulp.dest(config.scssDst));
});

/**
* Default
*/
gulp.task('default', ['pug', 'scss'], function() {
gulp.watch(config.pugWatchFiles, ['pug']);
gulp.watch(config.scssWatchFiles, ['scss']);
});

// gulp.task('default', ['pug', 'scss'], function () {
// gulp.watch(pugFiles, 'pug');
// gulp.watch(scssFiles, 'scss');
// });

// gulp.task('hi', function() {
// console.log('Hi Meow');
// });
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion scss/partial/body.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
vertical-align: middle;
font-size: 4rem;
color: white;
color: red !important;
}

.top h1 > span {
Expand Down
2 changes: 1 addition & 1 deletion scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// β€” VENDORS.
@import 'vendors/normalize';

// β€” PARTIALS.
// // β€” PARTIALS.
@import 'partial/variables'; // Variables file
@import 'partial/base'; // CSS styles for entire web-page
@import 'partial/body'; // CSS styles basics

0 comments on commit 1bfd9ac

Please sign in to comment.