//
// Copyright 2023 Google LLC
// SPDX-License-Identifier: Apache-2.0
//
//
// !!! THIS FILE WAS AUTOMATICALLY GENERATED !!!
// !!! DO NOT MODIFY IT BY HAND !!!
// Design system display name: Google Material 3
// Design system version: v0.192
// User-configured context group "Audience": "3P"
// User-configured context group "Platform": "Web"
// User-configured context group "Scheme": "Dynamic"
//

@use 'sass:map';
@use './md-sys-color';
@use './md-sys-elevation';
@use './md-sys-shape';
@use './md-sys-state';
@use './md-sys-typescale';

$_default: (
    'md-sys-color': md-sys-color.values-light(),
    'md-sys-elevation': md-sys-elevation.values(),
    'md-sys-shape': md-sys-shape.values(),
    'md-sys-state': md-sys-state.values(),
    'md-sys-typescale': md-sys-typescale.values(),
);

@function values($deps: $_default, $exclude-hardcoded-values: false) {
    @return (
        'action-focus-label-text-color': map.get($deps, 'md-sys-color', 'primary'),
        'action-focus-state-layer-color': map.get($deps, 'md-sys-color', 'primary'),
        'action-focus-state-layer-opacity': map.get($deps, 'md-sys-state', 'focus-state-layer-opacity'),
        'action-hover-label-text-color': map.get($deps, 'md-sys-color', 'primary'),
        'action-hover-state-layer-color': map.get($deps, 'md-sys-color', 'primary'),
        'action-hover-state-layer-opacity': map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
        'action-label-text-color': map.get($deps, 'md-sys-color', 'primary'),
        'action-label-text-font': map.get($deps, 'md-sys-typescale', 'label-large-font'),
        'action-label-text-line-height': map.get($deps, 'md-sys-typescale', 'label-large-line-height'),
        'action-label-text-size': map.get($deps, 'md-sys-typescale', 'label-large-size'),
        'action-label-text-tracking': map.get($deps, 'md-sys-typescale', 'label-large-tracking'),
        'action-label-text-type':
            /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.dialog.action.label-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
            if(
                $exclude-hardcoded-values,
                null,
                map.get($deps, 'md-sys-typescale', 'label-large-weight') map.get($deps, 'md-sys-typescale', 'label-large-size') #{'/'} map.get($deps, 'md-sys-typescale', 'label-large-line-height') map.get($deps, 'md-sys-typescale', 'label-large-font')
            ),
        'action-label-text-weight': map.get($deps, 'md-sys-typescale', 'label-large-weight'),
        'action-pressed-label-text-color': map.get($deps, 'md-sys-color', 'primary'),
        'action-pressed-state-layer-color': map.get($deps, 'md-sys-color', 'primary'),
        'action-pressed-state-layer-opacity': map.get($deps, 'md-sys-state', 'pressed-state-layer-opacity'),
        'container-color': map.get($deps, 'md-sys-color', 'surface-container-high'),
        'container-elevation': map.get($deps, 'md-sys-elevation', 'level3'),
        'container-shape': map.get($deps, 'md-sys-shape', 'corner-extra-large'),
        'headline-color': map.get($deps, 'md-sys-color', 'on-surface'),
        'headline-font': map.get($deps, 'md-sys-typescale', 'headline-small-font'),
        'headline-line-height': map.get($deps, 'md-sys-typescale', 'headline-small-line-height'),
        'headline-size': map.get($deps, 'md-sys-typescale', 'headline-small-size'),
        'headline-tracking': map.get($deps, 'md-sys-typescale', 'headline-small-tracking'),
        'headline-type':
            /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.dialog.headline.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
            if(
                $exclude-hardcoded-values,
                null,
                map.get($deps, 'md-sys-typescale', 'headline-small-weight') map.get($deps, 'md-sys-typescale', 'headline-small-size') #{'/'} map.get($deps, 'md-sys-typescale', 'headline-small-line-height') map.get($deps, 'md-sys-typescale', 'headline-small-font')
            ),
        'headline-weight': map.get($deps, 'md-sys-typescale', 'headline-small-weight'),
        'supporting-text-color': map.get($deps, 'md-sys-color', 'on-surface-variant'),
        'supporting-text-font': map.get($deps, 'md-sys-typescale', 'body-medium-font'),
        'supporting-text-line-height': map.get($deps, 'md-sys-typescale', 'body-medium-line-height'),
        'supporting-text-size': map.get($deps, 'md-sys-typescale', 'body-medium-size'),
        'supporting-text-tracking': map.get($deps, 'md-sys-typescale', 'body-medium-tracking'),
        'supporting-text-type':
            /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.dialog.supporting-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
            if(
                $exclude-hardcoded-values,
                null,
                map.get($deps, 'md-sys-typescale', 'body-medium-weight') map.get($deps, 'md-sys-typescale', 'body-medium-size') #{'/'} map.get($deps, 'md-sys-typescale', 'body-medium-line-height') map.get($deps, 'md-sys-typescale', 'body-medium-font')
            ),
        'supporting-text-weight': map.get($deps, 'md-sys-typescale', 'body-medium-weight'),
        'with-icon-icon-color': map.get($deps, 'md-sys-color', 'secondary'),
        'with-icon-icon-size': if($exclude-hardcoded-values, null, 24px)
    );
}
