fix(menu): do not override --ion-color-base

This commit is contained in:
Manu Mtz.-Almeida
2018-08-24 03:39:04 +02:00
parent 5f90dbfa6f
commit a8908283c4
4 changed files with 3 additions and 9 deletions

View File

@ -5,7 +5,7 @@
// --------------------------------------------------
:host {
--ion-color-base: #{ion-color(primary, base)};
color: #{ion-color(primary, base)};
}
button {

View File

@ -4,10 +4,6 @@
// MD Menu Button
// --------------------------------------------------
:host {
--ion-color-base: currentColor;
}
button {
@include padding(0, 8px);
}

View File

@ -6,8 +6,6 @@
:host {
pointer-events: all;
color: #{current-color(base)};
text-align: center;
text-decoration: none;
text-overflow: ellipsis;

View File

@ -261,7 +261,7 @@ export class Select {
let selectInterface = this.interface;
if ((selectInterface === 'action-sheet' || selectInterface === 'popover') && this.multiple) {
console.warn('Select interface cannot be "' + selectInterface + '" with a multi-value select. Using the "alert" interface instead.');
console.warn(`Select interface cannot be "${selectInterface}" with a multi-value select. Using the "alert" interface instead.`);
selectInterface = 'alert';
}