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
918 B

@use 'sass:map';
@use '../core/tokens/m3-utils';
@use '../core/tokens/m3';
/// Generates custom tokens for the mat-bottom-sheet.
@function get-tokens($theme: m3.$sys-theme) {
$system: m3-utils.get-system($theme);
@return (
base: (
bottom-sheet-container-shape: 28px,
),
color: (
bottom-sheet-container-text-color: map.get($system, on-surface),
bottom-sheet-container-background-color: map.get($system, surface-container-low),
),
typography: (
bottom-sheet-container-text-font: map.get($system, body-large-font),
bottom-sheet-container-text-line-height: map.get($system, body-large-line-height),
bottom-sheet-container-text-size: map.get($system, body-large-size),
bottom-sheet-container-text-tracking: map.get($system, body-large-tracking),
bottom-sheet-container-text-weight: map.get($system, body-large-weight),
),
density: (),
);
}