Releasing 0.6.0

This commit is contained in:
koenemann 2017-04-21 14:08:39 +02:00
parent 76d9ac269d
commit 4cacfc082c
7 changed files with 54 additions and 18 deletions

View File

@ -1,6 +1,6 @@
{
"name": "understrap",
"version": "0.5.7",
"version": "0.6.0",
"homepage": "http://understrap.com",
"authors": [
"Holger Koenemann <office@holgerkoenemann.de>"
@ -26,6 +26,6 @@
"dependencies": {
},
"_source": "https://github.com/holger1411/understrap.git",
"_target": "~0.5.7",
"_target": "~0.6.0",
"_originalSource": "understrap"
}

View File

@ -6870,7 +6870,7 @@ h1.navbar-brand a:hover {
text-decoration: none; }
/*!
* Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/
/* FONT PATH
@ -9180,6 +9180,24 @@ h1.navbar-brand a:hover {
.fa-meetup:before {
content: ""; }
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0; }
.sr-only-focusable:active, .sr-only-focusable:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto; }
.gallery {
margin-bottom: 1.5em; }

11
css/theme.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -41,6 +41,7 @@ var merge = require('gulp-merge');
var sourcemaps = require('gulp-sourcemaps');
var browserSync = require('browser-sync').create();
var del = require('del');
var cleanCSS = require('gulp-clean-css');
// Run:
@ -59,7 +60,7 @@ gulp.task('scss-for-prod', function() {
var pipe2 = source.pipe(clone())
.pipe(cssnano())
.pipe(minify-css())
.pipe(rename({suffix: '.min'}))
.pipe(gulp.dest('./css'));
@ -102,7 +103,7 @@ gulp.task('sass', function () {
// Starts watcher. Watcher runs gulp sass task on changes
gulp.task('watch', function () {
gulp.watch('./sass/**/*.scss', ['sass']);
gulp.watch('./css/theme.css', ['cssnano']);
gulp.watch('./css/theme.css', ['minify-css']);
gulp.watch([basePaths.dev + 'js/**/*.js','js/**/*.js','!js/theme.js','!js/theme.min.js'], ['scripts']);
//Inside the watch task.
@ -132,6 +133,14 @@ gulp.task('cssnano', function(){
.pipe(gulp.dest('./css/'))
});
gulp.task('minify-css', function() {
return gulp.src('./css/theme.css')
.pipe(cleanCSS({compatibility: 'ie8'}))
.pipe(plumber())
.pipe(rename({suffix: '.min'}))
.pipe(gulp.dest('./css/'));
});
gulp.task('cleancss', function() {
return gulp.src('./css/*.min.css', { read: false }) // much faster
.pipe(ignore('theme.css'))
@ -150,7 +159,7 @@ gulp.task('browser-sync', function() {
// Run:
// gulp watch-bs
// Starts watcher with browser-sync. Browser-sync reloads page automatically on your browser
gulp.task('watch-bs', ['browser-sync', 'watch', 'cssnano', 'scripts'], function () { });
gulp.task('watch-bs', ['browser-sync', 'watch', 'minify-css', 'scripts'], function () { });
// Run:

6
js/theme.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "understrap",
"version": "0.5.7",
"version": "0.6.0",
"description": "Wordpress Theme framework",
"main": "index.js",
"scripts": {
@ -28,7 +28,7 @@
"homepage": "https://understrap.com",
"dependencies": {
"bootstrap": "^4.0.0-alpha.6",
"browser-sync": "^2.18.7",
"browser-sync": "^2.18.8",
"del": "^2.2.2",
"font-awesome": "^4.7.0",
"gulp": "^3.9.1",
@ -36,18 +36,20 @@
"gulp-concat": "^2.6.1",
"gulp-cssnano": "^2.1.2",
"gulp-ignore": "^2.0.2",
"gulp-imagemin": "^3.1.1",
"gulp-imagemin": "^3.2.0",
"gulp-merge": "^0.1.1",
"gulp-plumber": "^1.1.0",
"gulp-rename": "^1.2.2",
"gulp-rimraf": "^0.2.1",
"gulp-sass": "^3.1.0",
"gulp-sourcemaps": "^2.4.1",
"gulp-uglify": "^2.0.1",
"gulp-sourcemaps": "2.4.1",
"gulp-uglify": "^2.1.2",
"gulp-watch": "^4.3.11",
"merge2": "^1.0.3",
"run-sequence": "^1.2.2",
"gulp-clean-css": "^3.0.4",
"undescores-for-npm": "^1.0.0"
},
"devDependencies": {}
"devDependencies": {
}
}

View File

@ -7,7 +7,7 @@ Description: Combination of Automattic´s _s theme and Bootstrap 4. Made as a so
That downloads everything and moves it in place so that you can recompile your CSS and JS files;
A developer version (with Gulp/node and Sass sources) is available on gitHub: https://github.com/holger1411/understrap
A child theme is available on Github, too: https://github.com/holger1411/understrap-child;
Version: 0.5.7
Version: 0.6.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: understrap