From 1bfd9ac82624ef736cf3c4804eb44b58eee8fee6 Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Thu, 5 Jul 2018 17:44:47 +0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20RELEASE:=20v0.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gulpfile.js | 22 +++++++++++----------- index.org.html => org/index.org.html | 0 style.org.css => org/style.org.css | 0 scss/partial/body.scss | 1 - scss/style.scss | 2 +- 5 files changed, 12 insertions(+), 13 deletions(-) rename index.org.html => org/index.org.html (100%) rename style.org.css => org/style.org.css (100%) diff --git a/gulpfile.js b/gulpfile.js index 05c6ce7..8dc395d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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) @@ -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'); -// }); diff --git a/index.org.html b/org/index.org.html similarity index 100% rename from index.org.html rename to org/index.org.html diff --git a/style.org.css b/org/style.org.css similarity index 100% rename from style.org.css rename to org/style.org.css diff --git a/scss/partial/body.scss b/scss/partial/body.scss index a9e1809..5705d51 100644 --- a/scss/partial/body.scss +++ b/scss/partial/body.scss @@ -32,7 +32,6 @@ vertical-align: middle; font-size: 4rem; color: white; - color: red !important; } .top h1 > span { diff --git a/scss/style.scss b/scss/style.scss index d424acf..2a83df5 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -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