1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-19 00:52:19 +01:00

source/scss/style.scss: Import local overrides last

It seems this is actually the preferred way to do it, but something
in the Bootstrap v4 Alpha 6 release—perhaps the upgraded version of
Normalize.css with that release—caused our styles to be overridden
and now I realize that it should have never been working before!
This commit is contained in:
Alan Orth 2017-01-08 16:37:48 +02:00
parent a3bd024e29
commit 7d85c9a740

View File

@ -1,6 +1,3 @@
// optional: import local styles first
@import 'source/scss/main';
// selectively import components we need from font-awesome // selectively import components we need from font-awesome
// see: node_modules/font-awesome/scss/font-awesome.scss // see: node_modules/font-awesome/scss/font-awesome.scss
@import 'source/scss/font-awesome'; @import 'source/scss/font-awesome';
@ -8,3 +5,6 @@
// selectively import components we need from bootstrap // selectively import components we need from bootstrap
// see: node_modules/bootstrap/scss/bootstrap.scss // see: node_modules/bootstrap/scss/bootstrap.scss
@import 'source/scss/bootstrap'; @import 'source/scss/bootstrap';
// local style overrides
@import 'source/scss/main';