Skip to content
This repository was archived by the owner on Dec 11, 2021. It is now read-only.

Commit 6218462

Browse files
committed
Build: Add csscomb to cleanup sass output
This also fixes the issue with libsass missing the new line at EOF Closes gh-50
1 parent 252a28d commit 6218462

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

.csscomb.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"remove-empty-rulesets": true,
3+
"always-semicolon": true,
4+
"color-case": "lower",
5+
"block-indent": "\t",
6+
"color-shorthand": true,
7+
"element-case": "lower",
8+
"eof-newline": true,
9+
"leading-zero": false,
10+
"quotes": "double",
11+
"sort-order-fallback": "abc",
12+
"space-before-colon": "",
13+
"space-after-colon": " ",
14+
"space-before-combinator": " ",
15+
"space-after-combinator": " ",
16+
"space-between-declarations": "\n",
17+
"space-before-opening-brace": " ",
18+
"space-after-opening-brace": "\n",
19+
"space-after-selector-delimiter": "\n",
20+
"space-before-selector-delimiter": "",
21+
"space-before-closing-brace": "\n",
22+
"strip-spaces": true,
23+
"unitless-zero": true
24+
}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"grunt-contrib-jshint": "0.10.0",
5656
"grunt-contrib-connect": "0.9.0",
5757
"grunt-contrib-watch": "0.6.1",
58+
"grunt-csscomb": "3.0.0",
5859
"grunt-git-authors": "2.0.0",
5960
"grunt-html": "1.6.0",
6061
"grunt-jscs": "0.6.2",

scss/atoms/typography/_variables.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
// For example, normal: 400;
77
$normal: normal;
88
$bold: bold;
9-
10-
$root-font:(
9+
$root-font: (
1110
color: #222,
1211
font-size: 20px,
1312
line-height: 1.5

0 commit comments

Comments
 (0)