You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
712 B

@use '../core/tokens/m2-utils';
@use '../core/tokens/m3-utils';
@use 'sass:map';
@function get-tokens($theme) {
@return (
base: (
progress-spinner-active-indicator-width: 4px,
progress-spinner-size: 48px,
),
color: private-get-color-palette-color-tokens($theme, primary),
typography: (),
density: (),
);
}
// Tokens that can be configured through Angular Material's color theming API.
@function private-get-color-palette-color-tokens($theme, $color-variant) {
$system: m2-utils.get-system($theme);
$system: m3-utils.replace-colors-with-variant($system, primary, $color-variant);
@return (
progress-spinner-active-indicator-color: map.get($system, primary)
);
}