Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.11 KB

README.md

File metadata and controls

38 lines (30 loc) · 1.11 KB

bootswatch-extension

Extends Angular 2 Starter with Bootswatch specific tasks

npm version

Getting started

  1. Install Bootswatch and the starter extension
npm install bootswatch @ngstarter/bootswatch-extension --save
  1. 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);
  1. 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';
  1. Try it out, it's ready!
gulp set-theme --name=darkly

Credits

Bootswatch for providing nice themes!

License

MIT