File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
projects/igniteui-angular/src/lib/core/styles/components/snackbar Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 4242 }
4343
4444 $theme : digest-schema ($snackbar-schema );
45- $meta : map .get ($theme , ' _meta' );
4645
4746 @if not ($button-color ) and $background {
48- $button-color : text -contrast ($ background );
47+ $button-color : adaptive -contrast (var ( -- background) );
4948 }
5049
5150 @if not ($text-color ) and $background {
52- $text-color : text -contrast ($ background );
51+ $text-color : adaptive -contrast (var ( -- background) );
5352 }
5453
5554 @if not ($shadow ) {
6463 text- color: $text-color ,
6564 button- color: $button-color ,
6665 shadow : $shadow ,
67- theme: map .get ($schema , ' _meta' , ' theme' ),
68- _meta: map .merge (if ($meta , $meta , ()), (
69- variant : map .get ($schema , ' _meta' , ' theme' )
70- )),
7166 ));
7267}
7368
7873 @include css-vars ($theme );
7974 @include fade-in ();
8075
81- $variant : map .get ($theme , ' _meta' , ' variant ' );
76+ $variant : map .get ($theme , ' _meta' , ' theme ' );
8277
8378 $snackbar-min-height : rem (48px );
8479 $snackbar-padding : rem (7px ) rem (24px );
You can’t perform that action at this time.
0 commit comments