File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -686,6 +686,7 @@ $mat-light-theme-background: (
686
686
disabled-button-toggle : map_get ($mat-grey , 200 ),
687
687
unselected-chip : map_get ($mat-grey , 300 ),
688
688
disabled-list-option : map_get ($mat-grey , 200 ),
689
+ tooltip : map_get ($mat-grey , 700 ),
689
690
);
690
691
691
692
// Background palette for dark themes.
@@ -704,6 +705,7 @@ $mat-dark-theme-background: (
704
705
disabled-button-toggle : black ,
705
706
unselected-chip : map_get ($mat-grey , 700 ),
706
707
disabled-list-option : black ,
708
+ tooltip : map_get ($mat-grey , 700 ),
707
709
);
708
710
709
711
// Foreground palette for light themes.
Original file line number Diff line number Diff line change @@ -12,8 +12,10 @@ $mat-tooltip-handset-vertical-padding:
12
12
($mat-tooltip-handset-target-height - $mat-tooltip-handset-font-size ) / 2 ;
13
13
14
14
@mixin mat-tooltip-theme ($theme ) {
15
+ $background : map-get ($theme , background );
16
+
15
17
.mat-tooltip {
16
- background : mat-color ($mat-grey , 700 , 0.9 );
18
+ background : mat-color ($background , tooltip , 0.9 );
17
19
}
18
20
}
19
21
You can’t perform that action at this time.
0 commit comments