|
2 | 2 | @use '../core/theming/theming';
|
3 | 3 | @use '../core/theming/inspection';
|
4 | 4 | @use '../core/tokens/m2-utils';
|
| 5 | +@use '../core/tokens/m3-utils'; |
5 | 6 |
|
6 | 7 | // Tokens that can't be configured through Angular Material's current theming API,
|
7 | 8 | // but may be in a future version of the theming API.
|
|
18 | 19 | @return map.merge(private-get-color-palette-color-tokens($theme, primary), (
|
19 | 20 | stepper-container-color: map.get($system, surface),
|
20 | 21 | stepper-line-color: map.get($system, outline),
|
21 |
| - stepper-header-hover-state-layer-color: inspection.get-theme-color($theme, background, hover), |
22 |
| - stepper-header-focus-state-layer-color: inspection.get-theme-color($theme, background, hover), |
| 22 | + stepper-header-hover-state-layer-color: m3-utils.color-with-opacity( |
| 23 | + map.get($system, on-surface), map.get($system, hover-state-layer-opacity)), |
| 24 | + stepper-header-focus-state-layer-color: m3-utils.color-with-opacity( |
| 25 | + map.get($system, on-surface), map.get($system, focus-state-layer-opacity)), |
23 | 26 | stepper-header-label-text-color: map.get($system, on-surface-variant),
|
24 | 27 | stepper-header-optional-label-text-color: map.get($system, on-surface-variant),
|
25 | 28 | stepper-header-selected-state-label-text-color: map.get($system, on-surface),
|
|
0 commit comments