// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// #region Imports
import { css } from '../../../../../Dom/Css';
// #endregion
/**
 * @public
 */
export function chipElementMemphisStyle() {
    return css `
:host {
  --chip-background-color: var(--memphis-scheme-background);
  --chip-border-color: var(--memphis-scheme-contrast);
  --chip-border-radius: var(--memphis-layout-radius);
  --chip-border-style: solid;
  --chip-border-width: var(--memphis-layout-thickness);
  --chip-focus-ring-active-width: 8px;
  --chip-focus-ring-color: unset;
  --chip-focus-ring-inward-offset: 2px;
  --chip-focus-ring-outward-offset: unset;
  --chip-font-family: var(--memphis-font-family);
  --chip-font-letter-spacing: var(--memphis-typography-body2-letter-spacing);
  --chip-font-line-height: var(--memphis-typography-body2-line-height);
  --chip-font-size: var(--memphis-typography-body2-font-size);
  --chip-font-text-decoration: var(--memphis-typography-body2-text-decoration);
  --chip-font-text-transform: var(--memphis-typography-body2-text-transform);
  --chip-font-weight: var(--memphis-typography-body2-font-weight);
  --chip-foreground-color: var(--memphis-scheme-foreground);
  --chip-gap: var(--memphis-layout-space);
  --chip-height: auto;
  --chip-padding-bottom: var(--memphis-layout-space);
  --chip-padding-left: var(--memphis-layout-space);
  --chip-padding-right: var(--memphis-layout-space);
  --chip-padding-top: var(--memphis-layout-space);
  --chip-ripple-color: unset;
  --chip-ripple-duration: .2s;
  --chip-shadow: var(--memphis-elevation-light-offset-x-0) var(--memphis-elevation-light-offset-y-0) var(--memphis-elevation-light-blur-0) var(--memphis-elevation-light-spread-0) var(--memphis-elevation-light-color-0);
  --chip-shadow-blur: var(--memphis-elevation-light-blur-0);
  --chip-shadow-color: var(--memphis-elevation-light-color-0);
  --chip-shadow-offset-x: var(--memphis-elevation-light-offset-x-0);
  --chip-shadow-offset-y: var(--memphis-elevation-light-offset-y-0);
  --chip-shadow-spread: var(--memphis-elevation-light-spread-0);
  --chip-transition-duration: .2s;
  --chip-transition-mode: ease;
  --chip-transition-property: background-color, color, border-color, opacity, box-shadow;
  --chip-translate: unset;
}

@media screen and (prefers-reduced-motion: reduce) {
  :host {
    transition-duration: .01ms;
  }
}

:host {
  box-sizing: border-box;
  display: block;
  position: relative;
}

:host *, :host :before, :host :after {
  box-sizing: border-box;
  background-repeat: no-repeat;
}

:host :before, :host :after {
  text-decoration: inherit;
  vertical-align: inherit;
}

:host([hidden]) {
  display: none !important;
}

:host {
  font-family: var(--chip-font-family);
  font-size: var(--chip-font-size);
  line-height: var(--chip-font-line-height);
  font-weight: var(--chip-font-weight);
  letter-spacing: var(--chip-font-letter-spacing);
  -webkit-text-decoration: var(--chip-font-text-decoration);
  text-decoration: var(--chip-font-text-decoration);
  text-transform: var(--chip-font-text-transform);
  transition-duration: var(--chip-transition-duration);
  transition-timing-function: var(--chip-transition-mode);
  transition-property: var(--chip-transition-property);
  padding-top: var(--chip-padding-top);
  padding-right: var(--chip-padding-right);
  padding-bottom: var(--chip-padding-bottom);
  padding-left: var(--chip-padding-left);
  gap: var(--chip-gap);
  background-color: var(--chip-background-color);
  color: var(--chip-foreground-color);
  border-color: var(--chip-border-color);
  border-width: var(--chip-border-width);
  border-radius: var(--chip-border-radius);
  border-style: var(--chip-border-style);
  height: var(--chip-height);
  align-items: center;
  display: inline-flex;
  overflow: hidden;
}

:host [part="checkmark-container"] {
  opacity: 0;
  justify-content: center;
  align-items: center;
  max-width: 0;
  transition: max-width .2s cubic-bezier(.4, 0, .2, 1), opacity .15s cubic-bezier(.4, 0, .2, 1), margin .2s cubic-bezier(.4, 0, .2, 1);
  display: inline-flex;
  overflow: hidden;
}

:host [part="checkmark-container"].checked {
  opacity: 1;
  max-width: 16px;
}

:host [part="checkmark-container"] mosaik-checkmark {
  flex-shrink: 0;
}

:host [part="icon"] {
  color: inherit;
}

:host [part="close"] {
  flex-shrink: 0;
}

:host [part="label"] {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
}

:host([appearance="solid"]) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host {
  --chip-shadow-color: var(--memphis-scheme-highlight);
  box-shadow: var(--chip-shadow-offset-x) var(--chip-shadow-offset-y) var(--chip-shadow-blur) var(--chip-shadow-spread) var(--chip-shadow-color);
}

:host [part="focusRing"] {
  --focus-ring-width: 0px;
}

:host([variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --chip-background-color: var(--memphis-color-primary-500);
  --chip-foreground-color: var(--memphis-color-primary-0);
}

:host([variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --chip-background-color: var(--memphis-color-secondary-500);
  --chip-foreground-color: var(--memphis-color-secondary-0);
}

:host([variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --chip-background-color: var(--memphis-color-tertiary-500);
  --chip-foreground-color: var(--memphis-color-tertiary-0);
}

:host([variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --chip-background-color: var(--memphis-color-danger-500);
  --chip-foreground-color: var(--memphis-color-danger-0);
}

:host([variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --chip-background-color: var(--memphis-color-warning-500);
  --chip-foreground-color: var(--memphis-color-warning-0);
}

:host([variant="success"]:not([disabled]:not([disabled="false"]))) {
  --chip-background-color: var(--memphis-color-success-500);
  --chip-foreground-color: var(--memphis-color-success-0);
}

:host([variant="info"]:not([disabled]:not([disabled="false"]))) {
  --chip-background-color: var(--memphis-color-info-500);
  --chip-foreground-color: var(--memphis-color-info-0);
}

:host([variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --chip-background-color: var(--memphis-color-highlight-500);
  --chip-foreground-color: var(--memphis-color-highlight-0);
}

:host([variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --chip-background-color: var(--memphis-color-neutral-500);
  --chip-foreground-color: var(--memphis-color-neutral-0);
}

    `;
}
//# sourceMappingURL=ChipElement.Memphis.js.map