GithubHelp home page GithubHelp logo

andysolomon / sassysass Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ryanburgess/sassysass

0.0 2.0 0.0 225 KB

Sassy Sass is a scaffolding tool to help you organize your project’s Sass structure

Home Page: http://sassysass.com

CSS 73.37% JavaScript 26.63%

sassysass's Introduction

Sassy Sass

npm version

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.

SassySass in the terminal

Install

npm install sassysass -g

Use

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'.

SassySass Architecture

  1. Utils The utils directory contains Sass partials like:
  • Vendor dependancies (Compass, Foundation)
  • Authored dependancies (Mixins, Extends)
  1. Base

The base directory contains Sass partials like:

  • Variables
  • Fonts
  • Reset
  1. Layout

The layout directory contains Sass partials like:

  • Responsive Grid
  • Page specific layouts
  1. Modules

The modules directory contains Sass partials like:

  • Header
  • Footer
  • Navigation
  • Content Block
  1. Themes

The themes directory contains Sass partials that overwrite the styles in layout or modules.

Release History

  • 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.

To Do

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

MIT © Ryan Burgess

sassysass's People

Contributors

ryanburgess avatar w4ilun avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.