fix(sass): move the @at-root font import to the components file

the user will need to include this import themselves if they include
components individually

fixes #5931
This commit is contained in:
Brandy Carney
2016-04-11 13:24:56 -04:00
parent 203b07809e
commit 8f08de187d
7 changed files with 21 additions and 33 deletions

View File

@@ -30,6 +30,6 @@
"components/toolbar/toolbar.ios";
// iOS Platform
@import
"platform/cordova.ios";
// iOS Platform
@import
"platform/cordova.ios";

View File

@@ -30,6 +30,12 @@
"components/toolbar/toolbar.md";
// Material Design w/ iOS Platform
@import
"platform/cordova.md";
// Material Design w/ iOS Platform
@import
"platform/cordova.md";
// Roboto Font
@at-root {
@import "./fonts/roboto";
}

View File

@@ -30,6 +30,12 @@
"components/toolbar/toolbar.wp";
// Windows w/ iOS Platform
@import
"platform/cordova.wp";
// Windows w/ iOS Platform
@import
"platform/cordova.wp";
// Noto Sans Font
@at-root {
@import "./fonts/noto-sans";
}

View File

@@ -81,9 +81,3 @@ $toggle-md-handle-background-color-off: color($colors-md, light) !default;
font-size: $font-size-md-base;
background-color: $background-md-color;
}
// Roboto Font
@at-root {
@import "../fonts/roboto";
}

View File

@@ -80,9 +80,3 @@ $input-wp-border-color: rgba(0, 0, 0, .5) !default;
font-size: $font-size-wp-base;
background-color: $background-wp-color;
}
// Noto Sans Font
@at-root {
@import "../fonts/noto-sans";
}

View File

@@ -58,9 +58,3 @@ $item-md-padding-icon-bottom: 10px !default;
font-size: $font-size-md-base;
background-color: $background-md-color;
}
// Roboto Font
@at-root {
@import "../fonts/roboto";
}

View File

@@ -63,9 +63,3 @@ $input-wp-border-color: rgba(0, 0, 0, .5) !default;
font-size: $font-size-wp-base;
background-color: $background-wp-color;
}
// Noto Sans Font
@at-root {
@import "../fonts/noto-sans";
}