|
5 | 5 | @mixin color-variant-styles($theme, $color-variant) {
|
6 | 6 | @include mat.option-color($theme, $color-variant: $color-variant);
|
7 | 7 | @include mat.progress-spinner-color($theme, $color-variant: $color-variant);
|
| 8 | + @include mat.pseudo-checkbox-color($theme, $color-variant: $color-variant); |
8 | 9 |
|
9 | 10 | &.mat-icon {
|
10 | 11 | @include mat.icon-color($theme, $color-variant: $color-variant);
|
|
47 | 48 | @include mat.datepicker-color($theme, $color-variant: $color-variant);
|
48 | 49 | }
|
49 | 50 |
|
| 51 | + &.mat-mdc-button-base { |
| 52 | + @include mat.button-color($theme, $color-variant: $color-variant); |
| 53 | + } |
| 54 | + |
| 55 | + &.mat-mdc-standard-chip { |
| 56 | + @include mat.chips-color($theme, $color-variant: $color-variant); |
| 57 | + } |
| 58 | + |
50 | 59 | .mdc-list-item__start,
|
51 | 60 | .mdc-list-item__end {
|
52 | 61 | @include mat.checkbox-color($theme, $color-variant: $color-variant);
|
|
68 | 77 | .mat-primary {
|
69 | 78 | @include color-variant-styles($theme, primary);
|
70 | 79 | }
|
| 80 | + .mat-badge { |
| 81 | + @include mat.badge-color($theme, $color-variant: primary); |
| 82 | + } |
71 | 83 |
|
72 | 84 | .mat-accent {
|
73 | 85 | @include color-variant-styles($theme, secondary);
|
74 | 86 | }
|
| 87 | + .mat-badge-accent { |
| 88 | + @include mat.badge-color($theme, $color-variant: secondary); |
| 89 | + } |
75 | 90 |
|
76 | 91 | .mat-warn {
|
77 | 92 | @include color-variant-styles($theme, error);
|
78 | 93 | }
|
| 94 | + .mat-badge-warn { |
| 95 | + @include mat.badge-color($theme, $color-variant: error); |
| 96 | + } |
79 | 97 | }
|
80 | 98 |
|
81 | 99 | // Add an indicator to make it clear that the app is styled with the experimental M3 theme.
|
|
0 commit comments