Skip to content

devdiogo/smacss-sass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is a VERY simple package and it's hardcoded to create my folder/file structure for implementing the SMACSS methodology with SASS.

If you want to know more about SMACSS, the official website is the best content you will need to start.

How to use

Open your terminal, run npm i -g smacss-sass then cd into your project folder and run smacss-sass

That's it! It will create a folder called sass with the folders and files you need to start.

Files

sass

app.sass

base

_mixins.sass # general mixins
_variables.sass # variables
_fonts.sass # all font imports
_reset.sass # resets
_base.sass # base styles
_import.sass # imports the base files

layout

_layout.sass # layout
_import.sass # imports the layout files

module

... here you have only an import file waiting for you to create your own modules and import them
_import.sass # imports the module files

state

_state.sass # states
_import.sass # imports the states files

theme

_theme.sass # themes (you can delete this and create specific files for each theme if it gets really big
_import.sass # imports the theme files

About

Basic folder/structure generator for the SMACSS methodology + SASS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published