Replacing custom editor styles with an extra sass file
This commit is contained in:
parent
a0c6bc127e
commit
0640bf7094
|
@ -1,3 +0,0 @@
|
||||||
body {
|
|
||||||
margin: 1vw;
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
|
@ -85,8 +85,7 @@ gulp.task( 'sass', function() {
|
||||||
} ) )
|
} ) )
|
||||||
.pipe( sass( { errLogToConsole: true } ) )
|
.pipe( sass( { errLogToConsole: true } ) )
|
||||||
.pipe( autoprefixer( 'last 2 versions' ) )
|
.pipe( autoprefixer( 'last 2 versions' ) )
|
||||||
.pipe( gulp.dest( paths.css ) )
|
.pipe( gulp.dest( paths.css ) );
|
||||||
.pipe( rename( 'custom-editor-style.css' ) );
|
|
||||||
return stream;
|
return stream;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
//Add your own editor styles here or comment out the next line if you want to pull in the whole Bootstrap stuff
|
||||||
|
//@import "theme";
|
|
@ -2,6 +2,7 @@
|
||||||
@import "assets/bootstrap4";// <--------- Loads Bootstrap3 or Bootstrap4. Change from /bootstrap3 to /bootstrap4 Watch out! just for testing in the moment!
|
@import "assets/bootstrap4";// <--------- Loads Bootstrap3 or Bootstrap4. Change from /bootstrap3 to /bootstrap4 Watch out! just for testing in the moment!
|
||||||
@import "understrap/understrap";// <-------- Loads the UnderStrap defaults. Just a few classes to incorporate BS in WP
|
@import "understrap/understrap";// <-------- Loads the UnderStrap defaults. Just a few classes to incorporate BS in WP
|
||||||
|
|
||||||
|
|
||||||
//Optional files - If you dont use the corresponding scripts/fonts comment em out
|
//Optional files - If you dont use the corresponding scripts/fonts comment em out
|
||||||
@import "assets/font-awesome"; // <------- Font Awesome Icon font
|
@import "assets/font-awesome"; // <------- Font Awesome Icon font
|
||||||
@import "assets/underscores"; // <------- Underscores media styles
|
@import "assets/underscores"; // <------- Underscores media styles
|
||||||
|
|
Reference in New Issue