mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-24 14:58:36 +08:00
fix(note): separate note from item so its styles will alway be applied
this was discussed with Ben previously, fixes #9173
This commit is contained in:
24
src/components/note/note.wp.scss
Normal file
24
src/components/note/note.wp.scss
Normal file
@ -0,0 +1,24 @@
|
||||
@import "../../themes/ionic.globals.wp";
|
||||
|
||||
// Windows Note
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Text color of the note
|
||||
$note-wp-color: $input-wp-border-color !default;
|
||||
|
||||
|
||||
.note-wp {
|
||||
color: $note-wp-color;
|
||||
}
|
||||
|
||||
|
||||
// Generate Windows Note Colors
|
||||
// --------------------------------------------------
|
||||
|
||||
@each $color-name, $color-base, $color-contrast in get-colors($colors-wp) {
|
||||
|
||||
.note-wp-#{$color-name} {
|
||||
color: $color-base;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user