Skip to content

Commit

Permalink
Merge branch 'hotfix' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Harvey committed Jun 21, 2015
2 parents 717634e + 26375d8 commit 6192f3a
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 76 deletions.
70 changes: 0 additions & 70 deletions lessc-each.js

This file was deleted.

13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
{
"name": "xmeter",
"version": "2.1.0",
"version": "2.1.1",
"description": "A default stylesheet with a set of tools that make designing with vertical rhythm easy.",
"main": "xmeter.css",
"dependencies": {
"normalize.css": "~3.0.3"
},
"devDependencies": {
"less": "~2.5.1"
"less": "~2.5.1",
"lessc-each": "~1.0.1"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lessc" : "lessc",
"lessc:main" : "lessc xmeter.less xmeter.css",
"lessc:each" : "cd ~/repositories/xmeter/src/; node ../lessc-each.js ./ ../out/",
"lessc:all" : "npm run lessc:each; npm run lessc:main"
"lessc": "lessc",
"lessc:main": "lessc xmeter.less xmeter.css",
"lessc:each": "lessc-each ./src/ ./out/",
"lessc:all": "npm run lessc:each ; npm run lessc:main"
},
"repository": {
"type": "git",
Expand Down
39 changes: 39 additions & 0 deletions src/__settings.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
}
.CONSTS() {
// fractional percentages used for anything, usually widths
// FIXME // DEPRECATED // remove in v3.0.0
@x_1o1: (100% * (1/1)); @x_1o9: (100% * (1/9));
@x_2o9: (100% * (2/9));
@x_1o2: (100% * (1/2)); @x_3o9: (100% * (3/9));
Expand Down Expand Up @@ -48,5 +49,43 @@
@x_6o8: (100% * (6/8)); @x_12o12: (100% * (12/12));
@x_7o8: (100% * (7/8));
@x_8o8: (100% * (8/8));


// CHANGED
@1o1: (100% * (1/1)); @1o9: (100% * (1/9));
@2o9: (100% * (2/9));
@1o2: (100% * (1/2)); @3o9: (100% * (3/9));
@2o2: (100% * (2/2)); @4o9: (100% * (4/9));
@5o9: (100% * (5/9));
@1o3: (100% * (1/3)); @6o9: (100% * (6/9));
@2o3: (100% * (2/3)); @7o9: (100% * (7/9));
@3o3: (100% * (3/3)); @8o9: (100% * (8/9));
@9o9: (100% * (9/9));
@1o4: (100% * (1/4));
@2o4: (100% * (2/4)); @1o10: (100% * ( 1/10));
@3o4: (100% * (3/4)); @2o10: (100% * ( 2/10));
@4o4: (100% * (4/4)); @3o10: (100% * ( 3/10));
@4o10: (100% * ( 4/10));
@1o5: (100% * (1/5)); @5o10: (100% * ( 5/10));
@2o5: (100% * (2/5)); @6o10: (100% * ( 6/10));
@3o5: (100% * (3/5)); @7o10: (100% * ( 7/10));
@4o5: (100% * (4/5)); @8o10: (100% * ( 8/10));
@5o5: (100% * (5/5)); @9o10: (100% * ( 9/10));
@10o10: (100% * (10/10));
@1o6: (100% * (1/6));
@2o6: (100% * (2/6)); @1o12: (100% * ( 1/12));
@3o6: (100% * (3/6)); @2o12: (100% * ( 2/12));
@4o6: (100% * (4/6)); @3o12: (100% * ( 3/12));
@5o6: (100% * (5/6)); @4o12: (100% * ( 4/12));
@6o6: (100% * (6/6)); @5o12: (100% * ( 5/12));
@6o12: (100% * ( 6/12));
@1o8: (100% * (1/8)); @7o12: (100% * ( 7/12));
@2o8: (100% * (2/8)); @8o12: (100% * ( 8/12));
@3o8: (100% * (3/8)); @9o12: (100% * ( 9/12));
@4o8: (100% * (4/8)); @10o12: (100% * (10/12));
@5o8: (100% * (5/8)); @11o12: (100% * (11/12));
@6o8: (100% * (6/8)); @12o12: (100% * (12/12));
@7o8: (100% * (7/8));
@8o8: (100% * (8/8));
}
}

0 comments on commit 6192f3a

Please sign in to comment.