Skip to content

Commit

Permalink
[refs #204] Remove rem-function and -mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Heibült committed Oct 21, 2016
1 parent 126bebe commit ca51f27
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 89 deletions.
4 changes: 2 additions & 2 deletions components/_example.components.buttons.scss
Expand Up @@ -98,11 +98,11 @@
========================================================================== */

.c-btn--small {
padding: inuit-rem($inuit-global-spacing-unit-tiny) inuit-rem($inuit-global-spacing-unit-small);
padding: $inuit-global-spacing-unit-tiny $inuit-global-spacing-unit-small;
}

.c-btn--large {
padding: inuit-rem($inuit-global-spacing-unit) inuit-rem($inuit-global-spacing-unit-large);
padding: $inuit-global-spacing-unit $inuit-global-spacing-unit-large;
}


Expand Down
3 changes: 0 additions & 3 deletions example.main.scss
Expand Up @@ -23,8 +23,6 @@
* Global...............Project-wide variables and settings.
*
* TOOLS
* Rem..................Tools for converting pixel inputs into their rem
* equivalents.
* Font-size............A mixin which guarantees baseline-friendly line-heights.
* Clearfix.............Micro clearfix mixin.
* Hidden...............Mixin for hiding elements.
Expand Down Expand Up @@ -84,7 +82,6 @@


// TOOLS
@import "tools/tools.rem";
@import "tools/tools.font-size";
@import "tools/tools.clearfix";
@import "tools/tools.hidden";
Expand Down
4 changes: 2 additions & 2 deletions generic/_generic.shared.scss
Expand Up @@ -21,7 +21,7 @@ figure,
hr,
table,
fieldset {
@include inuit-rem(margin-bottom, $inuit-global-spacing-unit);
margin-bottom: $inuit-global-spacing-unit;
}


Expand All @@ -30,7 +30,7 @@ fieldset {
*/

dd, ol, ul {
@include inuit-rem(margin-left, $inuit-global-spacing-unit);
margin-left: $inuit-global-spacing-unit;
}

/* stylelint-enable selector-list-comma-newline-after */
33 changes: 0 additions & 33 deletions test/_tools.rem.scss

This file was deleted.

1 change: 0 additions & 1 deletion test/tests.scss
Expand Up @@ -9,7 +9,6 @@
@import 'true';

@import '_tools.font-size.scss';
@import '_tools.rem.scss';
@import '_utilities.widths.scss';

@include report();
48 changes: 0 additions & 48 deletions tools/_tools.rem.scss

This file was deleted.

0 comments on commit ca51f27

Please sign in to comment.