@ngstarter/bootswatch-extension
v1.0.0-rc.10
Published
Extends Angular 2 Starter with Bootswatch tasks
Downloads
1
Maintainers
Readme
bootswatch-extension
Extends Angular 2 Starter with Bootswatch specific tasks
Getting started
- Install Bootswatch and the starter extension
npm install bootswatch @ngstarter/bootswatch-extension --save
- Then require it somewhere in your Angular 2 Starter tasks
// Load gulp config
var config = require('../config')();
// Load extension with config
require('@ngstarter/bootswatch-extension')(config);
- Change your starter
bootstrap.scss
to something like
@import '../../../node_modules/bootswatch/paper/variables';
@import 'bootstrap.variables';
@import '../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap';
@import '../../../node_modules/bootswatch/paper/bootswatch';
- Try it out, it's ready!
gulp set-theme --name=darkly
Credits
Bootswatch for providing nice themes!
License
MIT