panicbus
10/20/2016 - 6:37 PM

How to import partial files for compiling

How to import partial files for compiling

// Globals and Variables //
// Import Sass from files in the globals folder (no underscore)
@import "globals/colors";
@import "globals/typography";
@import "globals/declarations";
@import "globals/base";

// Components //
// Import Sass from the files in the components folder.
// Make sure any custom components files you add are represented here,
// otherwise the styles won't be compiled.
@import "components/grids";
@import "components/buttons";
@import "components/forms";

/* Page styles */
@import "pages/index";
@import "pages/secondary";


/// partials filename should have underscore
_buttons.scss