Template for simple HTML/SASS builds
- Install Node.js (https://www.npmjs.com/get-npm)
- SASS with preset mixin libraries
- Susy2 Framework
- Mappy Breakpoints
- Autoprefixer
- Linting
- BrowserSync
-
Run the command
npm installat the root of the project to install all project dependencies. -
Run the command
npm run startto initiate the project and have browsersync watch your files for you. -
Generate Favicons and replace the Favicons section in the header of the file
build/index.htmlwith the generated code. Don't forget to also add the icons to the project. -
Setup OG tags for social sharing and replace the Favicons section in the header of the file
build/index.htmlwith the generated code. Don't forget to also add the image to the project. -
Build your HTML structure in the file
build/index.html. -
Add custom fonts to the file
src/scss/common/_fonts.scss. -
Update the file
src/scss/common/_variables.scss
- Choose color names and choose semantic colors for the areas on the site.
- Set the default fonts.
-
Update the file
src/scss/common/_scaffolding.scssto override the default html tag styles. -
Add the styling for your HTML content in the files
src/scss/layouts/_header.scss,src/scss/layouts/_content.scssandsrc/scss/layouts/_footer.scss.