mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-25 03:34:29 +01:00
Alan Orth
4d79004570
We can save ~30KiB in our stylesheet by only importing font-awesome features and icons that we are actually using.
15 lines
521 B
SCSS
15 lines
521 B
SCSS
// ie9 is minimum supported by Bootstrap v4 and it doesn't support flexbox
|
|
$enable-flex: false;
|
|
$enable-grid-classes: true;
|
|
|
|
// optional: import local styles first
|
|
@import 'source/scss/main.scss';
|
|
|
|
// selectively import components we need from font-awesome
|
|
// see: node_modules/font-awesome/scss/font-awesome.scss
|
|
@import 'source/scss/font-awesome.scss';
|
|
|
|
// selectively import components we need from bootstrap
|
|
// see: node_modules/bootstrap/scss/bootstrap.scss
|
|
@import 'source/scss/bootstrap.scss';
|