I bought a template. If I try to compile it with the precompiled version of bootstrap everything is fine.
@import "bootstrap.css"; //Precompiled Bootstrap
@import "nifty/nifty.less"; //My theme
However, If I will compile the bootstrap less variant, some colors are other then expected:
@import "bootstrap/bootstrap.less"; //Same Version as above, but not precompiled
@import "nifty/nifty.less"; //My theme
What is the difference. How should I compile bootstrap, to have the exact same result as the precompiled variant in the dist
folder in terms of colors?
I need this, because I need to compile my template together with Kendo UI and my template provides not every theme variable I need for Kendo UI Bootstrap Mapper.
This is my gulp task:
gulp.task('theme',
function () {
return gulp.src('./Content/less/theme.less')
.pipe(plumber())
.pipe(less({
paths: [path.join(__dirname, 'less', 'includes')]
}))
.pipe(gulp.dest('./Content/theme'));
});
There are a few possible issues here: