Sassy Sass is a scaffolding tool to help you organize your project’s Sass structure.
With a simple command, add a well-structured architecture for your project's CSS. Based off the SMACSS methodology, SassySass creates a simple, maintainable structure for your Sass files.
npm install sassysass -g
Run sassysass
in your project directory.
To create new individual Sass files run sassysass-page
. If the name isn't set the file will be named 'page' and if the path isn't set it assumes the directory is 'sass'.
To create new Sass module run sassysass-module
. If the name isn't set the file will be named 'module' and if the path isn't set it assumes the directory is 'sass/modules'.
- Utils The utils directory contains Sass partials like:
- Vendor dependancies (Compass, Foundation)
- Authored dependancies (Mixins, Extends)
- Base
The base directory contains Sass partials like:
- Variables
- Fonts
- Reset
- Layout
The layout directory contains Sass partials like:
- Responsive Grid
- Page specific layouts
- Modules
The modules directory contains Sass partials like:
- Header
- Footer
- Navigation
- Content Block
- Themes
The themes directory contains Sass partials that overwrite the styles in layout or modules.
- 1.0.9: Issue 8 Update translate mixin to use a axis variable.
- 1.0.8: Issue 2 add import reference to root SCSS files when creating a new module.
- 1.0.7: Add modules to a page when creating the page SCSS file.
- 1.0.6: add description question for creating a module.
- 1.0.5: Issue 1 - prevent overwriting files.
- 1.0.4: Pull 4 - added some "sass" to the prompts.
- 1.0.3: Issue 3 - add prompts for setting up modules and pages.
- 1.0.2: Add animated terminal gif to demonstrate SassySass in use.
- 1.0.1: Update documentation.
- 1.0.0: Initial release.
- Write unit tests (Issue #7)
- Create a logo
- Create a new design for SassySass.com(Issue #6)
- Possibily add PostCSS / CSSnext (Issue #8)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
MIT © Ryan Burgess