Permalink
Browse files

Remove rem mixin

  • Loading branch information...
1 parent 909fc28 commit 51f4a6e992ad3630e0b95065b755ccd18a51bb7e @kylefiedler kylefiedler committed Mar 27, 2014
@@ -66,7 +66,6 @@
@import "addons/html5-input-types";
@import "addons/position";
@import "addons/prefixer";
-@import "addons/rem";
@import "addons/retina-image";
@import "addons/size";
@import "addons/timing-functions";
@@ -1,33 +0,0 @@
-@mixin rem($property, $size, $base: $em-base) {
- @if not unitless($base) {
- $base: strip-units($base);
- }
-
- $unitless_values: ();
- @each $num in $size {
- @if not unitless($num) {
- @if unit($num) == "em" {
- $num: $num * $base;
- }
-
- $num: strip-units($num);
- }
-
- $unitless_values: append($unitless_values, $num);
- }
- $size: $unitless_values;
-
- $pixel_values: ();
- $rem_values: ();
- @each $value in $size {
- $pixel_value: $value * 1px;
- $pixel_values: append($pixel_values, $pixel_value);
-
- $rem_value: ($value / $base) * 1rem;
- $rem_values: append($rem_values, $rem_value);
- }
-
- #{$property}: $pixel_values;
- #{$property}: $rem_values;
-}
-
View
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
s.name = "bourbon"
s.version = Bourbon::VERSION
s.platform = Gem::Platform::RUBY
- s.authors = ["Phil LaPier", "Chad Mazzola", "Matt Jankowski", "Nick Quaranto", "Jeremy Raines", "Mike Burns", "Andres Mejia", "Travis Haynes", "Chris Lloyd", "Gabe Berke-Williams", "J. Edward Dewyea", "Reda Lemeden"]
+ s.authors = ["Phil LaPier", "Chad Mazzola", "Matt Jankowski", "Nick Quaranto", "Jeremy Raines", "Mike Burns", "Andres Mejia", "Travis Haynes", "Chris Lloyd", "Gabe Berke-Williams", "J. Edward Dewyea", "Reda Lemeden", "Kyle Fiedler"]
s.email = ["support@thoughtbot.com"]
s.license = 'MIT'
s.homepage = "https://github.com/thoughtbot/bourbon"
View
@@ -66,7 +66,6 @@
@import "addons/html5-input-types";
@import "addons/position";
@import "addons/prefixer";
-@import "addons/rem";
@import "addons/retina-image";
@import "addons/size";
@import "addons/timing-functions";
View
@@ -1,33 +0,0 @@
-@mixin rem($property, $size, $base: $em-base) {
- @if not unitless($base) {
- $base: strip-units($base);
- }
-
- $unitless_values: ();
- @each $num in $size {
- @if not unitless($num) {
- @if unit($num) == "em" {
- $num: $num * $base;
- }
-
- $num: strip-units($num);
- }
-
- $unitless_values: append($unitless_values, $num);
- }
- $size: $unitless_values;
-
- $pixel_values: ();
- $rem_values: ();
- @each $value in $size {
- $pixel_value: $value * 1px;
- $pixel_values: append($pixel_values, $pixel_value);
-
- $rem_value: ($value / $base) * 1rem;
- $rem_values: append($rem_values, $rem_value);
- }
-
- #{$property}: $pixel_values;
- #{$property}: $rem_values;
-}
-

0 comments on commit 51f4a6e

Please sign in to comment.