Skip to content

Commit

Permalink
update spacing specificty
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Askew committed Oct 14, 2014
1 parent 36edd45 commit 0bbc684
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "css-utils",
"version": "0.1.3",
"version": "0.1.4",
"homepage": "https://github.com/LukeAskew/css-utils",
"authors": [
"Luke Askew"
Expand Down
16 changes: 8 additions & 8 deletions lib/_spacing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,28 +76,28 @@ $steps: -4, -3, -1, 0, 1, 3, 4 !default;


.#{$selector}-0 {
#{$property}: 0;
#{$property}: 0 !important;
}
.#{$selector}-xxs {
#{$property}: modular(1em, nth($steps, 1));
#{$property}: modular(1em, nth($steps, 1)) !important;
}
.#{$selector}-xs {
#{$property}: modular(1em, nth($steps, 2));
#{$property}: modular(1em, nth($steps, 2)) !important;
}
.#{$selector}-s {
#{$property}: modular(1em, nth($steps, 3));
#{$property}: modular(1em, nth($steps, 3)) !important;
}
.#{$selector} {
#{$property}: modular(1em, nth($steps, 4));
#{$property}: modular(1em, nth($steps, 4)) !important;
}
.#{$selector}-l {
#{$property}: modular(1em, nth($steps, 5));
#{$property}: modular(1em, nth($steps, 5)) !important;
}
.#{$selector}-xl {
#{$property}: modular(1em, nth($steps, 6));
#{$property}: modular(1em, nth($steps, 6)) !important;
}
.#{$selector}-xxl {
#{$property}: modular(1em, nth($steps, 7));
#{$property}: modular(1em, nth($steps, 7)) !important;
}

}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "css-utils",
"version": "0.1.3",
"version": "0.1.4",
"description": "Object-oriented CSS utility classes for rapid website development",
"main": "utils.scss",
"scripts": {
Expand Down

0 comments on commit 0bbc684

Please sign in to comment.