File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/material-experimental/mdc-chips Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 10
10
$accent : mat-color (map-get ($theme , accent ));
11
11
$warn : mat-color (map-get ($theme , warn ));
12
12
$background : map-get ($theme , background );
13
-
14
13
$unselected-background : mat-color ($background , unselected-chip );
15
14
16
15
.mat-mdc-chip {
17
- @include mdc-chip-fill-color-accessible ($unselected-background );
16
+ @include mdc-chip-fill-color-accessible ($unselected-background ,
17
+ $query : $mat-theme-styles-query );
18
18
19
19
& .mat-primary {
20
20
& .mdc-chip--selected , & .mat-mdc-chip-highlighted {
21
- @include mdc-chip-fill-color-accessible ($primary );
21
+ @include mdc-chip-fill-color-accessible ($primary , $query : $mat-theme-styles-query );
22
22
}
23
23
}
24
24
25
25
& .mat-accent {
26
26
& .mdc-chip--selected , & .mat-mdc-chip-highlighted {
27
- @include mdc-chip-fill-color-accessible ($accent );
27
+ @include mdc-chip-fill-color-accessible ($accent , $query : $mat-theme-styles-query );
28
28
}
29
29
}
30
30
31
31
& .mat-warn {
32
32
& .mdc-chip--selected , & .mat-mdc-chip-highlighted {
33
- @include mdc-chip-fill-color-accessible ($warn );
33
+ @include mdc-chip-fill-color-accessible ($warn , $query : $mat-theme-styles-query );
34
34
}
35
35
}
36
36
}
You can’t perform that action at this time.
0 commit comments