Sassify is a quick and easy command line tool for cleaning up SCSS files. Think of it like an HTMLTidy or JSFormat but for SCSS.
With Sassify you can cleanup individual files sassify general.scss
or an entire directory of files sassify sass/product/*.scss
Transform:
.title {
h1 {
padding: 16px 0 0 10px;
margin: 0;
color: #555;
}
p {
padding: 0 0 0 10px;
color: #777;
}
span { font-size: 13px; padding-left: 10px; font-weight: normal; }
}
into
.title {
h1 {
padding: 16px 0 0 10px;
margin: 0;
color: #555;
}
p {
padding: 0 0 0 10px;
color: #777;
}
span {
font-size: 13px;
padding-left: 10px;
font-weight: normal;
}
}