Permalink
Browse files

more refactor

  • Loading branch information...
alexwolfe committed Sep 13, 2014
1 parent 0097fa4 commit 6f31bf59b385ff488e3f7be2f0454cc031e06310
Showing with 9 additions and 7 deletions.
  1. +1 −1 config.rb
  2. +8 −6 scss/types/_sizes.scss
View
@@ -4,7 +4,7 @@
http_path = "/"
css_dir = "css"
sass_dir = "scss"
images_dir = "img"
images_dir = "images"
javascripts_dir = "js"
# You can select your preferred output style here (can be overridden via the command line):
View
@@ -4,13 +4,15 @@
* This file creates the various button sizes
* (ex. .button-large, .button-small, etc.)
*/
@each $ubtn-size, $ubtn-multiplier in $ubtn-sizes {
$ubtn-size-namespace: #{$ubtn-namespace}-#{$ubtn-size};
@each $ubtn-size in $ubtn-sizes {
$ubtn-size-name: nth($ubtn-size, 1);
$ubtn-size-multiplier: nth($ubtn-size, 2);
$ubtn-size-namespace: #{$ubtn-namespace}-#{$ubtn-size-name};
#{$ubtn-size-namespace} {
font-size: $ubtn-font-size * $ubtn-multiplier;
height: $ubtn-height * $ubtn-multiplier;
line-height: $ubtn-height * $ubtn-multiplier;
padding: 0px ($ubtn-height * $ubtn-multiplier);
font-size: $ubtn-font-size * $ubtn-size-multiplier;
height: $ubtn-height * $ubtn-size-multiplier;
line-height: $ubtn-height * $ubtn-size-multiplier;
padding: 0px ($ubtn-height * $ubtn-size-multiplier);
}
}

0 comments on commit 6f31bf5

Please sign in to comment.