mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
fix(note): do not overide --ion-color-base
This commit is contained in:
@ -5,5 +5,5 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
--ion-color-base: #{$note-ios-color};
|
||||
--color: #{$note-ios-color};
|
||||
}
|
||||
|
@ -5,5 +5,5 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
--ion-color-base: #{$note-md-color};
|
||||
--color: #{$note-md-color};
|
||||
}
|
||||
|
@ -4,7 +4,11 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
color: #{current-color(base)};
|
||||
color: var(--color);
|
||||
|
||||
font-family: $font-family-base;
|
||||
}
|
||||
|
||||
:host(.ion-color) {
|
||||
color: #{current-color(base)};
|
||||
}
|
||||
|
@ -27,9 +27,7 @@ export class Note {
|
||||
|
||||
hostData() {
|
||||
return {
|
||||
class: {
|
||||
...createColorClasses(this.color)
|
||||
}
|
||||
class: createColorClasses(this.color)
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user