Skip to content

Commit ea76df6

Browse files
authored
fix(material/tabs): fix missing token values (#31345)
1 parent d52ede5 commit ea76df6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/material/tabs/_tabs-theme.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,24 +49,24 @@
4949
&.mat-background-primary {
5050
$tokens: m2-tabs.get-color-tokens($theme, primary);
5151
@include token-utils.create-token-values-mixed((
52-
tab-background-color: map.get($tokens, background-color),
53-
tab-foreground-color: map.get($tokens, foreground-color)
52+
tab-background-color: map.get($tokens, tab-background-color),
53+
tab-foreground-color: map.get($tokens, tab-foreground-color)
5454
));
5555
}
5656

5757
&.mat-background-accent {
5858
$tokens: m2-tabs.get-color-tokens($theme, secondary);
5959
@include token-utils.create-token-values-mixed((
60-
tab-background-color: map.get($tokens, background-color),
61-
tab-foreground-color: map.get($tokens, foreground-color),
60+
tab-background-color: map.get($tokens, tab-background-color),
61+
tab-foreground-color: map.get($tokens, tab-foreground-color),
6262
));
6363
}
6464

6565
&.mat-background-warn {
6666
$tokens: m2-tabs.get-color-tokens($theme, error);
6767
@include token-utils.create-token-values-mixed((
68-
tab-background-color: map.get($tokens, background-color),
69-
tab-foreground-color: map.get($tokens, foreground-color),
68+
tab-background-color: map.get($tokens, tab-background-color),
69+
tab-foreground-color: map.get($tokens, tab-foreground-color),
7070
));
7171
}
7272
}

0 commit comments

Comments
 (0)