Web styling assets for Learners Guild projects.
$ npm install --save @learnersguild/styles
Then, in your SASS/SCSS:
@import "~@learnersguild/styles/src/base";
If you're using Materialize, add custom colors with the src/materialize-mod.scss
.
@import "~@learnersguild/styles/src/materialize-mod";
// Import Materialize SASS afterwards
Make sure that you also add Materialize's dependencies (e.g. Google fonts and JS files). See their Getting Started guide for info.
SCSS source files are in src/
. Compiled CSS is built into dist/
.
Use npm run build
to compile files in src/
to dist/
.