File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 11@use ' @angular/cdk' ;
22@use ' ../core/tokens/token-utils' ;
33@use ' ../core/tokens/m2/mat/toolbar' as tokens-mat-toolbar ;
4+ @use ' ../core/tokens/m2/mdc/icon-button' as tokens-mdc-icon-button ;
45@use ' ../core/tokens/m2/mdc/text-button' as tokens-mdc-text-button ;
56@use ' ../core/tokens/m2/mdc/outlined-button' as tokens-mdc-outlined-button ;
67@use ' ../core/style/variables' ;
@@ -69,6 +70,13 @@ $height-mobile-portrait: 56px !default;
6970 $token : token-utils .get-token-variable-name (label-text-color );
7071 #{$token } : #{$color-token } ;
7172 }
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+ }
7280 }
7381}
7482
You can’t perform that action at this time.
0 commit comments