// ------------------------------------------------------------------------------
// <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 personaElementJoyStyle() {
    return css `
:host {
  --persona-background-color: var(--joy-scheme-transparent);
  --persona-border-color: var(--joy-scheme-highlight);
  --persona-border-radius: 50%;
  --persona-border-style: solid;
  --persona-border-width: 0px;
  --persona-font-family: var(--joy-font-family);
  --persona-font-letter-spacing: 0px;
  --persona-font-line-height: calc(var(--persona-font-size)  + 4px);
  --persona-font-size: 32px;
  --persona-font-text-decoration: unset;
  --persona-font-text-transform: unset;
  --persona-font-weight: 600;
  --persona-foreground-color: var(--joy-scheme-foreground);
  --persona-gap: 8px;
  --persona-padding-bottom: 4px;
  --persona-padding-left: 8px;
  --persona-padding-right: 8px;
  --persona-padding-top: 4px;
  --persona-presence-color: unset;
  --persona-shadow: unset;
  --persona-transition-duration: var(--joy-duration-short);
  --persona-transition-mode: ease;
  --persona-transition-property: background-color, color, border-color, opacity, box-shadow;
  --persona-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 {
  all: unset;
}

:host [part="presence"] {
  z-index: 1;
  position: absolute;
  bottom: 0;
  right: 0;
}

:host [part="avatar"].hide-background {
  background: none;
}

:host [part="presence"] {
  background-color: var(--persona-presence-color);
}

:host [part="primaryText"] {
  font-family: var(--joy-typography-body1-font-family);
  font-size: var(--joy-typography-body1-font-size);
  line-height: var(--joy-typography-body1-line-height);
  font-weight: var(--joy-typography-body1-font-weight);
  -webkit-text-decoration: var(--joy-typography-body1-text-decoration);
  text-decoration: var(--joy-typography-body1-text-decoration);
  text-transform: var(--joy-typography-body1-text-transform);
  letter-spacing: var(--joy-typography-body1-letter-spacing);
}

:host [part="secondaryText"] {
  font-family: var(--joy-typography-caption-font-family);
  font-size: var(--joy-typography-caption-font-size);
  line-height: var(--joy-typography-caption-line-height);
  font-weight: var(--joy-typography-caption-font-weight);
  -webkit-text-decoration: var(--joy-typography-caption-text-decoration);
  text-decoration: var(--joy-typography-caption-text-decoration);
  text-transform: var(--joy-typography-caption-text-transform);
  letter-spacing: var(--joy-typography-caption-letter-spacing);
}

:host [part="tertiaryText"], :host [part="quaternaryText"] {
  font-family: var(--joy-typography-body2-font-family);
  font-size: var(--joy-typography-body2-font-size);
  line-height: var(--joy-typography-body2-line-height);
  font-weight: var(--joy-typography-body2-font-weight);
  -webkit-text-decoration: var(--joy-typography-body2-text-decoration);
  text-decoration: var(--joy-typography-body2-text-decoration);
  text-transform: var(--joy-typography-body2-text-transform);
  letter-spacing: var(--joy-typography-body2-letter-spacing);
}

:host([presence="none"]), :host([presence="offline"]) {
  --persona-presence-color: var(--joy-color-neutral-200);
}

:host([presence="online"]) {
  --persona-presence-color: var(--joy-color-success-200);
}

:host([presence="away"]) {
  --persona-presence-color: var(--joy-color-warning-200);
}

:host([presence="dnd"]), :host([presence="blocked"]), :host([presence="busy"]) {
  --persona-presence-color: var(--joy-color-danger-200);
}

    `;
}
//# sourceMappingURL=PersonaElement.Joy.js.map