I wanted to outline a potential system for organizing Sass declarations. Since Alphabetization has also been a hot topic (of which I am in favor), it outlines how things such as nesting, @extend
, @include
, and comments would all fall into the same system. This is by no means a perfect system - but after using Sass for a variety of different things, this is the organization I've found that can deal most easily with edge cases.
Please feel free to critique / edit / etc.
- Module label - Succinct top-level label for the section of code (if applicable)
- Selector