1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2025-07-24 14:37:52 +02:00

Build a custom Bootstrap

We don't use all the Bootstrap stuff, so let's just build a custom
one with the components we need. This saves about 50k.
This commit is contained in:
2016-09-21 08:29:27 +03:00
parent b1db1f9637
commit 435ba0f706
2 changed files with 58 additions and 1 deletions

View File

@ -6,4 +6,7 @@ $enable-grid-classes: true;
@import 'source/scss/main.scss';
@import 'node_modules/font-awesome/scss/font-awesome.scss';
@import 'node_modules/bootstrap/scss/bootstrap.scss';
// selectively import components we need from bootstrap
// see: node_modules/bootstrap/scss/bootstrap.scss
@import 'source/scss/bootstrap.scss';