// ------------------------------------------------------------------------------
// <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 skeletonElementJoyStyle() {
    return css `
:host {
  --skeleton-font-family: unset;
  --skeleton-font-size: unset;
  --skeleton-font-line-height: unset;
  --skeleton-font-weight: unset;
  --skeleton-font-letter-spacing: unset;
  --skeleton-font-text-decoration: unset;
  --skeleton-font-text-transform: unset;
  --skeleton-padding-top: unset;
  --skeleton-padding-right: unset;
  --skeleton-padding-bottom: unset;
  --skeleton-padding-left: unset;
  --skeleton-gap: unset;
  --skeleton-transition-duration: unset;
  --skeleton-transition-mode: unset;
  --skeleton-transition-property: unset;
  --skeleton-translate: unset;
  --skeleton-background-color: var(--joy-scheme-semi-transparent);
  --skeleton-border-color: unset;
  --skeleton-border-radius: var(--joy-layout-radius);
  --skeleton-border-style: solid;
  --skeleton-border-width: 0;
  --skeleton-foreground-color: 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 {
  border-width: var(--skeleton-border-width);
  border-radius: var(--skeleton-border-radius);
  border-style: var(--skeleton-border-style);
  background-color: var(--skeleton-background-color);
  width: 100%;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

:host [part="shimmer"] {
  z-index: 0;
  vertical-align: top;
  width: 100%;
  height: 100%;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

:host([shape="rect"]) {
  width: 100px;
  height: 100px;
}

:host([shape="circle"]) {
  border-radius: 50%;
  width: 100px;
  height: 100px;
}

:host([shimmer]) [part="shimmer"]:after {
  content: "";
  animation: 1.8s infinite shimmer;
  position: absolute;
  inset: 0 -150%;
}

@keyframes shimmer {
  0% {
    transform: translate(-37.5%);
  }

  to {
    transform: translate(37.5%);
  }
}

:host([shimmer]) [part="shimmer"]:after {
  background: linear-gradient(90deg, var(--joy-scheme-semi-transparent) 25%, var(--joy-scheme-background) 37%, var(--joy-scheme-semi-transparent) 63%);
}

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