// ------------------------------------------------------------------------------
// <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 codeElementJoyStyle() {
    return css `
:host {
  --code-font-family: unset;
  --code-font-letter-spacing: unset;
  --code-font-line-height: unset;
  --code-font-size: unset;
  --code-font-text-decoration: unset;
  --code-font-text-transform: unset;
  --code-font-weight: unset;
  --code-foreground-color: var(--joy-scheme-foreground);
  --code-gap: unset;
  --code-padding-bottom: unset;
  --code-padding-left: unset;
  --code-padding-right: unset;
  --code-padding-top: unset;
  --code-shadow: unset unset unset unset unset;
  --code-shadow-blur: unset;
  --code-shadow-color: unset;
  --code-shadow-offset-x: unset;
  --code-shadow-offset-y: unset;
  --code-shadow-spread: unset;
  --code-transition-duration: unset;
  --code-transition-mode: unset;
  --code-transition-property: unset;
  --code-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 {
  color: var(--code-foreground-color);
  text-overflow: ellipsis;
  white-space: nowrap;
  text-wrap: wrap;
  background: var(--joy-scheme-highlight);
  padding: var(--joy-layout-space);
  border-radius: var(--joy-layout-radius);
  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);
  letter-spacing: var(--joy-typography-body2-letter-spacing);
  -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);
  display: block;
  overflow: hidden;
}

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

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

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

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

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

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

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

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

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

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

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