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.
 
 
 
 
 

21 lines
439 B

@use 'sass:map';
@use '../core/tokens/m3-utils';
@use '../core/tokens/m3';
/// Generates custom tokens for the mat-icon.
@function get-tokens($theme: m3.$sys-theme, $color-variant: null) {
$system: m3-utils.get-system($theme);
$color: inherit;
@if $color-variant {
$color: map.get($system, $color-variant);
}
@return (
base: (),
color: (
icon-color: $color,
),
typography: (),
density: (),
);
}