// ------------------------------------------------------------------------------
// <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 anchorElementJoyStyle() {
    return css `
:host {
  --anchor-background-color: var(--joy-scheme-transparent);
  --anchor-border-color: var(--joy-scheme-highlight);
  --anchor-font-family: var(--joy-typography-button-font-family);
  --anchor-font-letter-spacing: var(--joy-typography-button-letter-spacing);
  --anchor-font-line-height: var(--joy-typography-button-line-height);
  --anchor-font-size: var(--joy-typography-button-font-size);
  --anchor-font-text-decoration: var(--joy-typography-button-text-decoration);
  --anchor-font-text-transform: var(--joy-typography-button-text-transform);
  --anchor-font-weight: var(--joy-typography-button-font-weight);
  --anchor-foreground-color: var(--joy-scheme-foreground);
  --anchor-gap: unset;
  --anchor-padding-bottom: unset;
  --anchor-padding-left: unset;
  --anchor-padding-right: unset;
  --anchor-padding-top: unset;
  --anchor-shadow: unset unset unset unset unset;
  --anchor-shadow-blur: unset;
  --anchor-shadow-color: unset;
  --anchor-shadow-offset-x: unset;
  --anchor-shadow-offset-y: unset;
  --anchor-shadow-spread: unset;
  --anchor-transition-duration: var(--joy-duration-short);
  --anchor-transition-mode: ease;
  --anchor-transition-property: background-color, color, border-color, opacity, box-shadow;
  --anchor-translate: none;
}

@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(--anchor-font-family);
  font-size: var(--anchor-font-size);
  line-height: var(--anchor-font-line-height);
  font-weight: var(--anchor-font-weight);
  letter-spacing: var(--anchor-font-letter-spacing);
  -webkit-text-decoration: var(--anchor-font-text-decoration);
  text-decoration: var(--anchor-font-text-decoration);
  text-transform: var(--anchor-font-text-transform);
  transition-duration: var(--anchor-transition-duration);
  transition-timing-function: var(--anchor-transition-mode);
  transition-property: var(--anchor-transition-property);
  cursor: pointer;
  width: auto;
  height: auto;
  display: flex;
}

:host [part="link"] {
  color: var(--anchor-foreground-color);
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: underline;
  display: flex;
}

:host [part="link"]:link.always, :host [part="link"]:visited.always, :host [part="link"]:hover.always, :host [part="link"]:active.always {
  text-decoration: underline;
}

:host [part="link"]:link.hover, :host [part="link"]:link.never, :host [part="link"]:visited.hover, :host [part="link"]:visited.never, :host [part="link"]:hover.hover, :host [part="link"]:hover.never, :host [part="link"]:active.hover, :host [part="link"]:active.never {
  text-decoration: none;
}

:host([disabled]:not([disabled="false"])) {
  cursor: default;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

:host {
  background: var(--anchor-background-color);
  border-color: var(--anchor-border-color);
  color: var(--anchor-foreground-color);
}

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

:host([variant="primary"]:not([disabled]:not([disabled="false"])):hover) {
  --anchor-foreground-color: var(--joy-color-primary-300);
}

:host([variant="primary"]:not([disabled]:not([disabled="false"])):active) {
  --anchor-foreground-color: var(--joy-color-primary-700);
}

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

:host([variant="secondary"]:not([disabled]:not([disabled="false"])):hover) {
  --anchor-foreground-color: var(--joy-color-secondary-300);
}

:host([variant="secondary"]:not([disabled]:not([disabled="false"])):active) {
  --anchor-foreground-color: var(--joy-color-secondary-700);
}

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

:host([variant="tertiary"]:not([disabled]:not([disabled="false"])):hover) {
  --anchor-foreground-color: var(--joy-color-tertiary-300);
}

:host([variant="tertiary"]:not([disabled]:not([disabled="false"])):active) {
  --anchor-foreground-color: var(--joy-color-tertiary-700);
}

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

:host([variant="danger"]:not([disabled]:not([disabled="false"])):hover) {
  --anchor-foreground-color: var(--joy-color-danger-300);
}

:host([variant="danger"]:not([disabled]:not([disabled="false"])):active) {
  --anchor-foreground-color: var(--joy-color-danger-700);
}

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

:host([variant="warning"]:not([disabled]:not([disabled="false"])):hover) {
  --anchor-foreground-color: var(--joy-color-warning-300);
}

:host([variant="warning"]:not([disabled]:not([disabled="false"])):active) {
  --anchor-foreground-color: var(--joy-color-warning-700);
}

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

:host([variant="success"]:not([disabled]:not([disabled="false"])):hover) {
  --anchor-foreground-color: var(--joy-color-success-300);
}

:host([variant="success"]:not([disabled]:not([disabled="false"])):active) {
  --anchor-foreground-color: var(--joy-color-success-700);
}

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

:host([variant="info"]:not([disabled]:not([disabled="false"])):hover) {
  --anchor-foreground-color: var(--joy-color-info-300);
}

:host([variant="info"]:not([disabled]:not([disabled="false"])):active) {
  --anchor-foreground-color: var(--joy-color-info-700);
}

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

:host([variant="highlight"]:not([disabled]:not([disabled="false"])):hover) {
  --anchor-foreground-color: var(--joy-color-highlight-300);
}

:host([variant="highlight"]:not([disabled]:not([disabled="false"])):active) {
  --anchor-foreground-color: var(--joy-color-highlight-700);
}

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

:host([variant="neutral"]:not([disabled]:not([disabled="false"])):hover) {
  --anchor-foreground-color: var(--joy-color-neutral-300);
}

:host([variant="neutral"]:not([disabled]:not([disabled="false"])):active) {
  --anchor-foreground-color: var(--joy-color-neutral-700);
}

:host([disabled]:not([disabled="false"])) {
  --anchor-foreground-color: var(--joy-scheme-disabled);
}

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