// ------------------------------------------------------------------------------
// <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 focusRingElementJoyStyle() {
    return css `
:host {
  --focus-ring-active-width: 8px;
  --focus-ring-blur: 0px;
  --focus-ring-border-color: var(--joy-scheme-highlight);
  --focus-ring-border-radius: 0px;
  --focus-ring-border-style: solid;
  --focus-ring-border-width: 0px;
  --focus-ring-color: currentcolor;
  --focus-ring-font-family: unset;
  --focus-ring-font-letter-spacing: unset;
  --focus-ring-font-line-height: unset;
  --focus-ring-font-size: unset;
  --focus-ring-font-text-decoration: unset;
  --focus-ring-font-text-transform: unset;
  --focus-ring-font-weight: unset;
  --focus-ring-gap: unset;
  --focus-ring-inward-offset: 2px;
  --focus-ring-outward-offset: 2px;
  --focus-ring-padding-bottom: unset;
  --focus-ring-padding-left: unset;
  --focus-ring-padding-right: unset;
  --focus-ring-padding-top: unset;
  --focus-ring-shadow: var(--focus-ring-x, 0) var(--focus-ring-y, 0) var(--focus-ring-blur, 0) var(--focus-ring-width) var(--focus-ring-color);
  --focus-ring-shape: 6px;
  --focus-ring-transition-duration: .2s;
  --focus-ring-transition-mode: ease;
  --focus-ring-transition-property: all;
  --focus-ring-translate: unset;
  --focus-ring-width: 4px;
  --focus-ring-x: 0px;
  --focus-ring-y: 0px;
}

@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 {
  animation-delay: 0s, calc(var(--focus-ring-transition-duration) * .25);
  animation-duration: calc(var(--focus-ring-transition-duration) * .25), calc(var(--focus-ring-transition-duration) * .75);
  animation-timing-function: var(--focus-ring-transition-mode);
  box-sizing: border-box;
  color: var(--focus-ring-border-color);
  opacity: 0;
  pointer-events: none;
  transition-duration: var(--focus-ring-transition-duration);
  transition-timing-function: var(--focus-ring-transition-mode);
  transition-property: var(--focus-ring-transition-property);
  box-shadow: var(--focus-ring-shadow);
  border-radius: inherit;
  animation-delay: 0s, calc(var(--focus-ring-transition-duration) * .25);
  animation-duration: calc(var(--focus-ring-transition-duration) * .25), calc(var(--focus-ring-transition-duration) * .75);
  animation-timing-function: var(--focus-ring-transition-mode);
  opacity: 0;
  pointer-events: none;
  transition-duration: var(--focus-ring-transition-duration);
  transition-timing-function: var(--focus-ring-transition-mode);
  transition-property: var(--focus-ring-transition-property);
  box-shadow: var(--focus-ring-shadow);
  border-radius: inherit;
  display: flex;
  position: absolute;
}

:host([visible]) {
  opacity: .26;
}

:host(:not([inward])) {
  inset: calc(-1 * (var(--focus-ring-outward-offset)));
}

:host([inward]) {
  inset: var(--focus-ring-inward-offset);
}

:host([variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --focus-ring-border-color: var(--joy-color-primary-500);
}

:host([variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --focus-ring-border-color: var(--joy-color-secondary-500);
}

:host([variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --focus-ring-border-color: var(--joy-color-tertiary-500);
}

:host([variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --focus-ring-border-color: var(--joy-color-danger-500);
}

:host([variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --focus-ring-border-color: var(--joy-color-warning-500);
}

:host([variant="success"]:not([disabled]:not([disabled="false"]))) {
  --focus-ring-border-color: var(--joy-color-success-500);
}

:host([variant="info"]:not([disabled]:not([disabled="false"]))) {
  --focus-ring-border-color: var(--joy-color-info-500);
}

:host([variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --focus-ring-border-color: var(--joy-color-highlight-500);
}

:host([variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --focus-ring-border-color: var(--joy-color-neutral-500);
}

@keyframes outward-grow {
  from {
    outline-width: 0;
  }

  to {
    outline-width: var(--focus-ring-active-width);
  }
}

@keyframes outward-shrink {
  from {
    outline-width: var(--focus-ring-active-width);
  }
}

@keyframes inward-grow {
  from {
    border-width: 0;
  }

  to {
    border-width: var(--focus-ring-active-width);
  }
}

@keyframes inward-shrink {
  from {
    border-width: var(--focus-ring-active-width);
  }
}

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