File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
@use ' @angular/cdk' ;
2
2
@use ' ../core/tokens/token-utils' ;
3
3
@use ' ../core/tokens/m2/mat/toolbar' as tokens-mat-toolbar ;
4
+ @use ' ../core/tokens/m2/mdc/icon-button' as tokens-mdc-icon-button ;
4
5
@use ' ../core/tokens/m2/mdc/text-button' as tokens-mdc-text-button ;
5
6
@use ' ../core/tokens/m2/mdc/outlined-button' as tokens-mdc-outlined-button ;
6
7
@use ' ../core/style/variables' ;
@@ -69,6 +70,13 @@ $height-mobile-portrait: 56px !default;
69
70
$token : token-utils .get-token-variable-name (label-text-color );
70
71
#{$token } : #{$color-token } ;
71
72
}
73
+
74
+ @include token-utils .use-tokens (
75
+ tokens-mdc-icon-button .$prefix , tokens-mdc-icon-button .get-token-slots ()) {
76
+ // Update icon button color to match label text color for consistency while overriding.
77
+ $token : token-utils .get-token-variable-name (icon-color );
78
+ #{$token } : #{$color-token } ;
79
+ }
72
80
}
73
81
}
74
82
You can’t perform that action at this time.
0 commit comments