fix(note): do not overide --ion-color-base

This commit is contained in:
Manu Mtz.-Almeida
2018-08-24 03:35:12 +02:00
parent d12ef78de6
commit 5f90dbfa6f
4 changed files with 8 additions and 6 deletions

View File

@ -5,5 +5,5 @@
// --------------------------------------------------
:host {
--ion-color-base: #{$note-ios-color};
--color: #{$note-ios-color};
}

View File

@ -5,5 +5,5 @@
// --------------------------------------------------
:host {
--ion-color-base: #{$note-md-color};
--color: #{$note-md-color};
}

View File

@ -4,7 +4,11 @@
// --------------------------------------------------
:host {
color: #{current-color(base)};
color: var(--color);
font-family: $font-family-base;
}
:host(.ion-color) {
color: #{current-color(base)};
}

View File

@ -27,9 +27,7 @@ export class Note {
hostData() {
return {
class: {
...createColorClasses(this.color)
}
class: createColorClasses(this.color)
};
}