// ------------------------------------------------------------------------------
// <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 kbdElementJoyStyle() {
    return css `
:host {
  --kbd-background-color: var(--joy-scheme-highlight);
  --kbd-border-color: var(--joy-scheme-transparent);
  --kbd-border-radius: calc(var(--joy-layout-radius) / 2);
  --kbd-border-style: solid;
  --kbd-border-width: 0px;
  --kbd-font-family: var(--joy-font-family);
  --kbd-font-letter-spacing: var(--joy-typography-overline-letter-spacing);
  --kbd-font-line-height: var(--joy-typography-overline-line-height);
  --kbd-font-size: var(--joy-typography-overline-font-size);
  --kbd-font-text-decoration: var(--joy-typography-overline-text-decoration);
  --kbd-font-text-transform: var(--joy-typography-overline-text-transform);
  --kbd-font-weight: var(--joy-typography-overline-font-weight);
  --kbd-foreground-color: var(--joy-scheme-foreground);
  --kbd-gap: var(--joy-layout-space);
  --kbd-padding-bottom: calc(var(--joy-layout-space) / 2);
  --kbd-padding-left: calc(var(--joy-layout-space) / 2);
  --kbd-padding-right: calc(var(--joy-layout-space) / 2);
  --kbd-padding-top: calc(var(--joy-layout-space) / 2);
  --kbd-shadow: var(--joy-elevation-light);
  --kbd-transition-duration: unset;
  --kbd-transition-mode: unset;
  --kbd-transition-property: unset;
  --kbd-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 {
  font-family: var(--kbd-font-family);
  font-size: var(--kbd-font-size);
  line-height: var(--kbd-font-line-height);
  font-weight: var(--kbd-font-weight);
  letter-spacing: var(--kbd-font-letter-spacing);
  -webkit-text-decoration: var(--kbd-font-text-decoration);
  text-decoration: var(--kbd-font-text-decoration);
  text-transform: var(--kbd-font-text-transform);
  background-color: var(--kbd-background-color);
  border-color: var(--kbd-border-color);
  color: var(--kbd-foreground-color);
  padding-top: var(--kbd-padding-top);
  padding-right: var(--kbd-padding-right);
  padding-bottom: var(--kbd-padding-bottom);
  padding-left: var(--kbd-padding-left);
  gap: var(--kbd-gap);
  box-shadow: var(--kbd-shadow);
  border-width: var(--kbd-border-width);
  border-radius: var(--kbd-border-radius);
  border-style: var(--kbd-border-style);
  white-space: nowrap;
  display: inline-block;
}

:host [part="kbd"], :host [part="delimiter"] {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
}

:host([disabled]:not([disabled="false"])) [part="kbd"], :host([disabled]:not([disabled="false"])) [part="delimiter"] {
  --kbd-background-color: var(--joy-scheme-disabled);
}

:host([variant="primary"]) [part="kbd"], :host([variant="primary"]) [part="delimiter"] {
  --kbd-background-color: var(--joy-color-primary-500);
  --kbd-foreground-color: var(--joy-color-primary-0);
}

:host([variant="secondary"]) [part="kbd"], :host([variant="secondary"]) [part="delimiter"] {
  --kbd-background-color: var(--joy-color-secondary-500);
  --kbd-foreground-color: var(--joy-color-secondary-0);
}

:host([variant="tertiary"]) [part="kbd"], :host([variant="tertiary"]) [part="delimiter"] {
  --kbd-background-color: var(--joy-color-tertiary-500);
  --kbd-foreground-color: var(--joy-color-tertiary-0);
}

:host([variant="danger"]) [part="kbd"], :host([variant="danger"]) [part="delimiter"] {
  --kbd-background-color: var(--joy-color-danger-500);
  --kbd-foreground-color: var(--joy-color-danger-0);
}

:host([variant="warning"]) [part="kbd"], :host([variant="warning"]) [part="delimiter"] {
  --kbd-background-color: var(--joy-color-warning-500);
  --kbd-foreground-color: var(--joy-color-warning-0);
}

:host([variant="success"]) [part="kbd"], :host([variant="success"]) [part="delimiter"] {
  --kbd-background-color: var(--joy-color-success-500);
  --kbd-foreground-color: var(--joy-color-success-0);
}

:host([variant="info"]) [part="kbd"], :host([variant="info"]) [part="delimiter"] {
  --kbd-background-color: var(--joy-color-info-500);
  --kbd-foreground-color: var(--joy-color-info-0);
}

:host([variant="highlight"]) [part="kbd"], :host([variant="highlight"]) [part="delimiter"] {
  --kbd-background-color: var(--joy-color-highlight-500);
  --kbd-foreground-color: var(--joy-color-highlight-0);
}

:host([variant="neutral"]) [part="kbd"], :host([variant="neutral"]) [part="delimiter"] {
  --kbd-background-color: var(--joy-color-neutral-500);
  --kbd-foreground-color: var(--joy-color-neutral-0);
}

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