File tree Expand file tree Collapse file tree 6 files changed +33
-7
lines changed
core/src/components/toast Expand file tree Collapse file tree 6 files changed +33
-7
lines changed Original file line number Diff line number Diff line change 1- @import " ./toast.vars" ;
1+ @import " ../../themes/mixins" ;
2+ @import " ../../themes/functions.string" ;
23
34// Toast
45// --------------------------------------------------
5354
5455 color : var (--color );
5556
56- font-family : $font-family-base ;
57-
5857 contain : strict ;
59- z-index : $z-index-overlay ;
6058 pointer-events : none ;
6159}
6260
Original file line number Diff line number Diff line change 1+ @use " ../../themes/ionic/ionic.globals.scss" as globals ;
2+ @use " ./toast.common" ;
3+
4+ // Ionic Toast
5+ // --------------------------------------------------
6+
7+ :host {
8+ --background : #{globals .$ionic-color-neutral-1200 } ;
9+ --border-radius : #{globals .$ionic-border-radius-400 } ;
10+ --box-shadow : #{globals .$ionic-elevation-400 } ;
11+ --button-color : #{globals .$ionic-color-base-white } ;
12+ --color : #{globals .$ionic-color-base-white } ;
13+ --max-width : 343px ;
14+ --start : 8px ;
15+ --end : 8px ;
16+
17+ @include globals .typography (globals .$ionic-body-md-medium );
18+
19+ z-index : 1001 ;
20+ }
Original file line number Diff line number Diff line change 1- @import " ./toast" ;
1+ @import " ./toast.native " ;
22@import " ./toast.ios.vars" ;
33
44// iOS Toast
Original file line number Diff line number Diff line change 1- @import " ./toast" ;
1+ @import " ./toast.native " ;
22@import " ./toast.md.vars" ;
33
44// Material Design Toast
Original file line number Diff line number Diff line change 1+ @use " ./toast.common" ;
2+ @import " ./toast.vars" ;
3+
4+ :host {
5+ font-family : $font-family-base ;
6+
7+ z-index : $z-index-overlay ;
8+ }
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ import type {
6060 styleUrls : {
6161 ios : 'toast.ios.scss' ,
6262 md : 'toast.md.scss' ,
63- ionic : 'toast.md .scss' ,
63+ ionic : 'toast.ionic .scss' ,
6464 } ,
6565 shadow : true ,
6666} )
You can’t perform that action at this time.
0 commit comments