Boolean$chip-disable-everything: false !default;Boolean$chip-disable-icon: false !default;Boolean$chip-disable-avatar: avatar.$disable-everything !default;Boolean$chip-disable-progress: progress.$disable-everything or progress.$disable-circular !default;Boolean$chip-disable-content: false !default;Boolean$chip-disable-solid-theme: false !default;Boolean$chip-disable-solid-raisable: false !default;Boolean$chip-disable-outline-theme: $disable-everything !default;Boolean$chip-disable-outline-raisable: false !default;Boolean$chip-disable-left-addon: false !default;Boolean$chip-disable-right-addon: false !default;Boolean$chip-disable-selected-theme: false !default;Boolean$chip-disable-selected-icon-transition: false !default;Number$chip-gap: spacing.get-var(md) !default;Number$chip-height: 2rem !default;Number$chip-border-radius: border-radius.get-var(lg) !default;Number$chip-icon-size: 1.125rem !default;Number$chip-avatar-size: 1.5rem !default;Number$chip-progress-size: $icon-size !default;Number$chip-progress-width: 12 !default;Map$chip-typography: map.merge(
typography.$base-font-styles,
typography.$body-2-styles
) !default;Number$chip-horizontal-padding: calc(spacing.get-var(md) * 1.25) !default;Number$chip-vertical-padding: spacing.get-var(none) !default;Number$chip-addon-left-padding: spacing.get-var(xs) !default;Number$chip-addon-right-padding: spacing.get-var(sm) !default;Color $chip-theme-background-color: theme.get-swatch(
theme.$primary-color,
300,
false,
color.adjust(theme.$primary-color, $lightness: -20%)
) !default;Color $chip-theme-color: a11y.contrast-color($theme-background-color) !default;Color $chip-solid-light-background-color: colors.$grey-300 !default;Color $chip-solid-light-disabled-background-color: colors.$grey-100 !default;Color $chip-solid-light-color: a11y.contrast-color($solid-light-background-color) !default;Color $chip-solid-dark-background-color: if(
theme.$disable-dark-elevation,
colors.$grey-900,
map.get(theme.$dark-elevation-colors, 12)
) !default;Color$chip-solid-dark-disabled-background-color: color.adjust(
colors.$grey-900,
$lightness: 2%
) !default;Color $chip-solid-dark-color: a11y.contrast-color($solid-dark-background-color) !default;Color $chip-solid-background-color: theme.get-default-color(
$solid-light-background-color,
$solid-dark-background-color
) !default;Color $chip-solid-disabled-background-color: theme.get-default-color(
$solid-light-disabled-background-color,
$solid-dark-disabled-background-color
) !default;Color $chip-solid-color: theme.get-default-color(
$solid-light-color,
$solid-dark-color
) !default;Color$chip-solid-raisable-box-shadow-z-value: 4 !default;Number$chip-solid-raisable-transition-duration: transition.$linear-duration !default;Number$chip-outline-width: calc(interaction.get-var(focus-width) / 2) !default;Number$chip-outline-raisable-box-shadow-z-value: 8 !default;Color $chip-outline-light-color: colors.$grey-300 !default;Color $chip-outline-light-background-color: theme.$light-theme-surface-color !default;Color $chip-outline-light-text-color: a11y.contrast-color(
$outline-light-background-color
) !default;Color $chip-outline-dark-color: $outline-light-color !default;Color $chip-outline-dark-background-color: if(
theme.$disable-dark-elevation,
theme.$dark-theme-surface-color,
map.get(theme.$dark-elevation-colors, $outline-raisable-box-shadow-z-value)
) !default;Color $chip-outline-dark-text-color: a11y.contrast-color(
$outline-dark-background-color
) !default;Color $chip-outline-color: theme.get-default-color(
$outline-light-color,
$outline-dark-color
) !default;Color $chip-outline-background-color: theme.get-default-color(
$outline-light-background-color,
$outline-dark-background-color
) !default;Color $chip-outline-text-color: theme.get-default-color(
$outline-light-text-color,
$outline-dark-text-color
) !default;Number$chip-outline-raisable-transition-duration: transition.$linear-duration !default;List$chip-variables: (
gap,
height,
border-radius,
horizontal-padding,
vertical-padding,
solid-background-color,
solid-disabled-background-color,
solid-color,
theme-background-color,
theme-color,
outline-color,
outline-width,
outline-background-color,
outline-text-color
);mixin@mixin set-var($name, $value) { … }mixin@mixin use-var($property, $name: $property, $fallback: null) { … }mixin@mixin use-light-theme { … }mixin@mixin use-dark-theme { … }mixin@mixin variables { … }mixin@mixin styles($disable-layer: false) { … }function@function get-var($name, $fallback: null) { … }StringSet to true to disable all the chip styles
Set to true to disable the icon styles within a chip
Set to true to disable the avatar styles within a chip
Set to true to disable the circular progress styles within a chip
Set to true if all Chip components have been updated to enable
disableContentWrap
Set to true if all Chip components will only use theme="outline".
Set to true if all Chip components will never enable the raisable
prop while the theme="solid".
Set to true if all Chip components will never set theme="outline"
Set to true if all Chip components will never enable the raisable
prop while the theme="outline".
Set to true if the leftAddon prop will never be provided to the Chip
component.
Set to true if the rightAddon prop will never be provided to the Chip
component.
Set to true if the selectedThemed prop will never be enabled on the
Chip component.
Set to true if the disableIconTransition will always be enabled for the
Chip component
The gap between items in the Chip.
The default Chip height.
The default Chip border radius.
The default size for icons that are rendered within a Chip normally as the leftAddon or rightAddon props.
The default size for avatars that are rendered within a Chip normally as the leftAddon or rightAddon props.
The default size for circular progress components that are rendered within a Chip normally as the leftAddon or rightAddon props.
The default progress.$circular-stroke-width to apply to circular progress components rendered within a Chip normally as the leftAddon or
rightAddon props.
The default Chip typography
The default horizontal padding on Chips.
The default vertical padding on Chips.
The amount of padding-left to apply to the Chip if a leftAddon prop was provided.
The amount of padding-right to apply to the Chip if a rightAddon prop was provided.
The background-color to apply when the themed prop is enabled.
The text color to apply when the themed prop is enabled.
The light theme background color for the theme="solid"
The light theme background color for the theme="solid" and the Chip is disabled.
The light theme text color for the theme="solid"
The dark theme background color for the theme="solid"
The dark theme background color for the theme="solid" and the Chip is disabled.
The dark theme text color for the theme="solid"
The default theme="solid" background-color
The default theme="solid" disabled background-color
The default theme="solid" text color
A number between 0-24 representing the box-shadow elevation when the user is pressing the Chip with a theme="solid" and raisable.
The raisable transition duration while theme="solid"
The outline width when a theme="outline".
A number between 0-24 representing the box-shadow elevation when the user is pressing the Chip with a theme="outline" and raisable.
The box-shadow color to use in light themes when theme="outline"
The background-color to use in light themes when theme="outline"
The text color to use in light themes when theme="outline"
The box-shadow color to use in dark themes when theme="outline"
The background-color to use in dark themes when theme="outline"
The text color to use in dark themes when theme="outline"
The box-shadow color to use when theme="outline"
The background-color to use when theme="outline"
The text color to use when theme="outline"
The raisable transition duration while theme="outline"
The available configurable css variables and mostly used internally for the
get-var, set-var, and use-var utils.
The supported variable name
The value to set the variable to. Supports null which will just be a no-op.
The css property to apply the variable to
The supported variable name
An optional fallback value if the variable has not been set
Applies the light the variables based on feature flags
Applies the dark the variables based on feature flags
Conditionally applies the css variables based on feature flags
Generates all the styles based on feature flags.
Set this to true to disable the layer behavior
a var() statement
The supported variable name
An optional fallback value