// ------------------------------------------------------------------------------
// <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 avatarElementMemphisStyle() {
    return css `
:host {
  --avatar-background-color: var(--memphis-scheme-background);
  --avatar-badge-gap: var(--memphis-layout-thickness);
  --avatar-badge-horizontal-align: right;
  --avatar-badge-radius: var(--memphis-layout-space);
  --avatar-badge-vertical-align: bottom;
  --avatar-border-color: var(--memphis-scheme-contrast);
  --avatar-border-radius: 50%;
  --avatar-border-style: solid;
  --avatar-border-width: var(--memphis-layout-thickness);
  --avatar-diameter: 64px;
  --avatar-font-family: var(--memphis-font-family);
  --avatar-font-letter-spacing: 0px;
  --avatar-font-line-height: calc(var(--avatar-font-size)  + 4px);
  --avatar-font-size: 32px;
  --avatar-font-text-decoration: unset;
  --avatar-font-text-transform: unset;
  --avatar-font-weight: 600;
  --avatar-foreground-color: var(--memphis-scheme-foreground);
  --avatar-gap: var(--memphis-layout-space);
  --avatar-offset: calc(var(--memphis-layout-space) * 2);
  --avatar-padding-bottom: calc(var(--memphis-layout-space) / 2);
  --avatar-padding-left: var(--memphis-layout-space);
  --avatar-padding-right: var(--memphis-layout-space);
  --avatar-padding-top: calc(var(--memphis-layout-space) / 2);
  --avatar-shadow-blur: var(--memphis-elevation-semilight-blur-0);
  --avatar-shadow-color: var(--memphis-elevation-semilight-color-0);
  --avatar-shadow-offset-x: var(--memphis-elevation-semilight-offset-x-0);
  --avatar-shadow-offset-y: var(--memphis-elevation-semilight-offset-y-0);
  --avatar-shadow-spread: var(--memphis-elevation-semilight-spread-0);
  --avatar-transition-duration: .2s;
  --avatar-transition-mode: ease;
  --avatar-transition-property: background-color, color, border-color, opacity, box-shadow;
  --avatar-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(--avatar-font-family);
  font-size: var(--avatar-font-size);
  line-height: var(--avatar-font-line-height);
  font-weight: var(--avatar-font-weight);
  letter-spacing: var(--avatar-font-letter-spacing);
  background-color: var(--avatar-background-color);
  color: var(--avatar-foreground-color);
  border: var(--avatar-border-width) var(--avatar-border-style) var(--avatar-border-color);
  border-radius: var(--avatar-border-radius);
  width: var(--avatar-diameter);
  height: var(--avatar-diameter);
  min-width: var(--avatar-diameter);
  box-shadow: var(--avatar-shadow-offset-x) var(--avatar-shadow-offset-y) var(--avatar-shadow-blur) var(--avatar-shadow-spread) var(--avatar-shadow-color);
  justify-content: center;
  align-items: center;
  display: flex;
}

:host [part="backplate"] {
  border-radius: inherit;
  width: inherit;
  height: inherit;
  justify-content: center;
  align-items: center;
  display: flex;
  overflow: hidden;
}

:host [part="backplate"] [part="image"] {
  border-radius: inherit;
  overflow: hidden;
}

:host [part="backplate"] [part="text"] {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  overflow: hidden;
}

:host [part="backplate"] [part="icon"] {
  color: inherit;
  font-size: inherit;
  overflow: hidden;
}

:host([disabled]:not([disabled="false"])) {
  --avatar-background-color: var(--memphis-scheme-background);
  --avatar-border-color: var(--memphis-scheme-highlight);
  --avatar-foreground-color: var(--memphis-scheme-disabled);
}

:host([size="tiny"]) {
  --avatar-diameter: 28px;
  --avatar-font-size: 12px;
  --avatar-font-line-height: 28px;
}

:host([size="small"]) {
  --avatar-diameter: 40px;
  --avatar-font-size: 18px;
  --avatar-font-line-height: 40px;
}

:host([size="medium"]) {
  --avatar-diameter: 64px;
  --avatar-font-size: 32px;
  --avatar-font-line-height: 64px;
}

:host([size="large"]) {
  --avatar-diameter: 88px;
  --avatar-font-size: 44px;
  --avatar-font-line-height: 88px;
}

:host([size="giant"]) {
  --avatar-diameter: 112px;
  --avatar-font-size: 56px;
  --avatar-font-line-height: 112px;
}

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