//
// 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-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-typescale': md-sys-typescale.values(),
);

@function values($deps: $_default, $exclude-hardcoded-values: false) {
  @return (
    'container-color': map.get($deps, 'md-sys-color', 'surface'),
    'container-elevation': map.get($deps, 'md-sys-elevation', 'level0'),
    'container-height': if($exclude-hardcoded-values, null, 64px),
    'container-shape': map.get($deps, 'md-sys-shape', 'corner-none'),
    'headline-color': map.get($deps, 'md-sys-color', 'on-surface'),
    'headline-font': map.get($deps, 'md-sys-typescale', 'title-large-font'),
    'headline-line-height':
      map.get($deps, 'md-sys-typescale', 'title-large-line-height'),
    'headline-size': map.get($deps, 'md-sys-typescale', 'title-large-size'),
    'headline-tracking':
      map.get($deps, 'md-sys-typescale', 'title-large-tracking'),
    'headline-type':
      if(
        $exclude-hardcoded-values,
        null,
        /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.top-app-bar.small.headline.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
          map.get($deps, 'md-sys-typescale', 'title-large-weight')
          map.get($deps, 'md-sys-typescale', 'title-large-size') #{'/'} map.get(
            $deps,
            'md-sys-typescale',
            'title-large-line-height'
          ) map.get($deps, 'md-sys-typescale', 'title-large-font')
      ),
    'headline-weight': map.get($deps, 'md-sys-typescale', 'title-large-weight'),
    'leading-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
    'leading-icon-size': if($exclude-hardcoded-values, null, 24px),
    'on-scroll-container-color':
      map.get($deps, 'md-sys-color', 'surface-container'),
    'on-scroll-container-elevation':
      map.get($deps, 'md-sys-elevation', 'level2'),
    'trailing-icon-color': map.get($deps, 'md-sys-color', 'on-surface-variant'),
    'trailing-icon-size': if($exclude-hardcoded-values, null, 24px)
  );
}
