File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 71
71
}
72
72
73
73
.mat-raised-button , .mat-fab , .mat-mini-fab {
74
+ // Default properties when not using any [color] value.
75
+ color : mat-color ($foreground , text );
76
+ background-color : mat-color ($background , raised-button );
77
+
74
78
@include _mat-button-theme-color ($theme , ' color' , default- contrast);
75
79
@include _mat-button-theme-color ($theme , ' background-color' );
76
- background-color : mat-color ($background , background );
77
80
}
78
81
79
82
.mat-fab , .mat-mini-fab {
Original file line number Diff line number Diff line change @@ -649,7 +649,8 @@ $mat-light-theme-background: (
649
649
hover : rgba (black , 0.04 ), // TODO(kara): check style with Material Design UX
650
650
card : white ,
651
651
dialog : white ,
652
- disabled-button : rgba (black , 0.12 )
652
+ disabled-button : rgba (black , 0.12 ),
653
+ raised-button : white ,
653
654
);
654
655
655
656
// Background palette for dark themes.
@@ -660,7 +661,8 @@ $mat-dark-theme-background: (
660
661
hover : rgba (white , 0.04 ), // TODO(kara): check style with Material Design UX
661
662
card : map_get ($mat-grey , 800 ),
662
663
dialog : map_get ($mat-grey , 800 ),
663
- disabled-button : rgba (white , 0.12 )
664
+ disabled-button : rgba (white , 0.12 ),
665
+ raised-button : map-get ($mat-grey , 800 ),
664
666
);
665
667
666
668
// Foreground palette for light themes.
You can’t perform that action at this time.
0 commit comments