|
49 | 49 | &.mat-background-primary { |
50 | 50 | $tokens: m2-tabs.get-color-tokens($theme, primary); |
51 | 51 | @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) |
54 | 54 | )); |
55 | 55 | } |
56 | 56 |
|
57 | 57 | &.mat-background-accent { |
58 | 58 | $tokens: m2-tabs.get-color-tokens($theme, secondary); |
59 | 59 | @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), |
62 | 62 | )); |
63 | 63 | } |
64 | 64 |
|
65 | 65 | &.mat-background-warn { |
66 | 66 | $tokens: m2-tabs.get-color-tokens($theme, error); |
67 | 67 | @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), |
70 | 70 | )); |
71 | 71 | } |
72 | 72 | } |
|
0 commit comments