fix(icon): set ion-icon colors per mode

This commit is contained in:
Adam Bradley
2016-01-06 22:09:30 -06:00
parent 5e4220ae1e
commit e5aeff828d
3 changed files with 5 additions and 3 deletions

View File

@@ -35,7 +35,8 @@ hr {
strong,
em,
sub,
sup {
sup,
ion-icon {
&[#{$color-name}] {
color: $color-value !important;
}

View File

@@ -30,7 +30,8 @@ hr {
strong,
em,
sub,
sup {
sup,
ion-icon {
&[#{$color-name}] {
color: $color-value !important;
}

View File

@@ -70,7 +70,7 @@ export class Icon {
// deprecated warning
console.warn('<icon> has been renamed to <ion-icon>');
console.warn('<ion-icon> requires the "name" attribute w/ a value');
console.warn('<ion home></icon> should now be <ion-icon name="home"></ion-icon>');
console.warn('<icon home></icon> should now be <ion-icon name="home"></ion-icon>');
}
}