material-web/tokens/v0_192/_md-comp-outlined-autocomplete.scss
Elizabeth Mitchell 116b448639 fix(tokens): generate tokens v0.192
PiperOrigin-RevId: 565500229
2023-09-14 15:53:34 -07:00

230 lines
11 KiB
SCSS

//
// 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 (
'menu-cascading-menu-indicator-icon-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'menu-cascading-menu-indicator-icon-size':
if($exclude-hardcoded-values, null, 24px),
'menu-container-color': map.get($deps, 'md-sys-color', 'surface-container'),
'menu-container-elevation': map.get($deps, 'md-sys-elevation', 'level2'),
'menu-container-shadow-color': map.get($deps, 'md-sys-color', 'shadow'),
'menu-container-shape': map.get($deps, 'md-sys-shape', 'corner-extra-small'),
'text-field-caret-color': map.get($deps, 'md-sys-color', 'primary'),
'text-field-container-color':
map.get($deps, 'md-sys-color', 'surface-container-highest'),
'text-field-container-shape':
map.get($deps, 'md-sys-shape', 'corner-extra-small'),
'text-field-disabled-input-text-color':
map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-disabled-input-text-opacity':
if($exclude-hardcoded-values, null, 0.38),
'text-field-disabled-label-text-color':
map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-disabled-label-text-opacity':
if($exclude-hardcoded-values, null, 0.38),
'text-field-disabled-leading-icon-color':
map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-disabled-leading-icon-opacity':
if($exclude-hardcoded-values, null, 0.38),
'text-field-disabled-outline-color':
map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-disabled-outline-opacity':
if($exclude-hardcoded-values, null, 0.12),
'text-field-disabled-outline-width':
if($exclude-hardcoded-values, null, 1px),
'text-field-disabled-supporting-text-color':
map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-disabled-supporting-text-opacity':
if($exclude-hardcoded-values, null, 0.38),
'text-field-disabled-trailing-icon-color':
map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-disabled-trailing-icon-opacity':
if($exclude-hardcoded-values, null, 0.38),
'text-field-error-focus-caret-color':
map.get($deps, 'md-sys-color', 'error'),
'text-field-error-focus-input-text-color':
map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-error-focus-label-text-color':
map.get($deps, 'md-sys-color', 'error'),
'text-field-error-focus-leading-icon-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'text-field-error-focus-outline-color':
map.get($deps, 'md-sys-color', 'error'),
'text-field-error-focus-supporting-text-color':
map.get($deps, 'md-sys-color', 'error'),
'text-field-error-focus-trailing-icon-color':
map.get($deps, 'md-sys-color', 'error'),
'text-field-error-hover-input-text-color':
map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-error-hover-label-text-color':
map.get($deps, 'md-sys-color', 'on-error-container'),
'text-field-error-hover-leading-icon-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'text-field-error-hover-outline-color':
map.get($deps, 'md-sys-color', 'on-error-container'),
'text-field-error-hover-state-layer-color':
map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-error-hover-state-layer-opacity':
map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
'text-field-error-hover-supporting-text-color':
map.get($deps, 'md-sys-color', 'error'),
'text-field-error-hover-trailing-icon-color':
map.get($deps, 'md-sys-color', 'on-error-container'),
'text-field-error-input-text-color':
map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-error-label-text-color': map.get($deps, 'md-sys-color', 'error'),
'text-field-error-leading-icon-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'text-field-error-outline-color': map.get($deps, 'md-sys-color', 'error'),
'text-field-error-supporting-text-color':
map.get($deps, 'md-sys-color', 'error'),
'text-field-error-trailing-icon-color':
map.get($deps, 'md-sys-color', 'error'),
'text-field-focus-input-text-color':
map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-focus-label-text-color':
map.get($deps, 'md-sys-color', 'primary'),
'text-field-focus-leading-icon-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'text-field-focus-outline-color': map.get($deps, 'md-sys-color', 'primary'),
'text-field-focus-outline-width': if($exclude-hardcoded-values, null, 2px),
'text-field-focus-supporting-text-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'text-field-focus-trailing-icon-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'text-field-hover-input-text-color':
map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-hover-label-text-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'text-field-hover-leading-icon-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'text-field-hover-outline-color':
map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-hover-outline-width': if($exclude-hardcoded-values, null, 1px),
'text-field-hover-state-layer-color':
map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-hover-state-layer-opacity':
map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
'text-field-hover-supporting-text-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'text-field-hover-trailing-icon-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'text-field-input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
'text-field-input-text-font':
map.get($deps, 'md-sys-typescale', 'body-large-font'),
'text-field-input-text-line-height':
map.get($deps, 'md-sys-typescale', 'body-large-line-height'),
'text-field-input-text-size':
map.get($deps, 'md-sys-typescale', 'body-large-size'),
'text-field-input-text-tracking':
map.get($deps, 'md-sys-typescale', 'body-large-tracking'),
'text-field-input-text-type':
if(
$exclude-hardcoded-values,
null,
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.outlined-autocomplete.text-field.input-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
map.get($deps, 'md-sys-typescale', 'body-large-weight')
map.get($deps, 'md-sys-typescale', 'body-large-size') #{'/'} map.get(
$deps,
'md-sys-typescale',
'body-large-line-height'
) map.get($deps, 'md-sys-typescale', 'body-large-font')
),
'text-field-input-text-weight':
map.get($deps, 'md-sys-typescale', 'body-large-weight'),
'text-field-label-text-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'text-field-label-text-font':
map.get($deps, 'md-sys-typescale', 'body-large-font'),
'text-field-label-text-line-height':
map.get($deps, 'md-sys-typescale', 'body-large-line-height'),
'text-field-label-text-populated-line-height':
map.get($deps, 'md-sys-typescale', 'body-small-line-height'),
'text-field-label-text-populated-size':
map.get($deps, 'md-sys-typescale', 'body-small-size'),
'text-field-label-text-size':
map.get($deps, 'md-sys-typescale', 'body-large-size'),
'text-field-label-text-tracking':
map.get($deps, 'md-sys-typescale', 'body-large-tracking'),
'text-field-label-text-type':
if(
$exclude-hardcoded-values,
null,
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.outlined-autocomplete.text-field.label-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
map.get($deps, 'md-sys-typescale', 'body-large-weight')
map.get($deps, 'md-sys-typescale', 'body-large-size') #{'/'} map.get(
$deps,
'md-sys-typescale',
'body-large-line-height'
) map.get($deps, 'md-sys-typescale', 'body-large-font')
),
'text-field-label-text-weight':
map.get($deps, 'md-sys-typescale', 'body-large-weight'),
'text-field-leading-icon-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'text-field-leading-icon-size': if($exclude-hardcoded-values, null, 24px),
'text-field-outline-color': map.get($deps, 'md-sys-color', 'outline'),
'text-field-outline-width': if($exclude-hardcoded-values, null, 1px),
'text-field-supporting-text-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'text-field-supporting-text-font':
map.get($deps, 'md-sys-typescale', 'body-small-font'),
'text-field-supporting-text-line-height':
map.get($deps, 'md-sys-typescale', 'body-small-line-height'),
'text-field-supporting-text-size':
map.get($deps, 'md-sys-typescale', 'body-small-size'),
'text-field-supporting-text-tracking':
map.get($deps, 'md-sys-typescale', 'body-small-tracking'),
'text-field-supporting-text-type':
if(
$exclude-hardcoded-values,
null,
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.outlined-autocomplete.text-field.supporting-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
map.get($deps, 'md-sys-typescale', 'body-small-weight')
map.get($deps, 'md-sys-typescale', 'body-small-size') #{'/'} map.get(
$deps,
'md-sys-typescale',
'body-small-line-height'
) map.get($deps, 'md-sys-typescale', 'body-small-font')
),
'text-field-supporting-text-weight':
map.get($deps, 'md-sys-typescale', 'body-small-weight'),
'text-field-trailing-icon-color':
map.get($deps, 'md-sys-color', 'on-surface-variant'),
'text-field-trailing-icon-size': if($exclude-hardcoded-values, null, 24px)
);
}