@@ -63,63 +63,68 @@ $mat-button-state-target: '.mdc-button__ripple';
63
63
64
64
.mat-mdc-button , .mat-mdc-outlined-button {
65
65
& .mat-unthemed {
66
- @include mdc-button-ink-color (mdc-helpers .$mdc-theme-on-surface , $query : mdc-helpers .$mat-theme-styles-query );
66
+ @include mdc-button-ink-color (mdc-helpers .$mdc-theme-on-surface ,
67
+ $query : mdc-helpers .$mat-theme-styles-query );
67
68
}
68
69
69
70
& .mat-primary {
70
71
@include mdc-button-ink-color (primary, $query : mdc-helpers .$mat-theme-styles-query );
71
- @include mdc-states-base-color (
72
- primary, $query : mdc-helpers . $mat-theme-styles-query , $ripple-target : $mat-button-state-target );
72
+ @include mdc-states-base-color (primary, $query : mdc-helpers . $mat-theme-styles-query ,
73
+ $ripple-target : $mat-button-state-target );
73
74
@include _mat-button-ripple-ink-color (primary);
74
75
}
75
76
76
77
& .mat-accent {
77
78
@include mdc-button-ink-color (secondary, $query : mdc-helpers .$mat-theme-styles-query );
78
- @include mdc-states-base-color (
79
- secondary, $query : mdc-helpers . $mat-theme-styles-query , $ripple-target : $mat-button-state-target );
79
+ @include mdc-states-base-color (secondary, $query : mdc-helpers . $mat-theme-styles-query ,
80
+ $ripple-target : $mat-button-state-target );
80
81
@include _mat-button-ripple-ink-color (secondary);
81
82
}
82
83
83
84
& .mat-warn {
84
85
@include mdc-button-ink-color (error, $query : mdc-helpers .$mat-theme-styles-query );
85
- @include mdc-states-base-color (
86
- error, $query : mdc-helpers . $mat-theme-styles-query , $ripple-target : $mat-button-state-target );
86
+ @include mdc-states-base-color (error, $query : mdc-helpers . $mat-theme-styles-query ,
87
+ $ripple-target : $mat-button-state-target );
87
88
@include _mat-button-ripple-ink-color (error);
88
89
}
89
90
}
90
91
91
92
.mat-mdc-raised-button ,
92
93
.mat-mdc-unelevated-button {
93
94
& .mat-unthemed {
94
- @include mdc-button-container-fill-color (
95
- mdc-helpers .$mdc-theme-surface , $query : mdc-helpers .$mat-theme-styles-query );
96
- @include mdc-button-ink-color (mdc-helpers .$mdc-theme-on-surface , $query : mdc-helpers .$mat-theme-styles-query );
95
+ @include mdc-button-container-fill-color (mdc-helpers .$mdc-theme-surface ,
96
+ $query : mdc-helpers .$mat-theme-styles-query );
97
+ @include mdc-button-ink-color (mdc-helpers .$mdc-theme-on-surface ,
98
+ $query : mdc-helpers .$mat-theme-styles-query );
97
99
@include mdc-states-base-color (
98
100
mdc-helpers .$mdc-theme-on-surface , $query : mdc-helpers .$mat-theme-styles-query ,
99
101
$ripple-target : $mat-button-state-target );
100
102
}
101
103
102
104
& .mat-primary {
103
- @include mdc-button-container-fill-color (primary, $query : mdc-helpers .$mat-theme-styles-query );
105
+ @include mdc-button-container-fill-color (primary,
106
+ $query : mdc-helpers .$mat-theme-styles-query );
104
107
@include mdc-button-ink-color (on- primary, $query : mdc-helpers .$mat-theme-styles-query );
105
- @include mdc-states-base-color (
106
- on - primary, $query : mdc-helpers . $mat-theme-styles-query , $ripple-target : $mat-button-state-target );
108
+ @include mdc-states-base-color (on - primary, $query : mdc-helpers . $mat-theme-styles-query ,
109
+ $ripple-target : $mat-button-state-target );
107
110
@include _mat-button-ripple-ink-color (on- primary);
108
111
}
109
112
110
113
& .mat-accent {
111
- @include mdc-button-container-fill-color (secondary, $query : mdc-helpers .$mat-theme-styles-query );
114
+ @include mdc-button-container-fill-color (secondary,
115
+ $query : mdc-helpers .$mat-theme-styles-query );
112
116
@include mdc-button-ink-color (on- secondary, $query : mdc-helpers .$mat-theme-styles-query );
113
- @include mdc-states-base-color (
114
- on - secondary, $query : mdc-helpers . $mat-theme-styles-query , $ripple-target : $mat-button-state-target );
117
+ @include mdc-states-base-color (on - secondary, $query : mdc-helpers . $mat-theme-styles-query ,
118
+ $ripple-target : $mat-button-state-target );
115
119
@include _mat-button-ripple-ink-color (on- secondary);
116
120
}
117
121
118
122
& .mat-warn {
119
- @include mdc-button-container-fill-color (error, $query : mdc-helpers .$mat-theme-styles-query );
123
+ @include mdc-button-container-fill-color (error,
124
+ $query : mdc-helpers .$mat-theme-styles-query );
120
125
@include mdc-button-ink-color (on- error, $query : mdc-helpers .$mat-theme-styles-query );
121
- @include mdc-states-base-color (
122
- on - error, $query : mdc-helpers . $mat-theme-styles-query , $ripple-target : $mat-button-state-target );
126
+ @include mdc-states-base-color (on - error, $query : mdc-helpers . $mat-theme-styles-query ,
127
+ $ripple-target : $mat-button-state-target );
123
128
@include _mat-button-ripple-ink-color (on- error);
124
129
}
125
130
@@ -130,7 +135,8 @@ $mat-button-state-target: '.mdc-button__ripple';
130
135
131
136
.mat-mdc-outlined-button {
132
137
& .mat-unthemed {
133
- @include mdc-button-outline-color (mdc-helpers .$mdc-theme-on-surface , $query : mdc-helpers .$mat-theme-styles-query );
138
+ @include mdc-button-outline-color (mdc-helpers .$mdc-theme-on-surface ,
139
+ $query : mdc-helpers .$mat-theme-styles-query );
134
140
}
135
141
136
142
& .mat-primary {
@@ -214,29 +220,33 @@ $mat-button-state-target: '.mdc-button__ripple';
214
220
@include mdc-states-base-color (
215
221
mdc-helpers .$mdc-theme-on-surface , $query : mdc-helpers .$mat-theme-styles-query ,
216
222
$ripple-target : $mat-button-state-target );
217
- @include mdc-fab-container-color (mdc-helpers .$mdc-theme-surface , $query : mdc-helpers .$mat-theme-styles-query );
218
- @include mdc-fab-ink-color (mdc-helpers .$mdc-theme-on-surface , $query : mdc-helpers .$mat-theme-styles-query );
223
+ @include mdc-fab-container-color (mdc-helpers .$mdc-theme-surface ,
224
+ $query : mdc-helpers .$mat-theme-styles-query );
225
+ @include mdc-fab-ink-color (mdc-helpers .$mdc-theme-on-surface ,
226
+ $query : mdc-helpers .$mat-theme-styles-query );
219
227
}
220
228
221
229
& .mat-primary {
222
230
@include mdc-states-base-color (
223
- on- primary, $query : mdc-helpers .$mat-theme-styles-query , $ripple-target : $mat-button-state-target );
231
+ on- primary, $query : mdc-helpers .$mat-theme-styles-query ,
232
+ $ripple-target : $mat-button-state-target );
224
233
@include mdc-fab-container-color (primary, $query : mdc-helpers .$mat-theme-styles-query );
225
234
@include mdc-fab-ink-color (on- primary, $query : mdc-helpers .$mat-theme-styles-query );
226
235
@include _mat-button-ripple-ink-color (on- primary);
227
236
}
228
237
229
238
& .mat-accent {
230
- @include mdc-states-base-color (
231
- on - secondary, $query : mdc-helpers . $mat-theme-styles-query , $ripple-target : $mat-button-state-target );
239
+ @include mdc-states-base-color (on - secondary, $query : mdc-helpers . $mat-theme-styles-query ,
240
+ $ripple-target : $mat-button-state-target );
232
241
@include mdc-fab-container-color (secondary, $query : mdc-helpers .$mat-theme-styles-query );
233
242
@include mdc-fab-ink-color (on- secondary, $query : mdc-helpers .$mat-theme-styles-query );
234
243
@include _mat-button-ripple-ink-color (on- secondary);
235
244
}
236
245
237
246
& .mat-warn {
238
247
@include mdc-states-base-color (
239
- on- error, $query : mdc-helpers .$mat-theme-styles-query , $ripple-target : $mat-button-state-target );
248
+ on- error, $query : mdc-helpers .$mat-theme-styles-query ,
249
+ $ripple-target : $mat-button-state-target );
240
250
@include mdc-fab-container-color (error, $query : mdc-helpers .$mat-theme-styles-query );
241
251
@include mdc-fab-ink-color (on- error, $query : mdc-helpers .$mat-theme-styles-query );
242
252
@include _mat-button-ripple-ink-color (on- error);
@@ -290,29 +300,30 @@ $mat-button-state-target: '.mdc-button__ripple';
290
300
$query : mdc-helpers .$mat-theme-styles-query , $ripple-target : $mat-button-state-target );
291
301
292
302
& .mat-unthemed {
293
- @include mdc-states-base-color (
294
- mdc-helpers .$mdc -theme-on-surface , $query : mdc-helpers . $mat-theme-styles-query ,
295
- $ripple-target : $mat -button-state-target );
296
- @include mdc-icon-button-ink-color ( mdc-helpers . $mdc-theme-on-surface , $query : mdc-helpers .$mat-theme-styles-query );
303
+ @include mdc-states-base-color (mdc-helpers . $mdc-theme-on-surface ,
304
+ $query : mdc-helpers .$mat -theme-styles-query , $ripple-target : $mat-button-state-target );
305
+ @include mdc-icon -button-ink-color ( mdc-helpers . $mdc-theme-on-surface ,
306
+ $query : mdc-helpers .$mat-theme-styles-query );
297
307
}
298
308
299
309
& .mat-primary {
300
310
@include mdc-states-base-color (
301
- primary, $query : mdc-helpers .$mat-theme-styles-query , $ripple-target : $mat-button-state-target );
311
+ primary, $query : mdc-helpers .$mat-theme-styles-query ,
312
+ $ripple-target : $mat-button-state-target );
302
313
@include mdc-icon-button-ink-color (primary, $query : mdc-helpers .$mat-theme-styles-query );
303
314
@include _mat-button-ripple-ink-color (primary);
304
315
}
305
316
306
317
& .mat-accent {
307
- @include mdc-states-base-color (
308
- secondary, $query : mdc-helpers . $mat-theme-styles-query , $ripple-target : $mat-button-state-target );
318
+ @include mdc-states-base-color (secondary, $query : mdc-helpers . $mat-theme-styles-query ,
319
+ $ripple-target : $mat-button-state-target );
309
320
@include mdc-icon-button-ink-color (secondary, $query : mdc-helpers .$mat-theme-styles-query );
310
321
@include _mat-button-ripple-ink-color (secondary);
311
322
}
312
323
313
324
& .mat-warn {
314
- @include mdc-states-base-color (
315
- error, $query : mdc-helpers . $mat-theme-styles-query , $ripple-target : $mat-button-state-target );
325
+ @include mdc-states-base-color (error, $query : mdc-helpers . $mat-theme-styles-query ,
326
+ $ripple-target : $mat-button-state-target );
316
327
@include mdc-icon-button-ink-color (error, $query : mdc-helpers .$mat-theme-styles-query );
317
328
@include _mat-button-ripple-ink-color (error);
318
329
}
0 commit comments