/sass-base-template

A template of folder sass organization

Primary LanguageCSSMIT LicenseMIT

Sass folders and files organization

Just an example/recommendation of how to organize sass files

Here you can check out the demo

Table of Contents

  1. Base Estructure
  2. πŸ“„Index File
  3. πŸ“‚Components
  4. πŸ“„Footer
    1. πŸ“„Using SVG Images from Mixins
  5. πŸ“„Header
  6. πŸ“‚Shared
  7. πŸ“„mixins
  8. πŸ“„variables
  9. πŸ“„global
  10. πŸ“„normalize

Base Estructure

.
β”œβ”€β”€ src
  β”œβ”€β”€ SCSS
    β”œβ”€β”€ components
      β”œβ”€β”€ header.scss
      β”œβ”€β”€ footer.scss
    β”œβ”€β”€ shared
      β”œβ”€β”€ _mixins.scss
      β”œβ”€β”€ _variables.scss
      β”œβ”€β”€ global.scss
      β”œβ”€β”€ index.scss
      β”œβ”€β”€ normalize.scss

Index File

This file contains general imports of main files

@import "global/normalize.scss";
@import "global/shared.scss";
@import "components/about.scss";
@import "components/cards.scss";
.
.
.

Check the .index.scss file