Releasing 0.6.0
This commit is contained in:
parent
76d9ac269d
commit
4cacfc082c
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "understrap",
|
"name": "understrap",
|
||||||
"version": "0.5.7",
|
"version": "0.6.0",
|
||||||
"homepage": "http://understrap.com",
|
"homepage": "http://understrap.com",
|
||||||
"authors": [
|
"authors": [
|
||||||
"Holger Koenemann <office@holgerkoenemann.de>"
|
"Holger Koenemann <office@holgerkoenemann.de>"
|
||||||
|
@ -26,6 +26,6 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
},
|
},
|
||||||
"_source": "https://github.com/holger1411/understrap.git",
|
"_source": "https://github.com/holger1411/understrap.git",
|
||||||
"_target": "~0.5.7",
|
"_target": "~0.6.0",
|
||||||
"_originalSource": "understrap"
|
"_originalSource": "understrap"
|
||||||
}
|
}
|
||||||
|
|
|
@ -6870,7 +6870,7 @@ h1.navbar-brand a:hover {
|
||||||
text-decoration: none; }
|
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)
|
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
||||||
*/
|
*/
|
||||||
/* FONT PATH
|
/* FONT PATH
|
||||||
|
@ -9180,6 +9180,24 @@ h1.navbar-brand a:hover {
|
||||||
.fa-meetup:before {
|
.fa-meetup:before {
|
||||||
content: ""; }
|
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 {
|
.gallery {
|
||||||
margin-bottom: 1.5em; }
|
margin-bottom: 1.5em; }
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
15
gulpfile.js
15
gulpfile.js
|
@ -41,6 +41,7 @@ var merge = require('gulp-merge');
|
||||||
var sourcemaps = require('gulp-sourcemaps');
|
var sourcemaps = require('gulp-sourcemaps');
|
||||||
var browserSync = require('browser-sync').create();
|
var browserSync = require('browser-sync').create();
|
||||||
var del = require('del');
|
var del = require('del');
|
||||||
|
var cleanCSS = require('gulp-clean-css');
|
||||||
|
|
||||||
|
|
||||||
// Run:
|
// Run:
|
||||||
|
@ -59,7 +60,7 @@ gulp.task('scss-for-prod', function() {
|
||||||
|
|
||||||
|
|
||||||
var pipe2 = source.pipe(clone())
|
var pipe2 = source.pipe(clone())
|
||||||
.pipe(cssnano())
|
.pipe(minify-css())
|
||||||
.pipe(rename({suffix: '.min'}))
|
.pipe(rename({suffix: '.min'}))
|
||||||
.pipe(gulp.dest('./css'));
|
.pipe(gulp.dest('./css'));
|
||||||
|
|
||||||
|
@ -102,7 +103,7 @@ gulp.task('sass', function () {
|
||||||
// Starts watcher. Watcher runs gulp sass task on changes
|
// Starts watcher. Watcher runs gulp sass task on changes
|
||||||
gulp.task('watch', function () {
|
gulp.task('watch', function () {
|
||||||
gulp.watch('./sass/**/*.scss', ['sass']);
|
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']);
|
gulp.watch([basePaths.dev + 'js/**/*.js','js/**/*.js','!js/theme.js','!js/theme.min.js'], ['scripts']);
|
||||||
|
|
||||||
//Inside the watch task.
|
//Inside the watch task.
|
||||||
|
@ -132,6 +133,14 @@ gulp.task('cssnano', function(){
|
||||||
.pipe(gulp.dest('./css/'))
|
.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() {
|
gulp.task('cleancss', function() {
|
||||||
return gulp.src('./css/*.min.css', { read: false }) // much faster
|
return gulp.src('./css/*.min.css', { read: false }) // much faster
|
||||||
.pipe(ignore('theme.css'))
|
.pipe(ignore('theme.css'))
|
||||||
|
@ -150,7 +159,7 @@ gulp.task('browser-sync', function() {
|
||||||
// Run:
|
// Run:
|
||||||
// gulp watch-bs
|
// gulp watch-bs
|
||||||
// Starts watcher with browser-sync. Browser-sync reloads page automatically on your browser
|
// 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:
|
// Run:
|
||||||
|
|
File diff suppressed because one or more lines are too long
14
package.json
14
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "understrap",
|
"name": "understrap",
|
||||||
"version": "0.5.7",
|
"version": "0.6.0",
|
||||||
"description": "Wordpress Theme framework",
|
"description": "Wordpress Theme framework",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
"homepage": "https://understrap.com",
|
"homepage": "https://understrap.com",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bootstrap": "^4.0.0-alpha.6",
|
"bootstrap": "^4.0.0-alpha.6",
|
||||||
"browser-sync": "^2.18.7",
|
"browser-sync": "^2.18.8",
|
||||||
"del": "^2.2.2",
|
"del": "^2.2.2",
|
||||||
"font-awesome": "^4.7.0",
|
"font-awesome": "^4.7.0",
|
||||||
"gulp": "^3.9.1",
|
"gulp": "^3.9.1",
|
||||||
|
@ -36,18 +36,20 @@
|
||||||
"gulp-concat": "^2.6.1",
|
"gulp-concat": "^2.6.1",
|
||||||
"gulp-cssnano": "^2.1.2",
|
"gulp-cssnano": "^2.1.2",
|
||||||
"gulp-ignore": "^2.0.2",
|
"gulp-ignore": "^2.0.2",
|
||||||
"gulp-imagemin": "^3.1.1",
|
"gulp-imagemin": "^3.2.0",
|
||||||
"gulp-merge": "^0.1.1",
|
"gulp-merge": "^0.1.1",
|
||||||
"gulp-plumber": "^1.1.0",
|
"gulp-plumber": "^1.1.0",
|
||||||
"gulp-rename": "^1.2.2",
|
"gulp-rename": "^1.2.2",
|
||||||
"gulp-rimraf": "^0.2.1",
|
"gulp-rimraf": "^0.2.1",
|
||||||
"gulp-sass": "^3.1.0",
|
"gulp-sass": "^3.1.0",
|
||||||
"gulp-sourcemaps": "^2.4.1",
|
"gulp-sourcemaps": "2.4.1",
|
||||||
"gulp-uglify": "^2.0.1",
|
"gulp-uglify": "^2.1.2",
|
||||||
"gulp-watch": "^4.3.11",
|
"gulp-watch": "^4.3.11",
|
||||||
"merge2": "^1.0.3",
|
"merge2": "^1.0.3",
|
||||||
"run-sequence": "^1.2.2",
|
"run-sequence": "^1.2.2",
|
||||||
|
"gulp-clean-css": "^3.0.4",
|
||||||
"undescores-for-npm": "^1.0.0"
|
"undescores-for-npm": "^1.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {}
|
"devDependencies": {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
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 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;
|
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: GNU General Public License v2 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
Text Domain: understrap
|
Text Domain: understrap
|
||||||
|
|
Reference in New Issue